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

40021 Commits

Author SHA1 Message Date
Marian Buschsieweke
5ea582b3dd
sys/shell_commands: convert to SHELL_COMMAND()
Make use of XFA for shell commands
2022-06-07 09:25:04 +02:00
Marian Buschsieweke
66a04926ca
sys/shell_commands: fix signature of _openwsn_ifconfig 2022-06-07 09:24:49 +02:00
Marian Buschsieweke
86e0ba3cdb
sys/shell/commands: remove stale reference to id cmds
The shell command `id` was dropped in
b3a061e0ab but somehow the command entry
was left it. This cleans it up.
2022-06-07 09:24:49 +02:00
Francisco
f6d5a54c3e
Merge pull request #18045 from benpicco/suit/transport-vfs
suit/transport/vfs: add VFS as source for firmware updates
2022-06-07 08:32:15 +02:00
Marian Buschsieweke
a34a4c7220
Merge pull request #18167 from maribu/dist/tools/usb-serial/ttys.py
buid system: improve serial port selection
2022-06-07 07:20:02 +02:00
benpicco
bdf1c97880
Merge pull request #18161 from maribu/sys/net/netif
sys/net/netif: add convenience functions for getting/printing IPv6 addresses
2022-06-07 01:28:23 +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
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
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
Francisco Molina
b5197db03f buildsystem: split default modules include early and late
DEFAULT_MODULEs declared in defaultmodules_regular.inc.mk MAY only be
disabled at APPLICATION level or in BOARD/CPU Makefile.default. These
modules MAY have complex dependencies themselfs.

DEFAULT_MODULEs declared in defaultmodules_no_recursive_deps.inc.mk MAY be disabled
during dependency resolution. The MUST only have dependencies against
modules with no dependencies themselfs, and these dependencies must
be defined in makefiles/defaultmodules._deps.inc.mk
2022-06-02 12:56:59 +02:00
Marian Buschsieweke
6cca6234b0
Merge pull request #18160 from fjmolinas/pr_python_lint_compile_and_test
dist/tools/compile_and_test_for_board: fix lint
2022-06-02 12:46:29 +02:00
Francisco Molina
69e4747ecc setup.cfg: remove bad option 2022-06-02 11:42:53 +02:00
Francisco Molina
fabcdf88a4 dist/tools/compile_and_test_for_board: fix lint 2022-06-02 11:42:53 +02:00
benpicco
e1e2b7c5b6
Merge pull request #17601 from gschorcht/cpu/esp32/upgrade_esp-idf_v4.4
cpu/esp32: Upgrade to ESP-IDF v4.4
2022-06-02 10:18:07 +02:00
benpicco
25d7234a1b
Merge pull request #16323 from fjmolinas/pr_uf2_riotboot_initial
makefiles/tools/uf2conv.inc.mk: partial riotboot support
2022-06-02 10:00:52 +02:00
benpicco
aab6bca16a
Merge pull request #18155 from benpicco/SUIT_VENDOR_DOMAIN
makefiles/suit: allow to overwrite SUIT_VENDOR_DOMAIN
2022-06-02 10:00:18 +02:00