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
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
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
5ad3fd4e5b
tools/serial: add support for socat as riot terminal
2019-02-20 12:05:19 +01:00
Juan I Carrano
1335bf60fe
Merge pull request #11035 from aabadie/pr/tools/serial_makefile_indent
...
makefiles/serial: fix indent
2019-02-20 11:33:18 +01:00
ea8672ca9c
makefiles/serial: fix indent
2019-02-20 08:40:54 +01:00
Peter Kietzmann
0e71c8a6a3
Merge pull request #10974 from haukepetersen/add_random_hwrngseed
...
sys/random: use periph/hwrng as seed if available
2019-02-19 18:31:15 +01:00
Hauke Petersen
64489e8b44
sys/random: add hwrng as seed source (if available)
2019-02-19 18:09:40 +01:00
Hauke Petersen
8a135d3a43
sys/random: add guard for periph/cpuid include
2019-02-19 18:09:40 +01:00
Hauke Petersen
e070d5a694
sys/random: fix indention in doxygen header
2019-02-19 18:09:40 +01:00
MichelRottleuthner
621224d0ea
Merge pull request #11032 from PeterKietzmann/pr_emb6_hwrng_typo
...
pkt/emb6: fix typo in hwrng call
2019-02-19 18:09:28 +01:00
PeterKietzmann
8f766c3fac
pkt/emb6: fix typo in hwrng call
2019-02-19 17:51:01 +01:00
Marian Buschsieweke
9216607163
tests/gnrc_ipv6_nib_6ln: Refactored code
...
Improved readability of if statements. This issue was pointed out by cppcheck.
2019-02-19 13:00:05 +01:00
Leandro Lanzieri
5d481c2a68
Merge pull request #9838 from gebart/pr/ds3234-pps
...
ds323x: Minimal driver for DS323x extremely accurate RTC
2019-02-19 12:52:24 +01:00
Joakim Nohlgård
a6f430b4b5
drivers/ds3234: Minimal driver for DS3234 extremely accurate RTC
...
This driver currently only supports the SPI connected DS3234, and only
for initializing 1 Hz square wave output on the SQW pin, nothing else.
2019-02-19 11:57:40 +01:00
Peter Kietzmann
dd664a88fd
Merge pull request #10963 from brummer-simon/gnrc_tcp-fix_test_setup
...
gnrc_tcp: change and verify addrs in use
2019-02-19 09:32:53 +01:00
Marian Buschsieweke
1b5f615554
tests/driver_at86rf2xx: Use NETOPT_MAX_DPU_SIZE
...
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:20 +01:00
Marian Buschsieweke
0c03c63c0e
tests/lwip_sock_ip: Use NETOPT_MAX_DPU_SIZE
...
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:18 +01:00
Marian Buschsieweke
829a8b1792
tests/lwip_sock_udp: Use NETOPT_MAX_DPU_SIZE
...
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:16 +01:00
Marian Buschsieweke
5189ac4d19
tests/gnrc_sixlowpan: Use NETOPT_MAX_DPU_SIZE
...
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:13 +01:00
Marian Buschsieweke
4c0469f9d3
tests/gnrc_ipv6_nib_6ln: Use NETOPT_MAX_DPU_SIZE
...
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:11 +01:00
Marian Buschsieweke
db83b363db
tests/gnrc_ndp: Use NETOPT_MAX_DPU_SIZE
...
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:09 +01:00
Marian Buschsieweke
80c202f3e5
tests/gnrc_ipv6_nib: Use NETOPT_MAX_DPU_SIZE
...
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:07 +01:00
Marian Buschsieweke
6efd1f840a
tests/gnrf_netif: Use NETOPT_MAX_DPU_SIZE
...
Updated the test to use NETOPT_MAX_DPU_SIZE instead of the deprecated
NETOPT_MAX_PACKET_SIZE
2019-02-18 20:19:04 +01:00