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

36361 Commits

Author SHA1 Message Date
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
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
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
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
Martine Lenders
ced3268083
tests/gnrc_dhcpv6_client: remove sudo requirement 2021-09-01 16:02:48 +02:00
Martine Lenders
f253957f97
tests/gnrc_dhcpv6_client: dynamically adapt Kea config for >=1.7.10 2021-09-01 16:01:39 +02:00
chrysn
137399c8cb core/msg doc: Clarify; elaborating on interaction with queue 2021-09-01 14:56:41 +02:00
MarcelStenzel
aad5ac83f2 boards/hifive1b: Fix uart dev1 pins 2021-09-01 13:42:27 +02:00
Martine Lenders
db16cafe04
Merge pull request #16779 from miri64/doccheck/enh/exclude_pattern_file
dist/tools/doccheck: add exclude file for warnings and use it
2021-09-01 11:58:00 +02:00
2ec9ec13a4
Merge pull request #16770 from fjmolinas/pr_suit_use_Q_for_silencing
makefiles/suit*: use $(Q) to silence output
2021-09-01 11:00:53 +02:00
Francisco Molina
f4a3af4c44 pkg/mynewt-core/contrib: use same initializaion as Nimble for timers 2021-09-01 09:26:28 +02:00
Francisco Molina
ba3567ade6 pkg/nimble: have RIOT always initialize nimble timers 2021-09-01 09:14:47 +02:00
Francisco Molina
22d012ff50 makefiles/suit*: use $(Q) to silence output 2021-09-01 08:57:13 +02:00
Jan Romann
507d39c054
sys/net/dhcpv6: Reformat parsing of IA_NA 2021-09-01 01:24:56 +02:00
Martine Lenders
8e1dd16d37
doccheck: fix or suppress shellcheck warnings 2021-08-31 19:20:37 +02:00
Martine Lenders
1bf18b3239
doc/doxygen/riot.doxyfile: remove obsolete and fix wrong options 2021-08-31 19:20:37 +02:00
Martine Lenders
acdcaf16a5
dist/tools/doccheck: add exclude file for warnings and use it
This is purely to finally unblock RIOT-OS/riotdocker#104, but may also
be useful to add future exclude patterns.

Exclude file was generated using

```sh
make doc 2> dist/tools/doccheck/exclude_patterns_base
grep "^${PWD}" dist/tools/doccheck/exclude_patterns_base | \
    sed -E -e "s#^${PWD}/(.*:)([0-9]+): #\1DIGITS_MAGIC: #" \
           -e 's/[]\\.$*{}|+?()[^-]/\\&/g' \
           -e 's/:DIGITS_MAGIC:/:[0-9]+:/' \
        > dist/tools/doccheck/exclude_patterns
rm dist/tools/doccheck/exclude_patterns_base
```
2021-08-31 19:20:37 +02:00