benpicco
6c96952a9f
Merge pull request #20358 from kaspar030/disable_flakey_native_tests
...
ci: disable some more flakey native tests
2024-02-09 16:12:55 +00:00
mguetschow
de1efc6772
Merge pull request #20344 from Teufelchen1/chore/fmt_test_3
...
tests: Add NULL pointer argument test for fmt_lpad/to_lower/str
2024-02-09 10:41:17 +00:00
Teufelchen1
dbcfa1bdc8
tests: Add NULL pointer argument test for fmt_lpad/to_lower/str
2024-02-09 11:03:05 +01:00
Marian Buschsieweke
2dbc80fe59
Merge pull request #20352 from Enoch247/add-limit-macro
...
macros/utils: add LIMIT() and ABS() macros
2024-02-09 06:06:48 +00:00
Fabian Hüßler
057695bdde
tests/pkg/flashdb: add test for FAL config initialization
2024-02-08 20:48:14 +01:00
Joshua DeWeese
fa7a577728
tests/unittests: add test for ABS() macro
2024-02-08 10:56:11 -05:00
Joshua DeWeese
b1cb2435d8
tests/unittests: add unit test for LIMIT() macro
2024-02-08 10:56:00 -05:00
Joshua DeWeese
8e3bbca8b5
tests/unittests: add tests for MAX()/MIN() macros
2024-02-08 10:55:37 -05:00
Joshua DeWeese
c3a4beb200
treewide: make use of new IPv4 static init macro
...
This commit makes use of the newly added static initializer for IPv4
addresses.
2024-02-08 10:14:24 -05:00
06e359ed38
tests/sys/ztimer_underflow: disable CI test on native(64)
2024-02-07 23:12:16 +01:00
67a14a306c
tests/sys/xtimer_hang: disable CI test on native(64)
2024-02-07 23:12:16 +01:00
b4e9cef7cc
tests/sys/evtimer_underflow: disable CI test on native(64)
2024-02-07 23:12:16 +01:00
5db8682c7c
tests/core/thread_flags: disable CI test on native(64)
2024-02-07 23:12:16 +01:00
c12283edbc
tests/bench/xtimer_load: disable CI test on native(64)
2024-02-07 23:12:16 +01:00
Benjamin Valentin
23c8336485
tests/net/gcoap_fileserver: add atmega1284p to Makefile.ci
2024-02-07 18:44:36 +01:00
benpicco
4d9e8a8dde
Merge pull request #20335 from fzi-haxel/pr/native64-board
...
native64: Separate board for 64-bit native
2024-02-05 22:58:02 +00:00
Frederik Haxel
5ed0bafc92
examples, tests: Changes for the native64 board
...
- Adapted build system and test checks for the native boards to include native64
- Added `native64` to the same tests as `native`
2024-02-05 22:02:14 +01:00
Marian Buschsieweke
8aab69e93d
tests/periph/gpio_ll: Test gpio_ll_switch_dir
2024-02-05 10:56:16 +01:00
Marian Buschsieweke
8bf61336a2
Merge pull request #20290 from maribu/drivers/periph/gpio_ll/features
...
drivers/periph_gpio_ll: Fix GPIO_DISCONNECT handling and add compile time feature checks
2024-02-05 07:30:54 +00:00
Benjamin Valentin
85cfcafdf6
boards/weact-g030f6: add new board
2024-02-05 00:45:42 +01:00
benpicco
22dbbf4a07
Merge pull request #20319 from chrysn-pull-requests/rust-simplifications
...
makefiles/cargo: Remove CARGO_CHANNEL and other simplifications
2024-02-02 08:07:02 +00:00
Marian Buschsieweke
3b3da09ec6
Merge pull request #20313 from maribu/sys/byteorder/cleanup-implementation
...
sys/byteorder: clean up implementation
2024-02-02 05:38:33 +00:00
chrysn
16153d73cc
rust: Selectively update riot-wrappers and -sys
...
This pulls in embedded-nal 0.7 implementations, and (on both crates)
alterations that decouple riot-wrappers from riot-sys and simplify build
system integration, and do away with the need for passing
RIOT_USEMODULE.
2024-02-01 13:53:42 +01:00
e48cbb2cd8
Merge pull request #20324 from maribu/tests/sys/ztimer_overhead
...
tests/sys/timer_overhead: disable test on native in CI
2024-02-01 12:09:43 +00:00
Kevin "Tristate Tom" Weiss
e6844f8d28
Merge pull request #20325 from miri64/tests/enh/lwip-radio-settings
...
tests/pkg/lwip: include default-radio-settings.inc.mk
2024-02-01 09:51:39 +00:00
benpicco
d00fdcb301
Merge pull request #20030 from benpicco/nanocoap_fileserver
...
gcoap_fileserver: rename to nanocoap_fileserver
2024-02-01 09:08:49 +00:00
Marian Buschsieweke
01aa5d8167
tests/sys/timer_overhead: disable test on native in CI
2024-02-01 09:55:55 +01:00
Martine Lenders
fb9b6b9cdc
tests/pkg/lwip: include default-radio-settings.inc.mk
2024-02-01 09:52:22 +01:00
benpicco
4ea27d4c13
Merge pull request #20300 from jparker324/stm32c0_and_nucleo_c031c6
...
cpu/stm32: add support for STM32C0 and NUCLEO-C031C6
2024-01-31 15:09:25 +00:00
Marian Buschsieweke
e5f69206ad
sys/libc/endian.h: fix magic constants
...
The constants BIG_ENDIAN etc. were not consistently defined. This
bug was not caught by the unit tests, as the preprocessor would
treat undefined macros as being `0` in numeric comparisons, hence
the following test did select the correct implementation:
```C
#if BYTE_ORDER == LITTLE_ENDIAN
/* correct implementation for all currently supported boards */
#endif
```
This adds now an explicit test to the unit tests to ensure that the
magic numbers are consistently the correct values. Hence, this bug
should no longer be able to sneak in.
Co-authored-by: Teufelchen <9516484+Teufelchen1@users.noreply.github.com>
2024-01-31 14:46:24 +01:00
Benjamin Valentin
a67f7782ad
tests: add nucleo-c031c6 to Makefile.ci
2024-01-31 13:11:05 +01:00
chrysn
6724884b93
makefiles/rust: Remove CARGO_CHANNEL special casing
...
Back when specific control of the Rust version used with RIOT was
needed, CARGO_CHANNEL was added to explicitly set the Rust version with
consideration for CI special cases.
Rust's mechansims of selecting a toolchain can be used instead now.
2024-01-31 12:25:09 +01:00
Martine Lenders
34fcffe37b
Merge pull request #20170 from miquel-b/lsm6dsxx
...
drivers/lsm6dsxx: refactoring Lsm6dsl into common driver Lsm6dsxx
2024-01-30 19:07:04 +00:00
Benjamin Valentin
c5ac574236
tests/net/gcoap_fileserver: gcoap_fileserver -> nanocoap_fileserver
2024-01-30 16:59:00 +01:00
Jason Parker
a2f4a13beb
boards/nucleo-c031c6 initial add
2024-01-30 10:11:57 -05:00
Marian Buschsieweke
e085ad02af
Merge pull request #20310 from maribu/libc/endian
...
sys/libc: add endian.h
2024-01-30 11:48:45 +00:00
Marian Buschsieweke
6615f47b90
tests/unittests: Add tests for endian.h
2024-01-30 12:24:12 +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
chrysn
55cbb7bdfa
Merge pull request #20303 from chrysn-pull-requests/rust-updates
...
treewide: Rust updates
2024-01-29 19:54:32 +00:00
chrysn
002cd42e26
treewide: cargo update
2024-01-27 09:41:26 +01:00
MrKevinWeiss
780bb5d500
tests/drivers/saul_drivers: Specify lsm6dsl
2024-01-25 09:18:10 +01:00
Miquel-HAW
71169638ca
drivers/lsm6dsxx: Implement common code
2024-01-24 09:57:04 +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
mguetschow
50cf7b77cd
Merge pull request #20272 from Teufelchen1/chore/fmt_test_2
...
tests: Slightly increase coverage of fmt unittests
2024-01-23 12:06:48 +00:00
Teufelchen1
7c39b48847
tests: Slightly increase coverage of fmt unittests
2024-01-23 10:30:49 +01:00
Marian Buschsieweke
63ec7fc7b5
Merge pull request #19835 from maribu/msp430
...
cpu/msp430: rework MSP430 x1xx periph drivers
2024-01-22 18:41:23 +00:00
Marian Buschsieweke
675dcc381c
cpu/msp430: rework MSP430 x1xx periph drivers
...
- Move common code for USART (shared SPI / UART peripheral) to its
own file and allow sharing the USART peripheral to provide both
UART and SPI in round-robin fashion.
- Configure both UART and SPI bus via a `struct` in the board's
`periph_conf.h`
- this allows allocating the two UARTs as needed by the use case
- since both USARTs signals have a fixed connection to a single
GPIO, most configuration is moved to the CPU
- the board now only needs to decide which bus is provided by
which USART
Note: Sharing an USART used as UART requires cooperation from the app:
- If the UART is used in TX-only mode (no RX callback), the driver
will release the USART while not sending
- If the UART is used to also receive, the application needs to power
the UART down while not expecting something to send. An
`spi_acquire()` will be blocked while the UART is powered up.
2024-01-22 16:59:23 +01:00
Marian Buschsieweke
3159578cbe
Merge pull request #20189 from maribu/cpu/sam0_common/periph_gpio_ll
...
cpu/sam0_common: implement periph_gpio_ll and periph_gpio_ll_irq
2024-01-22 15:39:26 +00:00