Marian Buschsieweke
ed4b777b29
examples/dtls-sock: fix error handling in client
...
Not closing a stack allocated socket before going out of scope of the
allocation is something to avoid. This fixes crashes at runtime
when adding the credentials fails.
2023-12-27 21:55:17 +01:00
benpicco
26682d882a
Merge pull request #20206 from zengwei2000/patch-4
...
fatfs_vfs: fix the Memory leak: work
2023-12-26 10:05:02 +00:00
zengwei2000
1fd2eef1a0
fatfs_vfs: fix the Memory leak: work
...
Signed-off-by: zengwei zengwei1@uniontech.com
2023-12-26 08:57:55 +00:00
benpicco
7c2f091b39
Merge pull request #19540 from gschorcht/cpu/stm32/periph/sdmmc
...
cpu/stm32/periph: add low-level SDMMC peripheral driver
2023-12-23 21:25:59 +00:00
Benjamin Valentin
d8cc2ac24f
tests: don't manually select native
term
2023-12-23 20:27:47 +01:00
Benjamin Valentin
b166327354
makefiles/tests/tests.inc.mk: use native
term for tests
2023-12-23 20:27:47 +01:00
Oleg Hahm
59b687cf68
boards/native: forward eeprom flags to pyterm
2023-12-23 20:27:47 +01:00
Benjamin Valentin
753fae6936
cpu/stm32/periph_spi: only perform DMA transfer above threshold
2023-12-23 17:36:30 +01:00
Benjamin Valentin
fbeb1f9a26
drivers/periph/spi: move DMA threshold to common code
2023-12-23 17:35:29 +01:00
Gunar Schorcht
b3f3e16771
boards/stm32f7508-dk: add SDMMC support
2023-12-23 17:18:37 +01:00
benpicco
5898c80334
Merge pull request #20212 from benpicco/pyterm_native-fixes
...
tests/build_system/test_tools: use `native` terminal
2023-12-22 19:38:41 +00:00
Benjamin Valentin
90dad75751
tests/build_system/test_tools: use native
terminal
2023-12-22 18:01:21 +01:00
Oleg Hahm
c0e71b0592
Merge pull request #20172 from OlegHahm/pr/pyterm_native_pipe
...
pyterm: add native support
2023-12-21 23:08:22 +00:00
Benjamin Valentin
ba8130e69f
tools/zep_dispatch: topogen: add help text
2023-12-21 23:17:53 +01:00
Benjamin Valentin
f7e6a4ada2
tools/zep_dispatch: topogen: print list of nodes
2023-12-21 23:17:53 +01:00
Benjamin Valentin
2e19c2d712
tools/zep_dispatch: topogen: place first node at origin
2023-12-21 23:17:53 +01:00
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