1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-16 09:52:45 +01:00
Commit Graph

36893 Commits

Author SHA1 Message Date
Benjamin Valentin
c8d94e89c9 tests/periph_rtc: test for periph_rtc_mem 2021-09-03 11:43:43 +02:00
Benjamin Valentin
c467f05317 tests/periph_rtt: test for periph_rtc_mem 2021-09-03 11:43:43 +02:00
Benjamin Valentin
3fbf473a07 cpu/sam0_common: implement periph_rtc_mem 2021-09-03 11:43:43 +02:00
Benjamin Valentin
0ee0c5e40e drivers/periph: define periph_rtc_mem 2021-09-03 11:43:42 +02:00
Martine Lenders
13cc189a8a
Revert "Remove which from shell invocations" 2021-09-03 11:27:03 +02:00
Karl Fessel
6b47efb57b
Merge pull request #16710 from benpicco/benchmark_udp
add UDP benchmark:
a nice tool to check reliability and performance of networks and nodes under high pkg pressure.
2021-09-03 11:22:06 +02:00
Jose Alamos
0fb55b21c5
cc2538_rf: adapt radio HAL changes
This PR adapts the cc2538 to the new Radio HAL changes:
- Move RX FLUSH to the `read` function
- Add RX_CONTINUOS cap
2021-09-03 11:00:46 +02:00
Jose Alamos
0b5b896e70
cc2538_rf: fix race condition when changing state 2021-09-03 11:00:46 +02:00
Jose Alamos
3c1909b443
ieee802154/radio: update FB Lock handle 2021-09-03 11:00:45 +02:00
Jose Alamos
56a8fece01
ieee802154/radio: add IEEE802154_CAP_RX_CONTINUOUS 2021-09-03 11:00:45 +02:00
chrysn
d4ed42ad8f
Merge pull request #16776 from chrysn-pull-requests/shell-make-fixes-2
Remove `which` from shell invocations
2021-09-03 09:03:59 +02:00
Benjamin Valentin
f3aee01e29 examples/benchmark_udp: add example for UDP benchmark 2021-09-02 23:12:31 +02:00
Benjamin Valentin
1bc6b7eec7 tools/benchmark_udp: add host tool for benchmark 2021-09-02 23:12:31 +02:00
Benjamin Valentin
73b929b3b9 test_utils: add UDP benchmark 2021-09-02 23:12:31 +02:00
chrysn
2bf1202fb9
Merge pull request #16800 from chrysn-pull-requests/vfs-fat-usability
Small fatfs usability fixes
2021-09-02 20:54:01 +02:00
chrysn
deacdf130d examples/filesystem: Explain how to use fatfs 2021-09-02 17:52:53 +02:00
chrysn
2c84f997d9 tests/pkg_fatfs: Create required bin/ directory 2021-09-02 17:17:42 +02:00
chrysn
5e763ee23c tests/pkg_fatfs: Use ${Q} instead of @ 2021-09-02 17:16:59 +02:00
Martine Lenders
a59974cf69
Merge pull request #16796 from miri64/tests/enh/gnrc_dhcpv6_client-honor-IFACE-with-kea
tests/gnrc_dhcpv6_client: honor configured $IFACE in Kea config
2021-09-02 17:15:24 +02:00
chrysn
fd0e9bd29b tests/pkg_fatfs: Set tarball extension to match content
All existing users treat this as bz2 (tar -j), let's reflect this in the
extension for better usability.
2021-09-02 17:10:37 +02:00
chrysn
b9a8652e5a examples/gcoap: Do display truncated messages, but with a warning 2021-09-02 16:49:46 +02:00
chrysn
e9736e925e examples/gcoap: Don't assume success after exhausing known errors 2021-09-02 16:49:46 +02:00
chrysn
2e70f29d4f sys/net/gcoap: Use socket _buf API to recognize truncated requests
Closes: https://github.com/RIOT-OS/RIOT/issues/14167
Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2021-09-02 16:49:46 +02:00
chrysn
0ff56f284d sys/net/app/cord: Support the addition of extra registration arguments 2021-09-02 16:40:19 +02:00
chrysn
8664eb8ffc github workflows: Stick with which instead of command -v
... because even though it looks like a subshell, it apparently is not
evaluated through a shell but passed right into exec.
2021-09-02 16:30:48 +02:00
chrysn
1c6b675d9f makefiles: Reject 2>&1 > /dev/null
While this could theoretically be desired, it's usually just a mishap.
It is unlikely that legitimate cases will be needed in the build system;
if so, they can exclude themselves.

See-Also: https://github.com/RIOT-OS/RIOT/pull/16775
2021-09-02 16:30:47 +02:00
chrysn
6bcc68b9cc makefiles: Reject shell which in new code
... as that command is deprecated at least on Debian, and a good
replacement is available in the form of `command -v`.
2021-09-02 16:30:47 +02:00
chrysn
6b50033766 makefiles: Replace which with command -v
As the POSIX documentation[1] of `command -v` guarantees that on error
there will be no output (and there will be output in the other cases),
the tests in Makefiles were simplified to test for output equality to
the empty string.

Redirects swallowing error outputs were removed, as the command produces
no error output there (as recommended at [2]).

Existing uses of `command` are simplified as well.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
[2]: https://salsa.debian.org/debian/debianutils/-/blob/master/debian/NEWS
2021-09-02 16:30:46 +02:00
benpicco
9ac9b41a57
Merge pull request #16536 from benpicco/gnrc_ipv6_nib_subnets
gnrc_ipv6_simple_subnets: auto-configuration for nested subnets on a simple tree topology
2021-09-02 16:24:53 +02:00
Martine Lenders
389138c8e3
tests/gnrc_dhcpv6_client: honor configured IFACE in Kea config 2021-09-02 16:08:33 +02:00
Martine Lenders
a7c19f2c55
tests/gnrc_dhcpv6_client: fix make test-* command in README 2021-09-02 16:08:32 +02:00
Benjamin Valentin
faae6d56be examples: add example for cascading subnets 2021-09-02 15:35:14 +02:00
Benjamin Valentin
b208db0f27 gnrc_ipv6_auto_subnets: auto-configuration for nested subnets
If we get a large (e.g. /62) prefix from e.g. DHCPv6, we can split it
into subnets automatically to configure downstream interfaces.

This allows for automatic configuration of daisy-chained nodes or
nodes connected in a tree topology.

To enable the feature, a new pseudo-module `gnrc_ipv6_auto_subnets` is
provided.
2021-09-02 15:35:14 +02:00
Benjamin Valentin
f4828cc7ae gnrc_ipv6_nib: add hook for Prefix Information Option 2021-09-02 15:35:14 +02:00
Benjamin Valentin
702c3435a8 boards/nrf52: replace gnrc_netdev_default with netdev_default
Only nimble depends on GNRC, but we want to replace gnrc_netdev_default
with netdev_default, so check for gnrc instead.
2021-09-02 14:36:22 +02:00
Martine Lenders
ab6f24fb70
Merge pull request #16784 from fjmolinas/pr_curl_wget_unzip_7z_no_error
Makefile.include: only warn if not curl, wget, unzip, 7z
2021-09-02 14:26:51 +02:00
benpicco
9892286d20
Merge pull request #16793 from MarcelStenzel/hifive1b_uart_pin_fix
boards/hifive1b: Fix uart dev1 pins
2021-09-02 12:24:45 +02:00
Dylan Laduranty
6e1bf6108c
Merge pull request #16798 from hugueslarrive/15902_fixes
Remove duplicated includes introduced in #15902
2021-09-02 12:13:42 +02:00
Hugues Larrive
f292cfc8ce drivers/periph_spi: remove duplicated includes introduced in #15902 2021-09-02 09:40:31 +02:00
Francisco
65d717f5a0
Merge pull request #16623 from fjmolinas/pr_riot_initialize_timers
pkg/nimble: have RIOT always initialize nimble timers
2021-09-02 08:54:53 +02:00
Francisco
a1cbcc9ede
Merge pull request #15902 from maribu/spi-api-change-1
drivers/periph_spi: let spi_acquire return void
2021-09-02 08:50:56 +02:00
benpicco
550565f052
Merge pull request #16783 from benpicco/avr8_clk_init
cpu/atmega_common: move clock init to common code
2021-09-01 22:28:14 +02:00
Marian Buschsieweke
2efc50be97
sys/arduino: update SPI class to new API 2021-09-01 21:38:40 +02:00
Marian Buschsieweke
198046e167
tests/perpih_spi: update to new API 2021-09-01 21:38:40 +02:00
Marian Buschsieweke
732cbd969c
drivers: update to new periph_spi API 2021-09-01 21:38:40 +02:00
Marian Buschsieweke
f04b522601
cpu/periph_spi: update implementations to new API
Make all spi_acquire() implementations return `void` and add assertions to
check for valid parameters, where missing.
2021-09-01 21:38:40 +02:00
df205bc452
Merge pull request #16794 from chrysn-pull-requests/clarify-msg-response
core/msg doc: Clarify; elaborating on interaction with queue
2021-09-01 22:11:39 +03:00
Martine Lenders
47b488e0f6
Merge pull request #16792 from miri64/tests/fix/gnrc_dhcpv6_client
tests/gnrc_dhcpv6_client: Fix for newer Kea versions and remove sudo requirement
2021-09-01 16:57:27 +02:00
Martine Lenders
0850061124
Merge pull request #16728 from JKRhb/dhcp-refactor
sys/net/dhcpv6: Refactor DHCPv6 client
2021-09-01 16:47:25 +02:00
Martine Lenders
73af152803
tests/gnrc_dhcpv6_client: bail out of sub-shell after server started 2021-09-01 16:14:58 +02:00