Benjamin Valentin
b85b7937c3
tools/zep_dispatch: topogen: use numeric names
2023-12-21 23:17:53 +01:00
Benjamin Valentin
61992fe1a7
tools/zep_dispatch: add support for PIDFILE
2023-12-21 23:17:53 +01:00
Benjamin Valentin
875bf98280
tools/zep_dispatch: topogen: fix distance calculation
2023-12-21 23:17:53 +01:00
Benjamin Valentin
1c15624384
tools/zep_dispatch: allow list of nodes in topo file
2023-12-21 23:17:53 +01:00
Benjamin Valentin
b4efc378a0
tools/zep_dispatch: topogen: add support for generating grid topology
2023-12-21 23:17:53 +01:00
benpicco
3d72a9b2f8
Merge pull request #20209 from Enoch247/fix-shell
...
sys/shell: fix getopt() support
2023-12-21 21:58:32 +00:00
Joshua DeWeese
9f27a5a246
sys/riotboot/slot: fix failed build
...
When riotboot/slot.h is included, but riotboot is not enabled in the
build, a compiler error occures. This is because SLOT0_LEN is not
defined. This patch fixes this by surrounding the offending macrro with
a conditional compile. `riotboot_slot_size()` may still be called, in
which case it returns 0 for the size of any slot given.
2023-12-21 16:33:15 -05:00
Joshua DeWeese
7b66eb2c47
bootloaders/riotboot: add INCLUDES to build
...
If external boards defined in one of the EXTERNAL_BOARD_DIRS folders
pulls in a header file external to the RIOT tree and added to the build
via the INCLUDES macro, the build will fail to find the header.
This patch adds the INCLUDES macro to the bootloader build step so that
the headers can be found.
2023-12-21 16:33:02 -05:00
Joshua DeWeese
edb419ab7c
sys/shell: update doc
...
This patch updates shell.c's doc that undersells the shells complexity.
The comment seems to have been written prior to the shell's ability to
parse command args and handle quoting sequences.
2023-12-21 16:18:23 -05:00
Joshua DeWeese
5cd52885c1
sys/shell: fix missing NULL terminator
...
This patch adds the missing NULL terminator to the argv passed to shell
command handlers. Without it, Newlib's getop() was intermittently
causing hardfaults. Closer inspection of NewLib's code revealed that it
relies in this NULL termination. ANSI-C also requires it of the argv
passed to main().
2023-12-21 15:53:04 -05:00
Joshua DeWeese
8a9dd047be
sys/shell: add details to doc
...
This patch adds details to the rationale behind the design of the
argv/argc handling for shell command handlers. It also fixes a
misspelling.
2023-12-21 15:53:04 -05:00
Joshua DeWeese
fcd3d0decf
sys/shell: fix doc
...
Fixed broken Markdown code spans. Also added a code span around mention
of getopt.
2023-12-21 15:52:53 -05:00
benpicco
4fb5f0cdc2
Merge pull request #20207 from krzysztof-cabaj/nucleo-l452re-DOC
...
boards/nucleo-l452re: doc update
2023-12-21 18:45:04 +00:00
benpicco
376d81435e
Merge pull request #20205 from zengwei2000/patch-3
...
wasm: fix the memory leak: wasm_buf
2023-12-21 18:44:49 +00:00
benpicco
59773bb647
Merge pull request #20208 from OlegHahm/pr/bump_micropython
...
pkg: micropython: bump version
2023-12-21 18:24:06 +00:00
Gunar Schorcht
2c2e70fb17
boards/stm32l496g-disco: add SDMMC support
2023-12-21 18:37:43 +01:00
Gunar Schorcht
ae4ba633d9
boards/stm32f746g-disco: add SD Card interface support
2023-12-21 18:37:43 +01:00
Gunar Schorcht
337a63ecb5
cpu/stm32/periph: add SDMMC support for F2/F4/F7/L4
2023-12-21 18:37:43 +01:00
Oleg Hahm
1391f9a1b5
pkg: micropython: bump version
2023-12-21 17:23:51 +01:00
Marian Buschsieweke
418bc2f93a
Merge pull request #20194 from fzi-haxel/pr/size_t_print_modifier
...
print: Added size_t print format specifier
2023-12-21 13:28:39 +00:00
Frederik Haxel
475a55136a
unittests/tests-fib: test cleanup
...
- Added helper function to avoid 'format-truncation' warning
- Changed all `size_t` types to `unsigned`
- Changed function names from `_FIB_` to `_fib_`
2023-12-21 12:06:51 +01:00
Frederik Haxel
9272ad8d9a
net/gnrc/rpl: Remove unused debug string
2023-12-21 12:06:47 +01:00
Frederik Haxel
fa0cf05d0a
tests: Use size_t print format specifier
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:37 +01:00
Frederik Haxel
314dbf15b9
examples: Use size_t print format specifier
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:34 +01:00
Frederik Haxel
1182de16fd
pkg: Use size_t print format specifier
2023-12-21 12:02:32 +01:00
Frederik Haxel
ec7fe8d598
drivers: Use size_t print format specifier
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:28 +01:00
Frederik Haxel
64ba553d1f
sys: Use size_t print format specifier
...
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:19 +01:00
Frederik Haxel
b5a43801fb
print: Added size_t print format specifier
...
- Added `PRIuSIZE`, `PRIxSIZE`, etc. to `architecure.h`
- Changed `CODING_CONVENTIONS.md` regarding `size_t` printing
Co-authored-by: Marian Buschsieweke <marian.buschsieweke@posteo.net>
2023-12-21 12:02:16 +01:00
krzysztof-cabaj
d8423cb4d6
boards/nucleo-l452re: fix typo
2023-12-20 19:48:43 +01:00
krzysztof-cabaj
fb07cc054a
boards/nucleo-l452re: doc update
2023-12-20 16:56:01 +01:00
zengwei2000
4edfd85286
wasm: fix the memory leak: wasm_buf
...
wasm: fix the memory leak: wasm_buf
Signed-off-by: zengwei zengwei1@uniontech.com
2023-12-20 23:37:28 +08:00
Oleg Hahm
724e6e0098
Merge pull request #20167 from benpicco/gnrc_ipv6_classic
...
gnrc_ipv6_nib: fix config for mixed 6lo/classic setup
2023-12-20 12:12:40 +00:00
Gunar Schorcht
d91f438589
cpu/stm32/periph/dma: dma_setup_ext for extended configuration
...
The function configures additional features of the DMA stream for F2/F4/F7.
`dma_setup_ext` added to configure F2/F4/F7 specific additional features like `MBURST`, `PBURST`, `FIFO` and Peripheral flow controller. It is supposed to be used after `dma_setup` and `dma_prepare`.
2023-12-20 09:14:28 +01:00
benpicco
950a11e736
Merge pull request #20199 from benpicco/GNRC_IPV6_STATIC_LLADDR-fix
...
gnrc/ipv6/nib: fix GNRC_IPV6_STATIC_LLADDR when link state changes
2023-12-19 18:04:48 +00:00
Benjamin Valentin
9ceb7cd30c
gnrc/ipv6/nib: fix GNRC_IPV6_STATIC_LLADDR when link state changes
2023-12-19 18:33:59 +01:00
Teufelchen1
4a62b9ff31
tests: Slightly increase coverage of fmt unittests
2023-12-19 18:11:28 +01:00
benpicco
30f89714f2
Merge pull request #20195 from benpicco/coap_get_uri_query-defuse
...
nanocoap: defuse footgun in coap_get_uri_query()
2023-12-19 13:30:14 +00:00
Benjamin Valentin
d6ca03aaa9
tests/unittests: coap_get_uri_query() -> coap_get_uri_query_string()
2023-12-19 14:02:28 +01:00
Benjamin Valentin
a1c3d5a4ea
nanocoap: rename coap_get_uri_query() -> coap_get_uri_query_string()
...
Free up the name for a function that will do something actually useful
2023-12-19 14:01:53 +01:00
Benjamin Valentin
f56edf5849
nanocoap: defuse footgun in coap_get_uri_query()
2023-12-19 14:00:04 +01:00
Frederik Haxel
18c9f3c14e
examples/dtls-sock: Enable non 32-bit architectures
2023-12-19 13:33:18 +01:00
MrKevinWeiss
6a0b1c59c5
boards/nrf9160dk: Override WS281X_TIMER_*
2023-12-19 11:13:45 +01:00
MrKevinWeiss
fb5ebea1a5
boards/common/e104-bt50xxa-tb: Override WS281X_TIMER_*
2023-12-19 11:13:44 +01:00
MrKevinWeiss
0d31432cb3
boards/nrf51: Defined TIMER_x_MAX_VALUE
2023-12-19 11:13:44 +01:00
MrKevinWeiss
7b80348f31
drivers/ws281x: Fix Kconfig
...
Patch from https://github.com/RIOT-OS/RIOT/pull/19891#pullrequestreview-1753651538
2023-12-19 11:13:43 +01:00
chrysn
d86405cef4
drivers/ws281x: Add timer and gpio_ll based driver
2023-12-19 11:13:43 +01:00
chrysn
02285fd63a
drivers/periph: Add timer_poll feature and timer_poll_channel function
2023-12-19 11:13:41 +01:00
chrysn
d32c32ffae
boards/nrf52: Defined TIMER_x_MAX_VALUE
...
The macro's presence is documented in `timer_init`, but was missing from
this platform.
2023-12-19 11:13:41 +01:00
chrysn
abf95d14a6
cpu/nrf5x: Tolerate NULL callback in timers
...
timer_set has no documented restriction on this being not null, other
implementations explicitly tolerate it (rpx0xx checks inside the ISR,
but doing it at init time keeps the ISR slim).
This is useful when using a timer just to read, without any action when
it triggers (the action is taken depending on read values, eg. in a
thread context).
2023-12-19 11:13:40 +01:00
Benjamin Valentin
fa1f60f4ac
gnrc_ipv6_nib: fix config for mixed 6lo/classic setup
2023-12-19 10:47:54 +01:00