Dylan Laduranty
d99885496b
.vscode/settings.json: import initial RIOT-OS style
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2022-11-21 21:31:12 +01:00
Dylan Laduranty
069ad929c2
.gitignore: ignore all files within .vscode/ except user's settings
...
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2022-11-21 21:30:28 +01:00
64dcfd67ff
Merge pull request #18811 from maribu/boards/common/nrf52
...
boards/common/nrf52: improve default clock config
2022-11-21 09:33:47 +00:00
Marian Buschsieweke
4ffa4112d4
Merge pull request #18938 from benpicco/make_extraneous_text
...
makefiles/gnu.inc.mk: fix "extraneous text after 'ifneq' directive"
2022-11-20 17:29:30 +01:00
Benjamin Valentin
826b2ae232
makefiles/gnu.inc.mk: fix "extraneous text after 'ifneq' directive"
...
When trying to compile `examples/hello-world` on my 465 MHz Mendocino
I got
/home/benpicco/dev/RIOT/makefiles/toolchain/gnu.inc.mk:29: extraneous text after 'ifneq' directive
Turns out the version of `make` on Archlinux32 is newer than that in
Ubuntu 22.04, which somehow ignored the extra parenthesis.
Turns out this (t)rusty old machine is still good for writing patches :D
2022-11-20 14:53:34 +01:00
Marian Buschsieweke
6b759c2a7d
Merge pull request #18935 from benpicco/makefiles/gnu-version
...
makefiles/gnu.inc.mk: set flags based on compiler version
2022-11-20 08:11:57 +01:00
Benjamin Valentin
b30efeeb65
makefiles/gnu.inc.mk: set flags based on compiler version
2022-11-19 23:14:54 +01:00
Martine Lenders
2a0dad0982
Merge pull request #18936 from benpicco/RIOT_FILE_RELATIVE-purge
...
treewide: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 19:37:30 +01:00
Martine Lenders
3e689237a0
Merge pull request #18931 from benpicco/ping6-purge
...
sys/shell: drop ping6 alias
2022-11-19 14:51:14 +01:00
3cd9f0d8fb
Merge pull request #18918 from benpicco/print_bytes_hex
...
sys/fmt: add print_bytes_hex()
2022-11-19 09:35:26 +01:00
Benjamin Valentin
dd5c876034
cpu/native: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +01:00
Benjamin Valentin
7e91d91cea
gnrc_tcp: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +01:00
Benjamin Valentin
74a8911597
sys/embUnit: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +01:00
Benjamin Valentin
8777584ac8
cpu/lpc23xx: core: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +01:00
Benjamin Valentin
7bc115e326
sys/test_utils: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +01:00
Benjamin Valentin
37116d359e
core: replace RIOT_FILE_RELATIVE with __FILE__
2022-11-19 01:48:42 +01:00
benpicco
e0688991dd
Merge pull request #18932 from maribu/sys/hashes/pbkdf2
...
tests/pbkdf2: de-flanky-fy test
2022-11-18 23:48:36 +01:00
benpicco
e1aa925c35
Merge pull request #18913 from benpicco/macro-prefix-map
...
makefiles/cflags.inc.mk: don't include absolute path in __FILE__ macro
2022-11-18 16:43:35 +01:00
benpicco
2f122769c3
Merge pull request #18921 from benpicco/cpu/stm32-bkup_heap
...
cpu/stm32: add unused backup RAM as extra heap
2022-11-18 15:48:36 +01:00
benpicco
3c7c48e8d0
Merge pull request #18824 from krzysztof-cabaj/tools-cpy2remed-add-NOD
...
tools/cpy2remed: add support for NOD_xxxx removable media
2022-11-18 14:52:24 +01:00
krzysztof-cabaj
4cb2ed5406
tools/cpy2remed: add support for removable media name NOD_xxxx
2022-11-18 08:10:02 -05:00
Marian Buschsieweke
176cb9a7b0
tests/pbkdf2: de-flanky-fy test
...
Previously, the test vectors were encoded into the python test scripts,
converted to base64, and send over to the device under test via stdio.
The application sent back the output after converting it to base64
first, which was read back in by the test script and decoded. Finally,
the test script compared the result with the expected result.
This made the test complex, slow and, flanky, as stdio on interfaces
such as UART has a high bit error rate and some quirks (e.g. the EDBG
UART bridge e.g. in the samr21-xpro dropping bytes when bursts of more
than 64 bytes at a time are send).
This basically rewrites the test to embed the test vectors in the
firmware and do the comparison on the devices. This fixes test failures
on the samr21-xpro, the nRF52840-DK and likely many others. Also, it
is now fast.
2022-11-18 13:55:26 +01:00
Marian Buschsieweke
e92a7164e3
sys/hash/pbkdf2: Accept passwd as void *
instead of uint8_t *
...
Having to cast a password provided as `const char *` to
`const uint8_t *` is a needless pain in the ass when using the API.
Hence, fix it by accepting passwords and salts as `const void *`
instead.
2022-11-18 13:51:32 +01:00
Benjamin Valentin
9dc63f583a
tests/fmt_print: add test for print_bytes_hex()
2022-11-18 13:40:59 +01:00
Benjamin Valentin
b5339c61ce
sys/shell: drop ping6 alias
...
We don't need two names for the same command, ping is enough.
2022-11-18 12:54:12 +01:00
benpicco
f533b3f282
Merge pull request #18929 from krzysztof-cabaj/nucleo-l476rg-doc
...
boards/nucleo-l476zg: doc improvements
2022-11-18 12:20:07 +01:00
Benjamin Valentin
6f05daceb3
cpu/stm32: add unused backup RAM as extra heap
2022-11-18 12:19:10 +01:00
benpicco
29812d06cf
Merge pull request #18926 from gschorcht/pkg/tinyusb_fix_speed_stm32
...
pkg/tinyusb: fix USB speed selection for STM32 boards with HS PHY
2022-11-18 10:41:06 +01:00
Gunar Schorcht
600421dc75
tests/pkg_tflite-micro: fix the out of ROM problem for stm32fdiscovery
2022-11-18 07:33:28 +01:00
krzysztof-cabaj
42104b79fb
boards/nucleo-l476zg: doc improvements
2022-11-17 16:08:20 -05:00
Gunar Schorcht
c42b6d601d
pkg/tinyusb: fix CONFIG_CLOCK_HSE for STM32
2022-11-17 17:50:20 +01:00
Gunar Schorcht
4b7578b2eb
pkg/tinyusb: fix USB speed selection for STM32
2022-11-17 14:07:38 +01:00
Marian Buschsieweke
f60141a5be
Merge pull request #18917 from maribu/sys/test_utils/print_stack_usage
...
sys/print_stack_usage: update MIN_SIZE
2022-11-17 13:45:08 +01:00
Marian Buschsieweke
095217516e
Merge pull request #18912 from maribu/sys/malloc_tracing
...
sys/malloc_tracing: add module to trace dyn memory management
2022-11-17 13:36:47 +01:00
ba3ccfe32e
Merge pull request #18922 from blueted2/pr/docs/kconfig/typo
...
docs/kconfig: "not longer" -> "no longer" typo
2022-11-17 11:51:02 +01:00
Gregory Holder
7de170cf27
docs/kconfig: not longer -> no longer typo
2022-11-17 08:35:26 +00:00
benpicco
b33688dec4
Merge pull request #18919 from gschorcht/cpu/stm32/fix_ram_len_stm32f4{2,3}{7,9}
...
cpu/stm32: fix RAM_LEN for F427, F429, F437, F439 models
2022-11-16 11:32:13 +01:00
Gunar Schorcht
7b99a5152f
cpu/stm32: fix RAM_LEN for F427, F429, F437, F439 models
...
These models have 256 kByte RAM, but the upper 64 kByte are used as CCM data RAM accessible at 0x1000:0000. The access to 0x2003:xxxx leads to a hard fault.
2022-11-15 22:29:34 +01:00
benpicco
2d4c5a43ba
Merge pull request #18914 from benpicco/sock_udp_recv_aux-style
...
gnrc_sock_udp: style fix in sock_udp_recv_buf_aux()
2022-11-15 22:20:32 +01:00
Benjamin Valentin
95e654f232
sys/fmt: add print_bytes_hex()
2022-11-15 22:05:42 +01:00
benpicco
cc7c525d0b
Merge pull request #18882 from kfessel/p-split-kernel-defines
...
core/lib: split kernel defines by its concerns
2022-11-15 22:02:31 +01:00
Marian Buschsieweke
5b86848d77
sys/print_stack_usage: update MIN_SIZE
...
Since fmt no longer has a significant advantage in stack consumption,
we need to bump the `MIN_SIZE` guard that prevents causing stack
overflows due to the printing of the stack consumption.
2022-11-15 21:41:58 +01:00
Benjamin Valentin
5b359108f7
cpu/esp8266: blacklist -fmacro-prefix-map
...
This requires at least GCC 8
2022-11-15 20:39:49 +01:00
Benjamin Valentin
442644ba93
gnrc_sock_udp: style fix in sock_udp_recv_buf_aux()
2022-11-15 20:35:20 +01:00
benpicco
e710b6f07c
Merge pull request #18854 from benpicco/gnrc_sock_udp-_remote_mismatch
...
gnrc_sock_udp: accept response from any address if remote is multicast
2022-11-15 20:33:58 +01:00
Benjamin Valentin
71b1689407
makefiles/cflags.inc.mk: don't include absolute path in __FILE__ macro
2022-11-15 15:28:54 +01:00
Marian Buschsieweke
7ce641f110
sys/malloc_tracing: add module to trace dyn memory management
...
Hooking into the existing wrappers for `malloc()`, `calloc()`,
`realloc()`, and `free()`, the new (pseudo) module `malloc_tracing`
prints out the calls to the given functions, the program counter of
the caller, as well as the return result.
The intent is to aid debugging double-frees, invalid frees, or memory
leaks.
2022-11-15 12:59:46 +01:00
Marian Buschsieweke
35149bd1c2
Merge pull request #18797 from MrKevinWeiss/pr/fixstmclk
...
cpu/stm32: Fix stm clock configuration
2022-11-15 11:39:25 +01:00
Benjamin Valentin
920d690694
test/gnrc_udp: add test multicast sock
2022-11-15 11:26:31 +01:00
Benjamin Valentin
2b92e9ec59
gnrc_sock_udp: accept response from any address if remote is multicast
2022-11-15 11:26:31 +01:00