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

36155 Commits

Author SHA1 Message Date
Jan Romann
415c6acc1a
usbus/hid: fix ENABLE_DEBUG definitions 2021-08-12 17:30:46 +02:00
Jan Romann
e7a24fe136
gnrc_netif/lorawan: fix ENABLE_DEBUG definition 2021-08-12 17:30:46 +02:00
Jan Romann
b3d32fbc28
sys/arduino: fix ENABLE_DEBUG definition 2021-08-12 17:30:45 +02:00
Jan Romann
441afca9fe
drivers/nrf24l01p_ng: fix ENABLE_DEBUG definitions 2021-08-12 17:30:45 +02:00
Martine Lenders
170af29917
Merge pull request #16724 from JKRhb/dhcp-ia-na-refactor
sys/net/dhcpv6: Refactor IA_NA implementation
2021-08-12 16:52:50 +02:00
Jan Romann
cc47e3a72d
tests/gnrc_dhcpv6_client: Refactor test functions 2021-08-12 15:37:37 +02:00
Jan Romann
ad0096cde6
sys/net/dhcpv6: Refactor IA_NA implementation 2021-08-11 22:19:59 +02:00
Martine Lenders
f2f6700865
Merge pull request #16228 from JKRhb/dhcp-ia-na
sys/net/dhcpv6: Add IA_NA support to the DHCPv6 client
2021-08-11 20:50:01 +02:00
Jan Romann
85eae9d2da
tests/gnrc_dhcpv6_client: Add test for IA_NA 2021-08-11 19:15:35 +02:00
Jan Romann
234a71870a
sys/net/dhcpv6: Add IA_NA implementation 2021-08-11 19:15:35 +02:00
Martine Lenders
057aba8f61
Merge pull request #16606 from miri64/dhcpv6_relay/feat/init
dhcpv6_relay: initial import of a lightweight DHCPv6 relay agent
2021-08-11 17:16:06 +02:00
Martine Lenders
67b4acdc95
Merge pull request #15622 from benpicco/gnrc_icmpv6_echo-corruption
sys/shell/commands/gnrc_icmpv6_echo: test for ICMPv6 reply corruption
2021-08-11 15:23:22 +02:00
Martine Lenders
2d7c613948
tests/gnrc_dhcpv6_relay: initial import 2021-08-11 14:30:37 +02:00
Martine Lenders
4afc65688f
dhcpv6_relay: initial import of a lightweight DHCPv6 relay agent 2021-08-11 13:19:06 +02:00
Martine Lenders
6da2f0fab3
Merge pull request #16669 from miri64/sock_dns/enh/factor-out-msg-parsing
sock_dns: factor out message parsing and composition
2021-08-11 12:43:26 +02:00
Martine Lenders
de3e5f964a
Merge pull request #16671 from benpicco/gnrc/nib-_nib_onl_get-fix
gnrc/nib: gnrc_ipv6_nib_get_next_hop_l2addr(): only assume neighbor cache entries to always be on-link
2021-08-11 12:17:38 +02:00
Benjamin Valentin
b0b8c5a641 riotctrl_shell.gnrc: add parser for reply corruption & truncation 2021-08-11 12:04:22 +02:00
Benjamin Valentin
3b40ca2b26 shell/gnrc_icmpv6_echo: test for ICMPv6 echo reply corruption
The Linux ping utility has the nice feature that fills the ICMPv6 echo
request payload with a pattern `payload_index & 0xFF`.
Then the ICMPv6 echo response payload is checked to verify that the pattern
is still intact.

This way corrupted messages can be detected.
In the past that revealed some 6lo-fragmentation bugs in Linux when
corrupted replies arrived.

This feature is also useful for RIOT, so implement it in RIOTs `ping`
command.
2021-08-11 12:04:22 +02:00
Martine Lenders
7920ab2b95
dns_msg: make parsing input buffer const 2021-08-11 11:55:29 +02:00
Martine Lenders
e8cbc6da85
dns: move message parsing and composition to own module 2021-08-11 11:55:29 +02:00
benpicco
acc9889ec8
Merge pull request #16716 from jia200x/pr/cc2538/fix_cca
drivers/cc2538_rf: fix deadlock when receiving too fast.
2021-08-10 18:41:54 +02:00
Martine Lenders
000c5b2364
Merge pull request #16722 from benpicco/gitignore-update
.gitignore: add *.rej and *.save
2021-08-10 18:37:36 +02:00
Benjamin Valentin
0c0ff546f1 .gitignore: add *.rej and *.save files 2021-08-10 16:04:33 +02:00
benpicco
7991e71384
Merge pull request #16721 from benpicco/sock/tcp-fix_doc
sock: tcp: fix Echo Server example
2021-08-10 14:41:42 +02:00
Benjamin Valentin
091e013ff0 sock: tcp: fix Echo Server example
The example has two errors:

 - `sock_tcp_accept()` expects a timeout parameter
 - `sock_tcp_stop_listen()` expects a pointer

with these fixed, the example actually compiles.
2021-08-10 13:45:56 +02:00
Martine Lenders
72e7f0c051
Merge pull request #16720 from MrKevinWeiss/pr/hilcireadme
README.md: Expose HiL CI overview link
2021-08-10 12:57:19 +02:00
MrKevinWeiss
95645701b6
README.md: Expose HiL CI overview link 2021-08-10 12:04:23 +02:00
Martine Lenders
c86bd7454c
Merge pull request #16557 from benpicco/gnrc_ipv6_nib-fib_on-link
gnrc_ipv6_nib: consider largest prefix match when deciding if host on-link
2021-08-09 18:53:40 +02:00
Martine Lenders
5d1c8e2643
Merge pull request #16718 from benpicco/gnrc_netif_ipv6_add_prefix-fix
gnrc_netif: properly initialize address in gnrc_netif_ipv6_add_prefix()
2021-08-09 18:06:15 +02:00
benpicco
7ff4108263
Merge pull request #16717 from benpicco/avr-strerror
avr_libc_extra: implement strerror()
2021-08-09 17:45:16 +02:00
Benjamin Valentin
452500b3eb gnrc_ipv6_nib: consider largest prefix match when deciding if host on-link
If the fib contains a route to a subnet via another host, it can not
be on-link.

Consider fib entries when deciding whether an address is on-link.
If a route via another host is a stronger match than an on-link
prefix, the address must be off-link.
2021-08-09 16:57:14 +02:00
Benjamin Valentin
f4fa197951 gnrc_netif: properly initialize address in gnrc_netif_ipv6_add_prefix()
Initialize addr with 0 first.
Otherwise if prefix is < 64 there will be random bits of stack memory
in the bits of the address that are neither touched by ipv6_addr_set_aiid()
nor ipv6_addr_init_prefix().
2021-08-09 16:50:21 +02:00
Benjamin Valentin
64846c0af4 avr_libc_extra: implement strerror()
Add a minimal implementation of `strerror()`.
All other targets use either newlib or picolibc and provide this
function, add it to AVR so we can rely on it in common code.
2021-08-09 16:24:04 +02:00
benpicco
02d80eefc9
Merge pull request #16627 from fabian18/cpu_rp2040_periph_timer
cpu/rpx0xx: add periph timer
2021-08-09 13:32:05 +02:00
Jose Alamos
a6d0052ff0
drivers/cc2538_rf: don't poll internal FSM state 2021-08-09 11:39:00 +02:00
Jose Alamos
3fce21a62b
drivers/cc2538_rf: disable RX detection during CCA 2021-08-09 11:37:17 +02:00
Fabian Hüßler
258681f012 tests/ztimer_periodic: fix name clash with rp2040 vendor header 2021-08-09 10:45:35 +02:00
Fabian Hüßler
e89ef368c1 cpu/rpx0xx: implement periph timer 2021-08-09 10:45:34 +02:00
Martine Lenders
6e0c8db99f
Merge pull request #16706 from miri64/gnrc_ipv6_nib/enh/offset-time-functions
gnrc_ipv6_nib: provide functions to get offset of public timestamps
2021-08-08 02:28:12 +02:00
Martine Lenders
c33e40cce1
gnrc_ipv6_nib: provide functions to get offset of public timestamps 2021-08-07 14:04:44 +02:00
benpicco
8c7db062af
Merge pull request #16711 from nicoHarel/cpu/nrf52/periph/i2c
cpu/nrf52: i2c: add support for 16-bit register addresses
2021-08-06 16:55:53 +02:00
Nicolas Harel
580b8d6561 cpu/nrf52: i2c: add support for 16-bit register addresses
Removed VLA


removed unused reg buffer


Added mutex 


Buffer comment correction
2021-08-06 11:06:59 +02:00
Francisco
c4df2cca51
Merge pull request #16708 from fjmolinas/pr_edhoc_c_bump
pkg/edhoc: bump version
2021-08-06 09:26:28 +02:00
benpicco
81df6d6fcb
Merge pull request #16712 from miri64/gcoap+nanocoap/enh/buffer-path
nanocoap & gcoap: allow path to be non-`\0`-terminated.
2021-08-05 17:25:41 +02:00
Martine Lenders
17b9c5adbb
Merge pull request #16707 from benpicco/sys/uri_parser-constify
uri_parser: constify result
2021-08-05 15:55:45 +02:00
benpicco
ba3eb5fc3f
Merge pull request #16713 from nmeum/pr/picolib_error_color_reset
picolibc: Reset color in error message if picolibc is not available
2021-08-05 15:02:33 +02:00
Sören Tempel
6dc6433663 picolibc: Reset color in error message if picolibc is not available
This is a regression which was introduced in #16114, without resetting
the color the red color will be used for all following text written to
the terminal and will also cause the shell prompt etc. pp. to be colored
in red which is undesirable. This commit fixes this regression by using
the ANSI escape sequences to reset the color after the error message has
been written.
2021-08-05 20:52:15 +02:00
Benjamin Valentin
9bce87d6da pkg/wakaama: don't modify result of uri_parser 2021-08-05 14:05:31 +02:00
Martine Lenders
5d59065b09
gcoap: provide buffer version of gcoap_req_init()
This simplifies the usage of `gcoap` with modules such as `uri_parser`
greatly.
2021-08-05 13:31:07 +02:00
Martine Lenders
adce90343c
nanocoap: provide buffer version of coap_opt_add_uri_path()
This simplifies the usage of `nanocoap` with modules such as
`uri_parser` greatly.
2021-08-05 11:25:13 +02:00