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

27857 Commits

Author SHA1 Message Date
91a553b3e2
makefiles/vars: export NATIVEINCLUDES there 2020-03-26 10:25:09 +01:00
Francisco
745dd05868
Merge pull request #13717 from fjmolinas/pr_cc2538_timer_fix
cpu/cc2538/timer: fix GPT enabling wait
2020-03-26 08:41:15 +01:00
Marian Buschsieweke
937361856d
Merge pull request #13702 from ccoors/feature/esp32-ws281x
drivers/ws281x: Add support for esp32
2020-03-25 21:39:40 +01:00
Francisco Molina
dcd6b7f226
cpu/cc2538/timer: fix GPT enabling wait 2020-03-25 20:16:23 +01:00
Martine Lenders
ab5deca3b0
Merge pull request #13712 from miri64/gnrc_uhcp/fix/prefix_len
gnrc_uhcp: use actually advertised prefix length
2020-03-25 18:46:00 +01:00
Christian Friedrich Coors
08703766fc drivers/ws281x: Add ESP32 support 2020-03-25 17:25:35 +01:00
Christian Friedrich Coors
c0615ad726 sys/timex: Add NS_PER_SEC definition 2020-03-25 17:20:01 +01:00
Martine S. Lenders
01d94f268a
gnrc_uhcp: use actually advertised prefix length
This makes the UHCP client to use the actually advertised prefix length
instead of assuming /64.
2020-03-25 16:55:01 +01:00
benpicco
6ae0fd7c82
Merge pull request #13485 from miri64/gnrc_dhcpv6/enh/configure-context
gnrc_dhcpv6_client: configure prefix as compression context on 6LBRs
2020-03-25 16:48:11 +01:00
benpicco
53790d1269
Merge pull request #13713 from miri64/gnrc_sixlowpan_iphc/bug/encode-zero-header
gnrc_sixlowpan_iphc: zero IPv6 header before decompressing into it
2020-03-25 16:43:17 +01:00
4c59e93a35
Merge pull request #13711 from cgundogan/pr/nanocoap/coap_opt_get_opaque/const
nanocoap: add const qualifier to pkt of coap_opt_get_opaque()
2020-03-25 15:21:23 +01:00
Martine Lenders
9f3fe33277
Merge pull request #13709 from miri64/gnrc_ipv6_nib/fix/pl-on-link
gnrc_ipv6_nib: only route to prefix list entry if on-link
2020-03-25 15:10:50 +01:00
Martine S. Lenders
ac222521ab
gnrc_sixlowpan_iphc: zero IPv6 header before decompressing into it 2020-03-25 14:54:18 +01:00
Dylan Laduranty
c4a8c63002
Merge pull request #13693 from benpicco/boards/same54-xpro-ext
boards/same54-xpro: configure remaining EXT connectors
2020-03-25 14:08:13 +01:00
1c877a8cf0
Merge pull request #13649 from miri64/feather-nrf52840/enh/stdio_cdc_acm
feather-nrf52840: use CDC ACM as default STDIO
2020-03-25 13:49:49 +01:00
Cenk Gündoğan
5e42e26a6e nanocoap: add const qualifier to pkt of coap_opt_get_opaque() 2020-03-25 13:38:21 +01:00
1c7903287a
Merge pull request #13708 from aabadie/pr/boards/nucleo-l476rg-lse
boards/nucleo-l476rg: enable LSE by default
2020-03-25 13:13:41 +01:00
Martine S. Lenders
4fc0251b4b
gnrc_ipv6_nib: only route to prefix list entry if on-link
In 06aa65e1ba (#10627) a new behavior was
introduced in IPv6 route resolution to try address resolution only at
interfaces that have the prefix of the address to be resolved configured
in the prefix list. This however only makes sense, if the prefix
configured is [on-link], otherwise there is small likelihood of the
address to be resolved being on that link.

For the error case presented for 06aa65e (circular routing at the border
router) this made sense, however within a 6LoWPAN, due to the prefix
being valid for the entire mesh, this leads to the nodes always trying
classic address resolution for in-network addresses instead of just
routing to the default route.
Classic address resolution however fails, as 6LoWPAN hosts typically
[don't join the solicited-node multicast address of their unicast
addresses][6LN-iface-init], resulting in in-network addresses not being
reachable.

As such, to prevent both error cases

- the fallback to address resolution by prefix list must only be used
  when the prefix is on-link,
- the prefix configured by DHCPv6/UHCP at the 6LoWPAN border router
  must be configured as on-link, but
- the prefix must not be advertised as on-link within the 6LoWPAN to
  still be [in line with RFC 6775][RFC-6775-forbidden]

With this change these cases are covered.

[on-link]: https://tools.ietf.org/html/rfc4861#page-6
[RFC 6775]: https://tools.ietf.org/html/rfc6775
[6LN-iface-init]: https://tools.ietf.org/html/rfc6775#section-5.2
[RFC-6775-forbidden]: https://tools.ietf.org/html/rfc6775#section-6.1
2020-03-25 13:13:40 +01:00
Martine S. Lenders
66168ef134
feather-nrf52840: use CDC ACM as default STDIO 2020-03-25 12:59:14 +01:00
benpicco
9d4f7fb506
Merge pull request #11265 from gschorcht/boards/esp32-heltec-lora32
boards/esp32: adds Heltec WiFi LoRa 32 V2 board definition
2020-03-25 11:14:01 +01:00
benpicco
e9b71254ff
Merge pull request #13694 from fjmolinas/pr_boards_common_cc2538
boards: add common cc2538
2020-03-25 11:11:50 +01:00
Francisco
ad0abd3322
Merge pull request #13704 from fjmolinas/pr_riotboot_stdio_null
bootloaders/riotboot: use stdio_null
2020-03-25 11:07:57 +01:00
f75ba23a96
boards/nucleo-l476rg: enable LSE by default 2020-03-25 11:02:26 +01:00
Francisco
12b47452dc
Merge pull request #13697 from bergzand/pr/libcose/disable_monocypher
pkg/libcose: Remove monocypher crypto mode
2020-03-25 10:41:31 +01:00
bf2b495d34
Merge pull request #13703 from fjmolinas/pr_usbus_autoinit
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE
2020-03-25 10:19:04 +01:00
a62abe00ca
Merge pull request #11895 from fjmolinas/pr_pnucleowb55
boards/p-nucleo-wb55: add initial support
2020-03-25 10:00:13 +01:00
Gunar Schorcht
11b5503aa6
Merge pull request #13705 from benpicco/tests-rtt_rtc-fix
unittests/tests-rtt_rtc: blacklist test on esp32
2020-03-25 09:53:05 +01:00
95fa4bae5a
pkg/libcose: remove Monocypher as crypto backend
With the 3.0.0 update of monocypher the API changed enough to break
libcose compatibility. This PR removes monocypher from the crypto
options. It can be restored as soon as upstream libcose is updated to
restore compatibility
2020-03-25 09:37:12 +01:00
bf703a70c3
tests/pkg_libcose: remove the monocypher crypto option 2020-03-25 09:37:06 +01:00
fad397b62e
Merge pull request #13351 from Carton32/monocypher_update
pkg/monocypher: bump to version 3.0.0
2020-03-25 09:36:12 +01:00
Francisco Molina
e220483adc
boards: p-nucleo-wb55 initial support 2020-03-25 09:29:57 +01:00
Francisco Molina
c6e0e7adcb
cpu/stm32_common: add common L4 and WB stmclk 2020-03-25 09:29:57 +01:00
Francisco Molina
9fa0099d62
cpu/stm32wb: add flashpage support
- Since flash access is shared with CPU2 we resize ROM_LEN
  according to CPU2 secure flash memmory area.
- Add assert to prevent unauthorized reads from CPU2 secure
  flash area
2020-03-25 09:29:56 +01:00
Francisco Molina
66a8922f8c
cpu: initial support for stm32wb 2020-03-25 09:29:56 +01:00
Francisco Molina
0ee04bd6d6
cpu/stm32wb: add stm32wb55xx.h vendor file 2020-03-25 09:28:26 +01:00
Francisco
ddf763c9da
Merge pull request #13696 from fjmolinas/pr_tests_fixes
tests: fixes for evtimer_msg and bench_runtime_coreapis
2020-03-25 08:52:34 +01:00
Francisco Molina
493a56ee87
boards: use common condiguration headers for cc2538 boards 2020-03-25 08:20:53 +01:00
Francisco Molina
194af687a0
boards/common: add cc2538 2020-03-25 08:20:52 +01:00
Benjamin Valentin
9c4eb8918f tests/unittests: rtt_rtc: blacklist esp32
On esp32, pm_layered pulls in periph_rtc.
This results the real rtc functions being called, which of course
can't be fast-forwarded - all the tests fail.
2020-03-24 23:15:55 +01:00
benpicco
b441765908
Merge pull request #13699 from koos96/doxygen-fixes
cpu/stm: Fix broken character encoding
2020-03-24 22:19:28 +01:00
7cc1529755
Merge pull request #13549 from kaspar030/add_tests_xtimer_overhead
tests/xtimer_overhead: initial commit
2020-03-24 21:55:33 +01:00
Martine Lenders
e47c8fa91c
Merge pull request #10627 from miri64/gnrc_ipv6_nib/fix/forward-to-pl
gnrc_ipv6_nib: don't ignore PL for route
2020-03-24 21:49:56 +01:00
Francisco Molina
30b5a23e78
bootloaders/riotboot: use stdio_null 2020-03-24 19:14:03 +01:00
Martine Lenders
06aa65e1ba
gnrc_ipv6_nib: don't ignore PL for route
When pinging to a prefix for which there is a prefix list entry on the
node (so no next hop) but a default route, a packet to a non-existent
address under that prefix results in the packet being forwarded to the
default route instead. This fixes it, so the node tries address
resolution on the interface the prefix list entry is associated to.
2020-03-24 18:19:18 +01:00
Martine Lenders
ba711c50bf
Merge pull request #13616 from miri64/sock/enh/recv_buf
sock: amend with zero-copy receive functions
2020-03-24 17:10:12 +01:00
Koos
575a9e9579 cpu/stm: Fix broken character encoding 2020-03-24 16:07:19 +01:00
be55eb9aa4
Merge pull request #13683 from aabadie/pr/tools/iotlab_flash_bin
dist/testbed-support: use BINFILE for flashing on iotlab
2020-03-24 15:23:16 +01:00
Francisco Molina
15ab36409f
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE 2020-03-24 14:33:09 +01:00
Gunar Schorcht
b16ff57cf1 boards/esp32: Heltec WiFi LoRa 32 V2 board added
fixup! boards/esp32: Heltec WiFi LoRa 32 V2 board added

fixup! boards/esp32: Heltec WiFi LoRa 32 V2 board added
2020-03-24 14:20:00 +01:00
Francisco Molina
62ff10fc54
bench_runtime_coreapis/tests: multiple fixes 2020-03-24 14:15:50 +01:00