1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

19577 Commits

Author SHA1 Message Date
Francisco Acosta
0d5276790e
Merge pull request #10000 from haukepetersen/fix_gpioirq_efm32
cpu/efm32/gpio: use gpio_irq feature
2018-10-04 20:09:17 +02:00
Hauke Petersen
1b62f7cd40 cpu/efm32/gpio: use gpio_irq feature 2018-10-04 18:43:24 +02:00
Francisco Acosta
cb8e78da13
Merge pull request #9916 from kYc0o/pr/tools/fix_kill_testrunner
dist/tools/jlink.sh: fix testrunner on stdio_rtt based devices
2018-10-04 17:31:58 +02:00
Peter Kietzmann
ed24d3622a
Merge pull request #9621 from bergzand/pr/netif/use_fmt
gnrc_netif: Use fmt for bytes to hex string
2018-10-04 14:34:37 +02:00
Martine Lenders
44910a4f61
Merge pull request #10008 from haukepetersen/fix_gpioirq_stm32f1
cpu/stm32f1/gpio: use gpio_irq feature
2018-10-04 14:13:01 +02:00
0d71c1ccf7
gnrc_netif: Use fmt for bytes to hex string 2018-10-04 13:34:18 +02:00
Martine Lenders
da29a437e6
Merge pull request #9564 from bergzand/pr/netif/use_netdev_getter
gnrc_netif_ieee802154: rework `netif->state` to getter and flag
2018-10-04 12:36:44 +02:00
0c53bebe1b
Merge pull request #10094 from silkeh/enable-bme280-doc
drivers/bmx280: improve documentation
2018-10-04 10:56:16 +02:00
74887f3ae6
Merge pull request #10106 from fedepell/flash_autotest
tests/periph_flashpage: add automated test for flash peripheral
2018-10-04 08:34:22 +02:00
90ad1a0782
gnrc_netif_ieee802154: remove state access in recv
This replaces the netif->state accesses in netif::recv with a netdev call
and the new netif RAWMODE flag
2018-10-03 21:00:35 +02:00
3c032e5688
gnrc_netif: add rawmode flag
Adds a gnrc_netif specific rawmode flag to indicate that the netdev
device is configured in raw mode. This flag is kept in sync with a
possible flag in the netdev device and should only be modified via the
setter call.
2018-10-03 20:59:03 +02:00
Martine Lenders
4b88418672
Merge pull request #10101 from miri64/netdev/doc/fix-return-asserts
netdev: fix return value and precondition doc
2018-10-03 17:15:08 +02:00
Martine Lenders
aba75be827 netdev: fix return value and precondition doc
While reviewing #9942 I noticed that the documentation on the netdev
driver API is unclear and in some cases outright contradicting itself:

> ```
> @return              number of bytes used from @p value
> @return              `< 0` on error, 0 on success
> ```

IMHO this is unacceptable for such a central API where communication

This fixes a few things and also clarifies preconditions:

- Specifies negative `errno`s clearly so all drivers return the same
  when required
- Re-iterates parameter preconditions and special cases within the
  parameter documentation itself (might also help towards #9805?)
- Fixes contradictions within return value documentation
- Adds missing parameter documentation on `init()`.
2018-10-03 16:09:42 +02:00
Federico Pellegrin
b4f2c1a62a tests/periph_flashpage: short raw write test if hardware supports it 2018-10-03 08:23:40 +02:00
Federico Pellegrin
2edfcdfcbb tests/periph_flashpage: add automated test for flash peripheral 2018-10-03 07:19:28 +02:00
Silke Hofstra
2fb2776012 drivers/bmx280: improve documentation
- Add minimal usage instructions
- Ensure that the `bme_280_read_humidity` function (only available on
  the BME280) is included in the documentation.
- Fix a typo
2018-10-01 21:28:11 +02:00
Dylan Laduranty
99e75948ef
Merge pull request #9973 from miri64/doc/enh/multi-review
MAINTAINING.md: Improve review process between multiple maintainers
2018-10-01 15:56:18 +02:00
Gaëtan Harter
be1c44e4d4
Merge pull request #9968 from bergzand/pr/tinycbor/readme
tinycbor: add doc.txt file
2018-10-01 15:31:07 +02:00
Martine Lenders
96b2928e02 MAINTAINING.md: extend Github ettiquette for multi-maintainer review 2018-10-01 14:41:28 +02:00
Martine Lenders
67694c3119 MAINTAINING.md: Improve review process between multiple maintainers
During RIOT Summit 2018 the attending maintainers found that the
organization for the review process involving multiple maintainers is
lacking both in process description and existing mechanisms.

This changes the "Organisation of reviewing between maintainers"
section of the maintenance guidelines, to be in accordance with the
results of the discussions spawned from this fact.

If approved the following labels are added to GitHub:

- Reviewed: 1-fundamentals
- Reviewed: 2-code-design
- Reviewed: 3-testing
- Reviewed: 4-coding-conventions
- Reviewed: 5-documentation
2018-10-01 14:41:28 +02:00
Dylan Laduranty
28c2a26248
Merge pull request #9437 from biboc/pr/board/samr30-xpro
boards: add samr30-xpro board and samr30 cpu
2018-10-01 11:37:06 +02:00
5165fec941 examples/lua_REPL: exclude samr30-xpro 2018-10-01 10:20:41 +02:00
5b398930c1 tests/unittests: exclude samr30-xpro board 2018-10-01 10:20:41 +02:00
4df9e059ae boards/samr30-xpro: add initial board support
Co-authored-by: biboc <bapclenet@gmail.com>
2018-10-01 10:20:41 +02:00
13654a950b cpu/samr30: add support for samr30g18a
Co-authored-by: biboc <bapclenet@gmail.com>
2018-10-01 10:15:08 +02:00
180917e108
tinycbor: add doc.txt 2018-10-01 09:32:59 +02:00
Sebastian Meiling
dc8653363c
Merge pull request #10063 from cladmi/pr/hifive1/use_fe310_features
boards/hifive1: include cpu/fe310 features
2018-10-01 08:38:50 +02:00
Sebastian Meiling
a9fcff30d7
Merge pull request #10064 from cladmi/pr/board/mips-malta/cpu_features
board/mips-malta: include the cpu features instead of common cpu
2018-10-01 08:37:07 +02:00
Martine Lenders
b78f78d3a1
Merge pull request #9947 from bergzand/pr/tinycbor/v052
tinycbor: Version bump to 0.5.2
2018-09-29 22:30:46 +02:00
0b65a33979
tinycbor: Version bump to 0.5.2
This release fixed some bugs related to disabling float support in the
parser.
The float support is now optional and can be enabled by including the
tinycbor_float module. This allows for compiling on AVR as that platform
doesn't support the float specific defines used by tinycbor.
2018-09-28 20:47:25 +02:00
Martine Lenders
a6cf9db880
Merge pull request #10071 from chrysn-pull-requests/deduplicate-ipv6-address-extraction
gnrc: Use existing utility function to extract IPv6 header
2018-09-28 20:20:31 +02:00
chrysn
f07308b07d gnrc: Extend gnrc_ipv6_get_header checks, use in sock recv
gnrc_sock_recv used to duplicate functionality of gnrc_ipv6_get_header,
but additionally checked whether the IPv6 snip is large enough.

All checks are now included in gnrc_ipv6_get_header, but as most of them
stem from programming / user errors, they were moved into asserts; this
constitutes an API change.
2018-09-28 19:40:59 +02:00
b4664a5bd3
Merge pull request #10067 from gebart/pr/color-Wdouble-promotion
color: Fix -Wdouble-promotion warnings
2018-09-28 10:16:13 +02:00
f2d28f88c5
Merge pull request #10066 from gebart/pr/netdev_tap-Wshadow
native/netdev_tap: Rename variable to fix -Wshadow warning
2018-09-28 10:13:20 +02:00
22b3523c1e
Merge pull request #9988 from PeterKietzmann/pr_ecc_generalize
sys/ecc: move hamming256 module to generic ecc
2018-09-28 10:08:58 +02:00
Joakim Nohlgård
4a5ef1d2f6 native/netdev_tap: Rename variable to fix Wshadow warning 2018-09-28 09:57:30 +02:00
ee11af6c26
Merge pull request #9926 from haukepetersen/add_coap_genericheader
net/nanocoap: factor out generic CoAP defines
2018-09-28 09:38:53 +02:00
Kevin "Bear Puncher" Weiss
e36cd53945
Merge pull request #10061 from cladmi/pr/cpu/esp8266/cleanup
cpu/esp8266: remove duplicate 'CPU' variable
2018-09-28 09:35:42 +02:00
Joakim Nohlgård
de7863598f color: Fix -Wdouble-promotion warnings 2018-09-28 09:33:40 +02:00
PeterKietzmann
29fca6dd56 unittests/tests-ecc: generalize ECC test 2018-09-28 08:53:25 +02:00
PeterKietzmann
b7615e9e1b sys/ecc: remove separate hamming256 folder 2018-09-28 08:53:25 +02:00
Kevin Weiss
df7468a2f0
Merge pull request #10017 from gschorcht/esp8266_i2c_fix
cpu/esp8266: periph/i2c fix
2018-09-28 08:17:05 +02:00
cladmi
1c89d23e5b
boards/hifive1: include cpu/fe310 features
The board should process its CPU features.
This has the consequence to make 'periph_pm' visible to the board.

I also removed the duplicate FEATURES_PROVIDED from the board defined in
the cpu.
2018-09-27 18:24:51 +02:00
cladmi
dc7726df66
board/mips-malta: include the cpu features instead of common cpu
This change was missed when the cpu 'mips32r2_generic' was separated
from 'mips32r2_common'. The target file already includes 'mips32r2_common'.
2018-09-27 17:49:49 +02:00
Schorcht
6307ace126 cpu/esp8266: periph/i2c fix 2018-09-27 17:48:20 +02:00
cladmi
8f68e69da3
cpu/esp8266: remove duplicate 'CPU' variable 2018-09-27 17:42:53 +02:00
Sebastian Meiling
22e03180fc
Merge pull request #9865 from jia200x/pr/doc_memory
doc: add `memory management` group
2018-09-27 15:45:39 +02:00
Jose Alamos
6089f4a10c doc/mem_management: add implementations and utils 2018-09-27 10:54:39 +02:00
Peter Kietzmann
c25105a04e
Merge pull request #10055 from MrKevinWeiss/pr/openmoteb/switchfix
boards/openmote-b: Fix RF_SWITCH_* logic to active low
2018-09-27 08:45:42 +02:00
MrKevinWeiss
3360ec1c11 boards/openmote-b: Fix RF_SWITCH_* logic to active low
RF_SWITCH_2_4_GHZ_ON should turn PD4 low not high to active the 2.4 GHz radio.
The same goes for RF_SWITCH_SUB_GHZ_ON on PD3.
2018-09-27 08:13:08 +02:00