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

44964 Commits

Author SHA1 Message Date
Frederik Haxel
3291f94e07 pkg: 64 bit compatibility
* Added arch_64bit feature and added it to all packages that require 32 bit.
* hacl, wolfssl: Fixed different types between function declaration and implementation.
* lwip: Add required flag for 64 bit and bug fix in `lwip_sock`.
* micro-ecc: Workaround for GCC warning when using `__int128`.
2024-01-18 00:40:08 +01:00
Marian Buschsieweke
0cffb7f365
Merge pull request #20257 from fzi-haxel/native64-part1
core, sys, drivers: 64-bit support preparations
2024-01-17 15:40:34 +00:00
Frederik Haxel
3feb1a369b drivers: 64 bit compatibility
Fixed compilation errors for pointer casting.
2024-01-17 16:05:12 +01:00
Frederik Haxel
394cd0e3a8 sys: 64 bit compatibility
* priority_queue_t: Replaced `-1U` literal with PRIORITY_QUEUE_DATA_SIGNALING define
* architecture.h: Added 64-bit
* bloom.h: Fixed typedef for the hashfp_t function pointer
* vfs.h: Increased default vfs buffer sizes for 64 bit
* bytes.h: Check if socklen_t is already defined
* ztimer: Use PRIxPTR format specifier
2024-01-17 16:05:12 +01:00
de7d72c143
Merge pull request #20268 from kaspar030/fix_murdock_tests_file
ci: fix murdock tests after dwq change
2024-01-17 10:33:10 +00:00
c84400ee6c ci: adapt .murdock test_job to changed dwq 2024-01-17 10:08:33 +01:00
9ec623a33f ci: ./murdock run_tests: fail fast if flashing fails 2024-01-17 10:05:44 +01:00
mguetschow
084dedcca7
Merge pull request #20116 from bergzand/pr/sha256/no_static
hashes/sha2{24,56}: Remove static variables from sha256
2024-01-16 16:01:56 +00:00
benpicco
c1ae2ecb9f
Merge pull request #20259 from fabian18/pr/gnrc/ipv6/nib_rejoin_ip6_mcast
gnrc/ipv6/nib: rejoin ipv6_addr_all_nodes_link_local on interface up
2024-01-16 15:11:53 +00:00
434e5647d0
hashes/sha224: Remove static variables from sha224 2024-01-16 16:00:44 +01:00
bac3f48dc9
hashes/sha256: Remove static variables from sha256
This removes the static (thread-unsafe) variables from sha256 and
hmac_sha256 to remove a potential footgun. The static variable is only
used when the caller does not supply a pointer to store the digest and
it is returned via the (undocumented) return value.

This commit removes this option and makes the digest argument mandatory.
2024-01-16 16:00:39 +01:00
Fabian Hüßler
ab3f77e673 gnrc/ipv6/nib: rejoin ipv6_addr_all_nodes_link_local on interface up 2024-01-16 12:34:37 +01:00
fbae38b416
Merge pull request #20260 from maribu/dist/tools/zsh-completion
dist/tools/zsh-completion: fix typo
2024-01-16 07:43:53 +00:00
Marian Buschsieweke
c823412f31
dist/tools/zsh-completion: fix typo
This fixes a typo in a description.
2024-01-16 08:01:11 +01:00
Marian Buschsieweke
6c66d6b554
Merge pull request #20256 from fzi-haxel/pr/tests-fib-fix
unittests/tests-fib: Fix array size types
2024-01-15 20:25:11 +00:00
Marian Buschsieweke
0eabef740a
Merge pull request #20258 from benpicco/use_busy_wait
drivers: make use of busy_wait()
2024-01-15 14:08:34 +00:00
Benjamin Valentin
1e1244042e drivers/mtd_spi_nor: make use of busy_wait() 2024-01-15 14:56:35 +01:00
Benjamin Valentin
9d70fbf2e1 cpu/sam0_common: SDHC: make use of busy_wait() 2024-01-15 14:30:56 +01:00
benpicco
8ba210e6f6
Merge pull request #20250 from maribu/dist/tools/zsh-completion
dist/tools/zsh-completion: add completion for flash
2024-01-15 12:10:29 +00:00
Frederik Haxel
64c551a714 unittests/tests-fib: Fix array size types
Reverts the type changes for the array size variables, as `size_t` is needed
in the function calls `fib_get_next_hop` and `fib_get_destination_set`.

Fixes 475a55136a
2024-01-15 11:26:36 +01:00
Frederik Haxel
cb83a2ea8a core: 64 bit compatibility
Only minor changes are required to make the kernel 64 bit compatible.
Most of the changes are either DEBUG/printf formatting or different types for void pointer casting.

The only other change is the type of the `data` member in priority_queue_node_t, as `data` must be able to store a pointer.
For current architectures, the assumption `sizeof(unsigned int) == sizeof(void *)` holds, but not for 64 bit.
Therefore, the type is changed to `uintptr_t', which has the same size for the current architectures, but can also store a pointer in 64 bits.
2024-01-15 10:16:30 +01:00
Marian Buschsieweke
8008bb435d
dist/tools/zsh-completion: add completion for flash
Also complete and explain `PROGRAMMER=`, `OPENOCD_DEBUG_ADAPTER=`, and
`OPENOCD_RESET_USE_CONNECT_ASSERT_SRST=` when using zsh.

Co-authored-by: benpicco <benpicco@googlemail.com>
2024-01-14 17:49:33 +01:00
benpicco
f7d018c355
Merge pull request #20252 from maribu/tools/openocd-rtt/debug
tools/openocd-rtt: also open GDB port
2024-01-13 21:05:09 +00:00
benpicco
57994daa46
Merge pull request #20251 from maribu/boards/e180-zg120b-tb/openocd
boards/e180-zg120b-tb: add support for OpenOCD
2024-01-13 20:41:50 +00:00
Marian Buschsieweke
4fc7700a0f
tools/openocd-rtt: also open GDB port
When using OpenOCD RTT (real-time transfer) for stdio with
`USEMODULE=stdio_rtt make ...`, it is no longer possible to debug
while being connected to stdio. By also opening gdb at RIOT's default
GDB port, `make debug-client` can be used to connect from GDB to the
OpenOCD instance providing stdio via RTT.
2024-01-13 12:47:37 +01:00
Marian Buschsieweke
f5a9e084c9
boards/e180-zg120b-tb: add support for OpenOCD 2024-01-13 12:03:15 +01:00
benpicco
c7dc3050db
Merge pull request #20249 from fzi-haxel/pr/size_t_format_fixes
print: Missing size_t print format specifiers
2024-01-13 08:51:14 +00:00
Frederik Haxel
291c89f1e7 sys/net/gnrc: Fixed wrong PRIuSIZE format specifier 2024-01-12 17:17:33 +01:00
Frederik Haxel
a6a6e31699 tests/unittests/tests-uri_parser: Added PRIuSIZE 2024-01-12 17:17:33 +01:00
Frederik Haxel
381cae6eb1 drivers: Added PRIuSIZE print format specifier 2024-01-12 17:17:33 +01:00
benpicco
ca1c09e382
Merge pull request #20248 from fzi-haxel/pr/bump_ccn_lite
pkg/ccn-lite: Bump version
2024-01-12 12:12:29 +00:00
benpicco
31da90ea7f
Merge pull request #20246 from benpicco/microkernel
doc/mainpage: don't claim to be a microkernel
2024-01-12 08:37:49 +00:00
benpicco
47b5eebf84
Merge pull request #20247 from benpicco/cpu/avr8-pm_layered
cpu/avr8_common: allow to build with !periph_pm
2024-01-11 21:02:28 +00:00
Benjamin Valentin
ce36ca50ab core/panic: fix build with !periph_pm 2024-01-11 21:21:30 +01:00
Benjamin Valentin
7add6c2fcc cpu/avr8_common: make pm_layered a DEFAULT_MODULE
This lets us disable it.
2024-01-11 21:14:43 +01:00
benpicco
0c80553534
Merge pull request #20244 from benpicco/sys/shell/cmds-version
sys/shell: add firmware version to version cmd
2024-01-11 17:56:40 +00:00
Benjamin Valentin
ca97f8ab2b doc/mainpage: don't claim to be a microkernel
We are clearly not and this just sets wrong expectations.
2024-01-11 16:59:50 +01:00
Frederik Haxel
53c4a16b58 pkg/ccn-lite: Bump version 2024-01-11 16:09:45 +01:00
Benjamin Valentin
235d3f059c boards/samd2x-xpro: enable riotboot 2024-01-11 14:38:35 +01:00
Benjamin Valentin
f932552b99 sys/shell: add firmware version to version cmd 2024-01-11 14:38:15 +01:00
benpicco
714958ad3c
Merge pull request #20241 from benpicco/busy_wait
sys/busy_wait: add busy wait helper
2024-01-11 12:19:31 +00:00
Benjamin Valentin
9cf1c47e86 tests/sys/busy_wait: add test for busy wait 2024-01-11 13:02:56 +01:00
benpicco
bb4c4ddf20
Merge pull request #20243 from benpicco/gnrc_ipv6_nib_pl_set-relax
gnrc/nib: allow prefix to be on-link without being used for address
2024-01-10 22:19:03 +00:00
Benjamin Valentin
fff9ff14da cpu/esp32: add busy loop cycles for all sub-arches 2024-01-10 22:43:31 +01:00
Benjamin Valentin
8bcfe7b7b6 cpu/esp8266: ESP8266 needs 5 cycles per busy loop 2024-01-10 22:43:31 +01:00
Benjamin Valentin
5dc43bd62d cpu/avr8_common: AVR-8 needs 7 cycles per busy loop 2024-01-10 22:43:31 +01:00
Benjamin Valentin
433438c924 gnrc/nib: allow prefix to be on-link without being used for address 2024-01-10 14:49:03 +01:00
Marian Buschsieweke
5fa94b5745
Merge pull request #20238 from benpicco/nanocoap_sock_fetch
nanocoap_sock: implement FETCH methods
2024-01-10 08:04:27 +00:00
benpicco
2e3037c3aa
Merge pull request #20240 from benpicco/cpu/atmega-no_thread
cpu/avr8_common: fix build with !core_thread
2024-01-09 22:13:30 +00:00
Benjamin Valentin
cb76cc17e9 cpu/native: fix build with !core_thread 2024-01-09 23:02:01 +01:00