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

40049 Commits

Author SHA1 Message Date
Hendrik van Essen
2284f87fdb sys/shell: add module shell_lock
Module to lock the running shell with a password. Shell is proceeded only
when the valid password was entered by the user. After 3 failed attempts,
the input is blocked for a few seconds to slow down brute force attacks.
Does not make use of any cryptographic features yet.
2022-06-08 12:53:48 +02:00
benpicco
e7ac109f0e
Merge pull request #18170 from RocioRojas/zep_dispatch
tools/zep_dispatch: run dispatch with custom topology
2022-06-08 12:04:58 +02:00
Marian Buschsieweke
f256e48159
Merge pull request #18168 from maribu/boards/common/programmer
boards/common/{nrf52,cc26xx_cc13xx}: improve default programmer selection
2022-06-08 10:15:17 +02:00
Marian Buschsieweke
20d3304077
Merge pull request #18152 from maribu/sys/shell_commands
sys/shell_commands: convert to SHELL_COMMAND()
2022-06-08 06:40:46 +02:00
benpicco
df18bd1127
Merge pull request #18174 from benpicco/drivers/mtd-early_return
drivers/mtd: return early if init fails
2022-06-07 21:54:19 +02:00
Marian Buschsieweke
ed83aa3883
boards/common/cc26xx_cc13xx: improve default PROGRAMMER setting
Only default to uniflash as default programmer if UNIFLASH_PATH is
set. If this isn't the case, `make flash` fails complaining about
missing `UNIFLASH_PATH` anyway.
2022-06-07 16:45:14 +02:00
Marian Buschsieweke
6d39b3c993
boards/common/nrf52: only default PROGRAMMER to jlink if installed 2022-06-07 16:45:13 +02:00
benpicco
4b694958a3
Merge pull request #18176 from fjmolinas/pr_ztimer_init_stdio_rtt_semihosting_log
sys/ztimer: no log for stdio_rtt/semihosting
2022-06-07 15:43:50 +02:00
Marian Buschsieweke
4610749173
Merge pull request #18177 from maribu/boards/nrf52dk
boards/{nrf52dk,msba2}: provide TTY_BOARD_FILTER
2022-06-07 15:39:38 +02:00
Rocio
85aa78b102 tools/zep_dispatch: run dispatch with custom topology 2022-06-07 09:39:35 -04:00
benpicco
a64f722a42
Merge pull request #17781 from benpicco/hard_fault-BKPT
cpu/cortexm_common: remove breakpoint from hard_fault_handler
2022-06-07 15:28:08 +02:00
benpicco
380144f5e9
Merge pull request #17899 from benpicco/examples/telnet_server-lwip
examples/telnet_server: add support for LWIP
2022-06-07 10:31:04 +02:00
Marian Buschsieweke
d689751372
Merge pull request #18173 from benpicco/fuzzing-S
fuzzing: fix parameter for second fuzzing instance in README.md
2022-06-07 09:47:58 +02:00
benpicco
6019925c75
Merge pull request #17943 from fjmolinas/pr_suit_vfs_storage
sys/suit/storage/vfs: initial import
2022-06-07 09:33:37 +02:00
Marian Buschsieweke
97f2033d47
tests/shell: update expected help list 2022-06-07 09:25:06 +02:00
7ff6a0dc3a
tests/ps_schedstatistics: fix command order in shell help test 2022-06-07 09:25:06 +02:00
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
Marian Buschsieweke
bf55069612
boards/msba2: provide TTY_BOARD_FILTER 2022-06-07 09:18:58 +02:00
Marian Buschsieweke
0f492ba9b0
boards/nrf52dk: provide TTY_BOARD_FILTER 2022-06-07 09:16:06 +02:00
Francisco Molina
c9fc236576 sys/ztimer: no log for stdio_rtt/semihosting
Both modules use ztimer for stdio, so can't call stdio based functions
before the module is initialized
2022-06-07 08:51:10 +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
Benjamin Valentin
d6f2c883c5 examples/telnet_server: add support for LWIP 2022-06-07 01:30: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
Benjamin Valentin
f7ab95ad97 dirvers/mtd: return early if init fails
If init fails (e.g. because an SD card was not inserted) don't
fail the `mtd->write_size != 0` assertion but instead return early.
2022-06-07 00:59:37 +02:00
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