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

41983 Commits

Author SHA1 Message Date
Karl Fessel
d46b56933d drivers/sht1x: add missing include for ARRAY_SIZE 2022-11-22 13:39:35 +01:00
Karl Fessel
54ada3685a tests: add missing includes 2022-11-22 13:39:35 +01:00
Karl Fessel
af8589059e sys/includes: replace kernel_defines.h 2022-11-22 13:39:35 +01:00
Karl Fessel
dd9c3ba362 includes/net: replace "kernel_defines.h" 2022-11-22 13:39:35 +01:00
Karl Fessel
b70d6c7fd7 gnrc/include: replace kernel_defines.h 2022-11-22 13:39:35 +01:00
Karl Fessel
768451bf09 sys/include: remove kernel_defines.h where not needed 2022-11-22 13:39:35 +01:00
benpicco
0621150bf0
Merge pull request #18884 from kfessel/p-macro-maybe-unused
core/lib: define MAYBE_UNUSED
2022-11-22 12:54:36 +01:00
benpicco
2be0276cd3
Merge pull request #18943 from maribu/tests/pbkdf2
tests/pbkdf2: remove unused #include
2022-11-22 12:53:52 +01:00
Marian Buschsieweke
54b0100c44
Merge pull request #18945 from dylad/pr/vscode_import_riot_styles
.vscode: import initial RIOT-OS style
2022-11-22 07:02:33 +01:00
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
Marian Buschsieweke
b1da8168b5
tests/pbkdf2: remove unused #include 2022-11-21 16:42:00 +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
Karl Fessel
b4feefa334 core/lib: define MAYBE_UNUSED 2022-11-17 12:26:35 +01:00
Karl Fessel
fe325ecdd2 core/lib: compiler_hints guard NORETURN and PURE 2022-11-17 12:26:35 +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