Marian Buschsieweke
6615f47b90
tests/unittests: Add tests for endian.h
2024-01-30 12:24:12 +01:00
benpicco
1ee9985577
Merge pull request #20276 from fzi-haxel/native64-part3
...
tests: 64-bit support preparations
2024-01-30 11:13:09 +00:00
Marian Buschsieweke
68018fe182
sys/libc: add endian.h
...
This provides glibc, NetBSD, FreeBSD compatible endian.h header with a
lean and simple API to convert between host byte order to little endian
and big endian and the other way around.
2024-01-30 10:59:28 +01:00
cba6f12b8b
make: pkg/: add git-cache-rs support
2024-01-30 10:51:20 +01:00
Frederik Haxel
c4a8b94eab
lua: Increased LUA_MEM_SIZE for 64 bit
2024-01-30 09:31:00 +01:00
Frederik Haxel
7a1c099e7b
tests: 64 bit compatibility
...
Fixed compilation errors. Mostly DEBUG/printf formatting and void pointer casting.
Other changes are:
* net/gnrc_sixlowpan_frag_*: Generalized packet size calculation
* cpu/native_backtrace: Reduced required backtrace size to 3 for 64-bit
* periph/flashpage: Simplified test
* unittests/tests-pktbuf: Generalized alignment
* sys/architecture: Extended test for 64-bit
2024-01-30 09:31:00 +01:00
Marian Buschsieweke
57cd430363
Merge pull request #20306 from Wer-Wolf/native_timer_freq
...
cpu/native: Add support for periph_timer_query_freqs
2024-01-30 08:20:23 +00:00
Armin Wolf
6070c57e21
cpu/native: Add support for periph_timer_query_freqs
...
Add support for querying the frequency supported by
`periph_timer`. This allows applications which require
this feature to run on the `native` board.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-01-30 02:01:50 +01:00
chrysn
55cbb7bdfa
Merge pull request #20303 from chrysn-pull-requests/rust-updates
...
treewide: Rust updates
2024-01-29 19:54:32 +00:00
Jason Parker
b5d72d8242
cpu/stm32: add CPU_FAM_STM32C0 support
2024-01-29 14:44:10 -05:00
benpicco
1d11b67151
Merge pull request #20297 from fabian18/pr/fatfs_fix_FATFS_VFS_FILE_BUFFER_SIZE
...
vfs: fix FATFS_VFS_FILE_BUFFER_SIZE for increased VFS_NAME_MAX
2024-01-29 14:52:53 +00:00
Jose Alamos
8dc5e9109e
gnrc_ipv6: fix double free when pinging TNT loopback address
2024-01-29 14:34:41 +01:00
Fabian Hüßler
278dec22b1
vfs: fix FATFS_VFS_FILE_BUFFER_SIZE for increased VFS_NAME_MAX
2024-01-29 11:54:21 +01:00
Oleg Hahm
71fed48e7c
Merge pull request #20307 from Wer-Wolf/exec_stack
...
cpu/native: Fix executable stack warning
2024-01-29 09:54:25 +00:00
Armin Wolf
d04df84b76
cpu/native: Fix executable stack warning
...
The tramp assembly was missing a `.note.GNU-stack` section,
meaning the compiler was forced to assume that we require
an executable stack.
Fix this by adding the necessary section.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
2024-01-28 04:43:42 +01:00
chrysn
8f111a3c29
Merge pull request #20299 from chrysn-pull-requests/nrf52-spi-bugs-2
...
cpu/nrf52 i2c: Wait for complete transmission when writing NOSTOP
2024-01-27 08:56:05 +00:00
chrysn
002cd42e26
treewide: cargo update
2024-01-27 09:41:26 +01:00
chrysn
790e808deb
cpu/nrf52 i2c: Wait for complete transmission when writing NOSTOP
2024-01-27 09:41:26 +01:00
chrysn
6231c58fdb
examples/rust-coap: Update to coap-handler 0.2 based implementations
2024-01-27 09:41:26 +01:00
chrysn
3c5a540d01
drivers/lsm303agr: Use version 1.0 of driver
2024-01-27 09:41:26 +01:00
chrysn
96af920a12
drivers/lsm303agr: Use version 0.3 of driver
...
Note that for the very CPU this driver is used with (nRF52 on the
microbit-v2 board), this currently needs extra workarounds to copy
written data from flash to RAM so that the driver can see it. (Otherwise
it silently writes 00, and then correctly reads 00 from the bus all the
time).
2024-01-27 09:41:26 +01:00
Marian Buschsieweke
ad69fc14c9
Merge pull request #20304 from benpicco/drivers-luid_get
...
drivers/w5100: make use of netdev_eui48_get()
2024-01-26 21:31:57 +00:00
Benjamin Valentin
a774ad935b
drivers/w5100: make use of netdev_eui48_get()
2024-01-26 21:42:27 +01:00
chrysn
1073df2ce2
Merge pull request #20298 from chrysn-pull-requests/nrf52-spi-bugs
...
cpu/nrf52 i2c: Always buffer writes
2024-01-25 16:09:28 +00:00
chrysn
52a976e147
cpu/nrf52 i2c: Add shortcut when data is in RAM
...
See-Also: https://github.com/RIOT-OS/RIOT/pull/20298#discussion_r1466508505
2024-01-25 16:33:25 +01:00
chrysn
b80d1e622f
cpu/nrf52 i2c: Always buffer writes
...
The underlying peripheral can only read from RAM. This uses the
existing infrastructure (already needed to work around the lack of a
hardware support for I2C_NOSTART) to unconditionally copy any to-be-sent
data into RAM.
2024-01-25 15:24:57 +01:00
MrKevinWeiss
780bb5d500
tests/drivers/saul_drivers: Specify lsm6dsl
2024-01-25 09:18:10 +01:00
MrKevinWeiss
bd64ed460b
drivers/lsm6dsxx: Cleanup style
2024-01-25 09:16:10 +01:00
benpicco
2d459157f1
Merge pull request #20284 from benpicco/coap_build_reply_header
...
nanocoap: add coap_build_reply_header()
2024-01-24 22:00:57 +00:00
MrKevinWeiss
ab84f2387b
drivers/saul: replace lsm6dsl->lsm6dsxx
2024-01-24 20:32:03 +01:00
Teufelchen
de89843fbc
Merge pull request #20293 from mguetschow/uzlib-warning
...
pkg/uzlib: warn about memory leak during compression
2024-01-24 16:48:41 +00:00
MrKevinWeiss
2f7e1e3b53
docs: exclude lsm6dsxx macros
2024-01-24 13:44:50 +01:00
chrysn
52b0c8087b
Merge pull request #20294 from Teufelchen1/chore/rpl_format
...
routing/rpl: Fixing styling & format
2024-01-24 12:08:05 +00:00
MrKevinWeiss
1d05932bb9
drivers: Fix kconfig error
...
Even though it is removed just to get this through
2024-01-24 12:23:01 +01:00
Teufelchen1
1407d4b638
net/rpl: Major style fixes using uncrustify
2024-01-24 11:47:28 +01:00
Teufelchen1
8f6d5b2cb4
net/rpl: Minor style fixes
2024-01-24 11:45:32 +01:00
Mikolai Gütschow
a9e0a0daa1
pkg/uzlib: warn about memory leak during compression
2024-01-24 11:15:45 +01:00
Miquel-HAW
6fc6132359
dist/tools: exclude_simple added warnings
2024-01-24 09:57:04 +01:00
Miquel-HAW
e755992ac0
boards/feather-nrf52840-sense: Adapt lsm6dsxx params
2024-01-24 09:57:04 +01:00
Miquel-HAW
d45a179a2e
boards/b-l475e-iot01a: Adapt lsm6dsxx params
2024-01-24 09:57:04 +01:00
Miquel-HAW
71169638ca
drivers/lsm6dsxx: Implement common code
2024-01-24 09:57:04 +01:00
benpicco
ded97c36f0
Merge pull request #20285 from benpicco/gnrc_loopback-linklocal
...
gnrc/ipv6: only send link-local loopback if it's on the same interface
2024-01-23 21:48:54 +00:00
Benjamin Valentin
c71b5ae617
nanocoap: implement coap_reply_simple() using coap_build_reply_header()
2024-01-23 19:16:59 +01:00
Benjamin Valentin
158c1b8fa8
nanocoap: add coap_build_reply_header()
2024-01-23 19:16:59 +01:00
Benjamin Valentin
a6ef93fc71
nanocoap: make use of COAP_PAYLOAD_MARKER
2024-01-23 19:16:59 +01:00
7bec6cb0b1
Merge pull request #20288 from kaspar030/fix_check_commits
...
ci: ensure "xxx succeeded" properly fail
2024-01-23 17:04:05 +00:00
Marian Buschsieweke
2bf461117b
Merge pull request #20291 from maribu/cpu/sam0_common/fix-doc
...
cpu/sam0_common/periph_gpio_ll: fix doc
2024-01-23 15:10:08 +00:00
Marian Buschsieweke
807fcd7614
cpu/sam0_common/periph_gpio_ll: fix doc
...
Fix some copy-paste bugs in the doc.
2024-01-23 15:51:36 +01:00
Marian Buschsieweke
447493e719
tests/periph/gpio_ll: test for features matching
...
Test that features implemented match the features claimed to be
supported.
2024-01-23 15:03:34 +01:00
Marian Buschsieweke
a1bb536dbd
tests/periph/gpio_ll: structure code a bit
...
When it is difficult to navigate a function, it is overdue to split
it up :D
Also, no need to test for feature `gpio_ll_irq` in `test_irq()` *and*
before calling `test_irq()`.
2024-01-23 15:03:34 +01:00