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

40237 Commits

Author SHA1 Message Date
Benjamin Valentin
ba6289ebc4 fuzzing: fix parameter for second fuzzing instance in README.md
The documentation says

> Note that you must always have one -M main instance!
> Running multiple -M instances is wasteful!

https://aflplus.plus/docs/parallel_fuzzing/#2-single-system-parallelization
2022-06-07 00:01:34 +02:00
Dylan Laduranty
a6ac93d429
Merge pull request #18150 from benpicco/cpu/sam0_common-rtc_sync
cpu/sam0_common: RTC: wait for syncbusy in rtc_get_time()
2022-06-06 22:45:42 +02:00
Marian Buschsieweke
6b2a1f7330
examples/telnet_server: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
Marian Buschsieweke
9ad9265623
tests/pkg_microcoap: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
Marian Buschsieweke
501a5b951f
examples/nanocoap_server: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
Marian Buschsieweke
b564f95757
examples/gnrc_minimal: use netifs_print_ipv6() 2022-06-06 20:46:48 +02:00
Marian Buschsieweke
bfb8a55764
sys/net/netif: add helpers for IPv6 addresses
- add `netif_get_ipv6()` to query IPv6 (as a slim convenience wrapper
  for `netif_get_opt()`)
- add `netifs_get_ipv6()` to query IPv6 addresses of all netifs
- add `netif_print_ipv6()` to print the IPv6 address(es) of a single
  netif
- add `netifs_print_ipv6()` to print the IPv6 address(es) of all netifs
2022-06-06 20:46:48 +02:00
Marian Buschsieweke
a4d00df586
sys/net: add ipv6_addrs_print()
Also use `IS_USED(MODULE_FMT)` rather than the preprocessor and rely
on the optimizer to eliminate the dead branch.
2022-06-06 20:46:48 +02:00
Gunar Schorcht
ca0e651f74
Merge pull request #18165 from benpicco/pkg/esp32_sdk-4.4.1
pkg/esp32_sdk: Update version to 4.4.1
2022-06-06 08:32:51 +02:00
benpicco
6c4d9c13fc
Merge pull request #18166 from benpicco/pkg/minmea-bump
pkg/minmea: bump version
2022-06-06 03:19:02 +02:00
Martine Lenders
b77662dc47
Merge pull request #18162 from maribu/sys/fmt
sys/fmt: disarm footgun
2022-06-05 19:22:11 +02:00
Benjamin Valentin
d7d3f9ce32 pkg/esp32_sdk_lib_wifi: bump version 2022-06-05 11:53:31 +02:00
Benjamin Valentin
719fde08fb pkg/esp32_sdk_lib_phy: bump version 2022-06-05 11:53:31 +02:00
Benjamin Valentin
73e1b3df89 pkg/esp32_sdk: Update version to 4.4.1
Use the latest tagged release of the SDK.
2022-06-05 11:53:31 +02:00
benpicco
4160ed7a05
Merge pull request #18113 from benpicco/drivers/mtd_mapper-inherit
drivers/mtd_mapper: inherit physical properties
2022-06-05 11:52:15 +02:00
Gunar Schorcht
c485bd4d92
Merge pull request #18159 from benpicco/cpu/esp-vfs_default
cpu/esp_common: use LittleFS2 as default FS
2022-06-04 12:24:54 +02:00
Marian Buschsieweke
22358748c4
boards/same54-xpro: provide TTY_BOARD_FILTER 2022-06-03 19:59:31 +02:00
Marian Buschsieweke
ca278d42a4
boards/samr21-xpro: provide TTY_BOARD_FILTER 2022-06-03 19:59:31 +02:00
Marian Buschsieweke
e46a2dc29f
boards/nrf52840dk: provide TTY_BOARD_FILTER 2022-06-03 19:59:31 +02:00
Marian Buschsieweke
8d63b63e7a
boards/common/nucleo: provide TTY_BOARD_FILTER 2022-06-03 19:59:31 +02:00
Marian Buschsieweke
b986279350
boards/common/cc26xx_cc13xx: provide TTY_BOARD_FILTER 2022-06-03 19:59:31 +02:00
Marian Buschsieweke
e706468a5a
makefiles/tools/serial.inc.mk: Use TTY_BOARD_FILTER
When `MOST_RECENT_PORT` is set to `1`, the most recently added USB
serial is selected. This is a crude but surprisingly effective filter.
However, for the CC2560-Launchpad this doesn't work, as it provides
two USB serials. The first USB serial interface is the targeted UART
bridge and the second controls the debugger. Since the second is added
a tiny fraction after the first, this reliably selects the wrong
interface. Allowing the board to filter USB serials first can avoid
this issue.

This is also useful as e.g. an STM Nucleo board can easily be told
apart from an `samr21-xpro` or an nRF52840dk using such filters.
2022-06-03 19:59:30 +02:00
Marian Buschsieweke
22aed458d5
dist/tools/usb-serial/ttys.py: add --iface-num
This is useful when a debugger provides multiple serial interfaces, e.g.
one to control the debugger and one as UART bridge.
2022-06-03 19:59:30 +02:00
Marian Buschsieweke
f0068a7c96
dist/tools/usb-serial/ttys.py: clean up unused function
The shorten() function was previously used to fit in overlong entries
into the table. But since it is no longer used, it can be dropped.
2022-06-03 19:59:30 +02:00
benpicco
79958d0bf5
Merge pull request #18158 from gschorcht/cpu/esp/add_compilation_tests_optional_modules
cpu/esp: add compilation tests for optional ESP modules
2022-06-03 18:33:42 +02:00
Benjamin Valentin
443e4294e1 pkg/minmea: bump version 2022-06-03 11:28:49 +02:00
Marian Buschsieweke
ceeb28fb69
sys/fmt: uncrustify 2022-06-03 09:10:15 +02:00
Marian Buschsieweke
68dcf27eab
sys/fmt: fix interaction with stdio
Use fwrite instead of write to not bypass caching stdio. Other fmt's
print function are too much of a footgun to use.
2022-06-03 09:10:15 +02:00
Francisco Molina
d33d0a4065 examples/suit_update: adapt python test to native 2022-06-03 08:49:44 +02:00
Francisco Molina
96b81596f0 examples/suit_update: apply blake 2022-06-03 08:49:44 +02:00
Francisco Molina
97708cf96a examples/suit_update: add vfs storage for native 2022-06-03 08:49:44 +02:00
Francisco Molina
f485e9b0d9 sys/storage/vfs: initial import 2022-06-03 08:49:44 +02:00
Francisco Molina
013838626e sys/suit/storage: use XFA 2022-06-03 08:49:43 +02:00
Gunar Schorcht
e496dd8dcf tests: add esp32-ci / esp8266-ci as external boards
Add `esp32-ci` and `esp8266-ci` as external boards to cover optional module `esp_hw_counter` (ESP32) and `esp_sw_timer` (ESP8266) by CI compilation.
2022-06-03 07:33:44 +02:00
Gunar Schorcht
c5be3d0751 examples: add esp32-ci / esp8266-ci as external boards
Add `esp32-ci` and `esp8266-ci` as external boards to cover optional modules by CI compilation:
- examples/gnrc_networking to cover ESP32/ESP8266 `esp_wifi_ap`
- examples/gnrc_minimal to cover ESP32 `esp_wifi_enterprise`
2022-06-03 07:33:44 +02:00
benpicco
d20d353633
Merge pull request #18136 from haukepetersen/fix_mynewtcore_timernrf51
pkg/mynewt-core: fix timer configuration for nrf51
2022-06-03 01:08:15 +02:00
Benjamin Valentin
53f891e604 tests/mtd_mapper: don't set device properites for regions 2022-06-03 00:22:06 +02:00
Benjamin Valentin
3d8ba016ec drivers/mtd_mapper: inherit physical properties 2022-06-03 00:22:06 +02:00
Benjamin Valentin
344c065e2f cpu/esp_common: use LittleFS2 as default FS 2022-06-02 23:21:22 +02:00
Marian Buschsieweke
055a26d9d2
Merge pull request #17662 from fjmolinas/pr_default_modules_early_late
buildsystem: split default modules include early and late
2022-06-02 21:18:17 +02:00
benpicco
dd6b473a0f
Merge pull request #18138 from benpicco/makefiles/boot/riotboot-elffile
makefiles/boot/riotboot: set DEBUG_ELFFILE to slot0.elf
2022-06-02 16:10:09 +02:00
Hauke Petersen
f77006044d cpu/nrf51: use nrfxx_peripherals.h vendor header
Using the nrf51xx_peripherals.h vendor header unifies the nrf51
code tree with the nrf52 implementation. It is needed to
prevent build errors with the optional nrfx package.
2022-06-02 14:59:50 +02:00
Hauke Petersen
948b4c9db0 pkg/nimble: remove cast-align path
This patch was applied to upstram NimBLE, so no need to have it in RIOT.
2022-06-02 14:59:50 +02:00
Hauke Petersen
568576de04 pkg/nimble: version bump to 1.5.0 RC1 2022-06-02 14:59:50 +02:00
Hauke Petersen
068c4f1c3b pkg: add nrfx as package 2022-06-02 14:59:50 +02:00
Hauke Petersen
5430c145f8 cpu/nrf5x: rename nrfx.h -> nrfx_riot.h
The nrfx compatibility header is renamed to allow for optinally
including the real nrfx headers using a RIOT package.
2022-06-02 14:59:50 +02:00
Hauke Petersen
39085c7182 pkg/mynewt-core: fix timer config for nrf51 2022-06-02 14:59:15 +02:00
Marian Buschsieweke
d98211f339
tests/fmt_printf: spice up test
Also include interaction with stdio, as corrupting output on mixing
stdio and fmt is too much of a footgun.
2022-06-02 14:51:17 +02:00
Benjamin Valentin
b518b0ef6b makefiles/suit: don't allow non-owner to read private key 2022-06-02 13:22:37 +02:00
Benjamin Valentin
5e52d15409 makefiles/suit: place keys in $XDG_DATA_HOME
Placing the SUIT key in the RIOT repository folder is dangerous as
a repo checkout is by most people considered a volatile location.
Since all important files are stored in git, deleting the entire folder
or it's contents is not an uncommon cleanup operation.

If the user is at that point unaware that SUIT key material is stored
in that folder, that key will then be lost.

Another workflow may involve multiple checkouts of the RIOT repository
to multiple folders to work on several features at the same time, or for
easy cross-referencing or splitting of off features from an integration
into a feature branch.
In that case each checkout would use it's own incompatible SUIT key.

To avoid all these pitfalls, place the SUIT keys outside the RIOT
repository in the $XDG_DATA_HOME directory.
2022-06-02 13:07:17 +02:00