Peter Kietzmann
ca9c441923
Merge pull request #11070 from cladmi/pr/bug/stm32f3discovery/clock_lse
...
boards/stm32f3discovery: Fix no external low speed crystal
2019-02-26 21:40:39 +01:00
Martine Lenders
07260661bb
Merge pull request #11060 from leandrolanzieri/pr/boards/lobaro-lorabox_remove_auto_init_led0
...
boards/lobaro-lorabox: Remove auto init LED0
2019-02-26 21:35:21 +01:00
Martine Lenders
dd1bad25df
Merge pull request #11071 from kb2ma/nanocoap/fix_server_abort
...
net/nanocoap: don't abort server on recv error
2019-02-26 21:35:05 +01:00
Martine Lenders
a2c14b33ff
Merge pull request #11053 from cladmi/pr/tests/bloom_bytes/float_handling
...
tests/bloom_bytes: replace %f with fmt/print_float
2019-02-26 21:27:02 +01:00
Martine Lenders
cfee6faf57
Merge pull request #10431 from miri64/dist/enh/testcase-testrunner-wrapper
...
dist/pythonlibs: provide unittest TestCase wrapper for testrunner
2019-02-26 19:55:24 +01:00
Ken Bannister
05195ec4a1
net/nanocoap: don't abort server on recv error
2019-02-26 12:35:49 -05:00
Marian Buschsieweke
cebea3a23e
Merge pull request #10532 from miri64/gnrc_netif/enh/check-opt-at-init
...
gnrc_netif: check all required options on initialization
2019-02-26 17:29:27 +01:00
Martine Lenders
dd1f45d05e
tests: adapt tests for gnrc_netif checks
2019-02-26 16:46:29 +01:00
Martine Lenders
2d6a557d83
netdev: introduce test device type
2019-02-26 16:46:21 +01:00
Martine Lenders
7d8f6abd45
gnrc_netif: check all required options on initialization
...
With `DEVELHELP` activated all required options required by GNRC are
now checked at interface initialization, so that developers of new
link-layer protocols or device drivers notice as soon as possible that
something is missing.
2019-02-26 16:45:21 +01:00
Gaëtan Harter
5e58eccd5a
boards/stm32f3discovery: Fix no external low speed crystal
...
The board does not have external low speed crystal.
Page 20 of User Manual: 6.10.2 "OSC 32 kHz clock supply"
* X3 Crystal (not provided)
https://www.st.com/resource/en/user_manual/dm00063382.pdf
This fixes `example/default` and makes `tests/periph_rtc` work properly.
2019-02-26 16:44:46 +01:00
Martine Lenders
0f1bfad15b
gnrc_netif: provide addr_len_from_l2ao for nordic_softdevice_ble
2019-02-26 15:43:39 +01:00
16e4722670
Merge pull request #11067 from miri64/gnrc_netif/enh/msg-size-config
...
gnrc_netif: expose message queue size configurable
2019-02-26 13:44:57 +01:00
Martine Lenders
13030d5a35
gnrc_netif: expose message queue size configurable
2019-02-26 13:26:20 +01:00
Juan I Carrano
a1fcafaec9
Merge pull request #10808 from gschorcht/doc_fix_params_h
...
doc: include *_params.h files in documentation
2019-02-26 13:16:20 +01:00
Marian Buschsieweke
ef70d2a44c
Merge pull request #9407 from aabadie/pr/board/nrf52dk_openocd
...
boards/nrf52: add openocd as programmer option
2019-02-26 11:45:13 +01:00
7a5d2ad2fb
boards/nrf52: thingy52 and ruuvitag don't work with openocd
2019-02-26 11:15:36 +01:00
a2cfa52602
boards/nrf52xx: use common flashing documentation
2019-02-26 11:03:06 +01:00
826df5648b
boards/nrf52: update nrf52 common documentation
...
Add common flashing notes + move the doc in a separate doc.txt file
2019-02-26 11:03:06 +01:00
9373225a13
boards/nrf52xx: add flashing and stdio sections in doc
2019-02-26 11:03:06 +01:00
171e8589ff
boards/nrf52840-mdk: use common openocd configuration
2019-02-26 11:03:06 +01:00
3eb17f56fa
boards/nrf52xxxdk: add openocd as programmer
...
For the moment openocd doesn't work when softdevice blob module is loaded
2019-02-26 11:02:57 +01:00
Sebastian Meiling
a5385c15cc
Merge pull request #11027 from maribu/atmega_cleanup
...
boards/common/atmega: Refactoring periph_conf.h
2019-02-25 20:13:41 +02:00
Marian Buschsieweke
7bc9b4b707
boards/common/atmega: Refactoring periph_conf.h
...
- Moved code for periph_conf of all ATmega based boards to boards/common/atmega
- Added possibility to override config from individual board:
- Named file `periph_conf_atmega_common.h` and let this be included from
`board/$BOARD/include/periph_conf.h` to allow modifications
- Guarded individual periph configs by `#ifndef $PERIPH_NUMOF` ... `#endif`
2019-02-25 18:48:09 +01:00
Juan I Carrano
7e037d7bde
Merge pull request #11064 from cladmi/pr/bug/export/term_variables
...
TERMPROG and TERMFLAGS variables do not need to be exported as they are
used directly by a make receipe.
Exporting them prevents overwriting 'RIOT_TERMINAL' in the test.
2019-02-25 18:02:17 +01:00
Gaëtan Harter
3b119cc5ba
boards/native: unexport TERM* variables
...
TERMPROG and TERMFLAGS variables do not need to be exported as they are
used directly by a make receipe.
2019-02-25 17:26:03 +01:00
Gaëtan Harter
20ce4db753
makefiles/tools/serial.inc.mk: unexport TERM* variables
...
TERMPROG and TERMFLAGS variables do not need to be exported as they are
used directly by a make receipe.
Exporting them prevents overwriting 'RIOT_TERMINAL' in the test.
2019-02-25 17:15:41 +01:00
Gaëtan Harter
d0cb6d26e1
makefiles/vars.inc.mk: unexport TERM* variables
...
TERMPROG and TERMFLAGS variables do not need to be exported as they are
used directly by a make receipe.
Exporting them prevents overwriting 'RIOT_TERMINAL' in the test.
2019-02-25 17:15:41 +01:00
Leandro Lanzieri
609db0c2f6
boards/lobaro-lorabox: Remove auto init LED0
2019-02-25 13:43:50 +01:00
Juan I Carrano
7e0891ebe5
Merge pull request #10989 from maribu/thread_stats
...
core: Use enum for thread states
2019-02-22 17:17:19 +01:00
Martine Lenders
727a843ce4
Merge pull request #10905 from maribu/packet_size_l2_pdu
...
net: NETOPT_MAX_{PACKET_SIZE -> PDU_SIZE}
2019-02-22 15:23:00 +01:00
Sebastian Meiling
b2e951e31d
Merge pull request #11050 from kaspar030/hifive1_disable_relic
...
tests/pkg_relic: add hifive1 to blacklist
2019-02-21 19:04:09 +02:00
Sebastian Meiling
e804d784d5
Merge pull request #11048 from miri64/gnrc_netif_hdr/enh/in-params-const
...
gnrc_netif_hdr: make in parameters const
2019-02-21 19:01:44 +02:00
Gaëtan Harter
642f5e4809
tests/bloom_bytes: explicitely expect a float
...
The last line should be a float lower than 1 so 0.XXX.
So expect it to match this.
This should prevent issues when float printing does not work.
2019-02-21 16:19:47 +01:00
Gaëtan Harter
124e1dd3fa
tests/bloom_bytes: replace %f with fmt/print_float
...
Even if using `%f` the `printf_float` module was not used.
When running the test on `samr21-xpro` and `arduino-mega2560` the float
is not printed correctly.
* samr21-xpro ` false positive rate.`
* arduino-mega2560 `? false positive rate.`
As the arduino-mega2560 does not handle printf_float use
`fmt/print_float`.
The output should be flushed before using fmt/print functions if
available as they do not use `printf` buffer.
2019-02-21 16:19:38 +01:00
Gaëtan Harter
f5c79ba821
tests/bloom_bytes: define regexp as raw strings
...
Python strings for regular expression should be declared as `raw` so `\`
is not re-interpreted.
This fixes `flake8` warning.
2019-02-21 16:19:27 +01:00
a4c4cd9605
tests/pkg_relic: add hifive1 to blacklist
2019-02-21 14:24:55 +01:00
bd77c1b1f7
Merge pull request #11049 from kaspar030/fix_lwip_mbox_fetch_timeout
...
pkg/lwip: use xtimer_set64() in sys_arch_mbox_fetch()
2019-02-21 14:19:09 +01:00
120a46c784
pkg/lwip: use xtimer_set64() in sys_arch_mbox_fetch()
...
Used _xtimer_set64 previously, which expects ticks instead of us.
That broke on non-1us xtimer ticks (e.g., hifive1 with 32kHZ).
2019-02-21 13:53:21 +01:00
Sebastian Meiling
92b3558b4b
Merge pull request #11047 from kaspar030/fix_tests_periph_timer_for_hifive1
...
tests/periph_timer: add hifive1 exception
2019-02-21 14:39:57 +02:00
Martine Lenders
998b9ed0d4
gnrc_netif_hdr: make in parameters const
2019-02-21 12:43:08 +01:00
Martine Lenders
27782a5620
Merge pull request #11045 from kaspar030/fix_tests_lwip_sock_ip
...
tests/lwip_sock_ip: fix wrong memcpy assumption
2019-02-21 11:57:43 +01:00
332b06a319
tests/periph_timer: add hifive1 exception
2019-02-21 11:40:30 +01:00
c16bd3871c
tests/lwip_sock_ip: fix memcpy lenghts
...
sizeof(ip6_addr_t) > 16 depending on compilation flags, possibly reading
more data than available.
Fix by using the actual address' sizeof for memcpy.
2019-02-21 11:30:25 +01:00
Peter Kietzmann
654fd4fba5
Merge pull request #10999 from cladmi/pr/tests/rng/print_float
...
tests/rng: replace printf_float with fmt/print_float
2019-02-21 11:11:46 +01:00
Gaëtan Harter
27b42d34d3
tests/rng: replace printf_float with fmt/print_float
...
When running the test on `arduino-mega2560` printing the float failed
and was printed as ` ?`.
Calculated ? bits of entropy from 10000 samples.
Replace using `printf` floating point printing by using `fmt/print_float`.
Now the test succeeds on `arduino-mega2560`.
As `print_float` does not buffer and is used with `printf` the output
should be flushed before calling it if `fflush` is available.
2019-02-21 10:42:04 +01:00
Gaëtan Harter
44d2b62a70
tests/rng: fix cppcheck error shiftTooManyBitsSigned
...
cpp check is reporting the following error
error (shiftTooManyBitsSigned):
Shifting signed 32-bit value by 31 bits is undefined behaviour
Fix by ensuring the `1` is an `uint32_t` before shifting.
2019-02-21 10:41:33 +01:00
José Alamos
d4f0864640
Merge pull request #11042 from aabadie/pr/pkg/semtech-loramac_doc_fix
...
pkg/semtech-loramac: fixing missing directive in doc
2019-02-21 09:30:12 +01:00
f7abe8415d
pkg/semtech-loramac: fixing missing directive in doc
...
Setting the LORAMAC_ACTIVE_REGION define via cflags is required for any lorawan application to build
2019-02-20 21:39:16 +01:00
f37b02a73a
Merge pull request #11034 from aabadie/pr/tools/serial_socat
...
tools/serial: add support for socat as riot terminal
2019-02-20 13:40:32 +01:00