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

5809 Commits

Author SHA1 Message Date
3676b63583
Merge pull request #17447 from gschorcht/sys/arduino_serial_stdio
sys/arduino: add Serial over stdio support
2022-01-07 18:04:35 +01:00
b0489b74ed
tests/pkg_qr-code-generator: adapt for stm32f746g-disco screen 2022-01-07 14:32:24 +01:00
9f4d6da505
tests/disp_dev: adjust buffer size when LCD_SCREEN_WIDTH is set 2022-01-07 14:32:24 +01:00
ed16fe60e4
tests/periph_ltdc: add test application 2022-01-07 14:32:24 +01:00
chrysn
70726d46ab {examples,tests}/rust*: Blacklist ek-lm4f120xl board
Something in C2Rust mistranspiles around LED_PORT; disabling the board
for all Rust examples/tests.
2022-01-07 14:26:30 +01:00
chrysn
50f8ed3f72 {examples,tests}/rust*: Update Cargo.toml
This pulls in adjustments to the C-nonbreaking but Rust-breaking API
change in https://github.com/RIOT-OS/RIOT/pull/17359

cstr_core is forcibly kept at 0.2.4 because 0.2.5 needs a newer nightly
than riotdocker currently has.
2022-01-07 14:19:36 +01:00
f279a66d82
tests/sys_crypto_aes_ccm: use CIPHER_AES instead of CIPHER_AES_128 2022-01-07 11:13:38 +01:00
Marian Buschsieweke
68424a924c
core: Add IS_CT_CONSTANT()
This adds a simple macro to check (at C level) whether a given
expression is proven to be compile time constant and suitable for
constant folding. This allows writing code like this:

```C
int gpio_read(gpio_t pin) {
    if (IS_CT_CONSTANT(pin)) {
        /* this implementation should even be able to use the port and
         * pin number as immediate in inline assembly */
    }
    else {
        /* less efficient implementation that cannot use port and pin
         * number as immediate in inline assembly */
    }
}
```
2022-01-06 23:30:56 +01:00
Benjamin Valentin
96f4fd6273 tests/pkg_fatfs_vfs: avoid conflict with boards defining mtd1 2022-01-06 18:24:00 +01:00
Gunar Schorcht
725472cbc4 sys/arduino: add Serial over stdio support
If module `arduino_serial_stdio` is used and `ARDUINO_UART_DEV` is `UART_UNDEF`, the STDIO is used for `Serial`. It requires that the used `stdio` backend implements `stdio_available`.
2022-01-06 17:27:53 +01:00
Benjamin Valentin
42df626181 tests/pkg_fatfs{_vfs}: drop whitelist
We have the `FEATURES_REQUIRED` now, no need to whitelist boards with SPI
and GPIOs.
2022-01-06 14:28:38 +01:00
70d7b4eb13
tests/saul_drivers: add saul build test application 2022-01-06 12:23:27 +01:00
2b5ac8d422
Merge pull request #17262 from benpicco/msg_avail-return
core/msg: make msg_avail() return 0 on no queue
2022-01-05 14:13:28 +01:00
0056648581
Merge pull request #17418 from aabadie/pr/drivers/periph_build_enh
drivers/periph_common: build periph module selectively
2022-01-04 14:59:39 +01:00
benpicco
27f3261792
Merge pull request #17432 from benpicco/tests/socket_zep-fix
tests/socket_zep: fix automatic test
2022-01-03 17:25:38 +01:00
d645ea89e9
tests/malloc: increase test timeout for very large mems 2021-12-23 11:04:42 +01:00
Benjamin Valentin
79891e9318 tests/socket_zep: enable test on Murdock
Murdock does not support IPv6, so use IPv4 for the automated test.
2021-12-21 16:53:27 +01:00
Benjamin Valentin
e7be547920 tests/socket_zep: adapt test to API expectations 2021-12-21 16:53:06 +01:00
79df157727
sys: move rtc utility functions to their own module 2021-12-20 13:04:20 +01:00
c9e30b01c0
Merge pull request #16333 from fjmolinas/pr_driver_hm3301
drivers/hm330x: initial commit
2021-12-16 17:56:45 +01:00
chrysn
afdabcf9b6
Merge pull request #16274 from chrysn-pull-requests/rust-application
Add some Rust building infrastructure and example
2021-12-16 16:17:28 +01:00
Francisco Molina
aedec107d4 tests/driver_hm330x: initial import 2021-12-16 15:19:55 +01:00
chrysn
72e4c1803f rust: Add minimal test
Unlike the hello-world example (that is largely identical), this gets
run during CI.
2021-12-16 13:29:30 +01:00
9c71dd7566
Merge pull request #17342 from aabadie/pr/sysclk
sys: introduce sysclk function to retrieve core clock frequency
2021-12-15 15:41:34 +01:00
Francisco
03a004e3c9
Merge pull request #17395 from fjmolinas/pr_cpu_no_rtt
cpu: do not auto-select ztimer_periph_rtt for sam0, fe310
2021-12-15 14:04:57 +01:00
Francisco
fe850e8919
Merge pull request #17357 from kfessel/p-evtimer32
sys/evtimer,ztimer: do not depend on ztimer_now64
2021-12-15 13:24:44 +01:00
ea3c59f41a
tests: use coreclk() instead of CLOCK_CORECLOCK 2021-12-15 13:14:19 +01:00
Marian Buschsieweke
13df2a6231
Merge pull request #17388 from maribu/tests/periph_timer_periodic
tests/periph_timer_periodic: spice up test
2021-12-15 12:55:00 +01:00
Kevin "Tristate Tom" Weiss
e3f6212708
Merge pull request #17355 from leandrolanzieri/pr/boards/samd21/model_kconfig
boards/samd21-based: model Kconfig
2021-12-15 12:35:32 +01:00
Francisco
10165da210
Merge pull request #17308 from aabadie/pr/drivers/mhz19_ztimer
drivers/mhz19: migrate to ztimer
2021-12-15 11:05:16 +01:00
Francisco Molina
600acb756c tests/periph_pm: select ztimer_no_periph_rtt for sam0 boards
For sam0 there is a conflict between rtt and rtc, make resolves
this based on feature conflicts and the feature to be included
depends on dependency resolution.

Kconfig can't rely on order of inclusion therefore ztimer_no_periph_rtt
is implied to aboid ztimer_msec selecting rtt (its the case for BOARDs
using stdio_rtt
2021-12-15 10:31:19 +01:00
Leandro Lanzieri
1dd3b38e6c tests/periph_rtc/kconfig: do not use rtt on ztimer 2021-12-15 10:31:19 +01:00
Francisco
31f5899c56
Merge pull request #17374 from MrKevinWeiss/pr/fix/kconfig/stms2
boards/stm32-based: model Kconfig
2021-12-15 10:29:49 +01:00
29ed101405
Merge pull request #17393 from fjmolinas/pr_kinetis_fix_rtt
cpu/kinetis/include: fix xtimer backend timer selection
2021-12-15 00:01:52 +01:00
Francisco Molina
c2d874e0d0 tests/posix_sleep: remove custom periph_rtt inclusion for ztimer 2021-12-14 23:23:30 +01:00
Karl Fessel
f30433caf6 tests: adds some INSUFFICIENT_MEMORY boards 2021-12-14 22:53:01 +01:00
Karl Fessel
5dfe59b9dc test/pkg_microcoap: depends on xtimer 2021-12-14 22:53:01 +01:00
Karl Fessel
6473c5c1f7 test/gnrc_sock_ip: depends on xtimer 2021-12-14 22:53:01 +01:00
Karl Fessel
9f285f319e test/gnrc_udp: depends on xtimer 2021-12-14 22:53:01 +01:00
Karl Fessel
937efda843 test/evtimer_underflow: test shall not need a blocking timer set
xtimer for short timouts is blocking (spin) this was needed for this test to pass
by sleeping in main we no longer need the timer set to wait
2021-12-14 22:53:01 +01:00
MrKevinWeiss
e6352fd383
drivers/lpsxxx: Allow SAUL_DEFAULT in kconfig 2021-12-14 16:17:06 +01:00
Francisco Molina
9b03d45953 tests/periph_rtt_min: update CPUs with configurable rtt freq 2021-12-14 13:19:15 +01:00
22e5e8d24e tests/bench_ztimer: add port of bench_xtimer 2021-12-14 12:39:17 +01:00
Marian Buschsieweke
1d57cf9e0f
tests/periph_timer_periodic: spice up test
This should detect some bugs regarding incorrect behavior regarding
timer_start() not resuming periodic timers as expected.
2021-12-13 17:11:15 +01:00
7b2ab7d734
Merge pull request #17375 from aabadie/pr/drivers/ztimer_ter
drivers: several cleanups related to xtimer + some ztimer migration
2021-12-12 15:45:08 +01:00
Marian Buschsieweke
5b86d65744
Merge pull request #14364 from gschorcht/fix_ndebug_compilation
Fix NDEBUG compilation problems
2021-12-12 14:39:42 +01:00
Gunar Schorcht
b3de3e27de tests/ieee802154_submac: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Gunar Schorcht
1091c879a0 tests/ieee802154_hal: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Gunar Schorcht
869852de87 tests/gnrc_tx_sync: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Gunar Schorcht
212f982cc7 tests/gnrc_sixlowpan_frag_sfr: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Gunar Schorcht
5733fd7b20 tests/gnrc_sixlowpan_frag_minfwd: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Gunar Schorcht
ab7dcfdfd2 tests/mtd_raw: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
Gunar Schorcht
cfb2ef7de2 tests/bitalgorithm_timings: fix compilation with NDEBUG 2021-12-12 13:18:46 +01:00
c5e28d4ef3
drivers/lis3mdl: fix timer dep + migrate app to ztimer 2021-12-12 10:45:09 +01:00
3e717480ac
drivers/ws281x: pull xtimer module from test application 2021-12-11 17:56:40 +01:00
e1310e3378
drivers/sps30: fix unused include, migrate to ztimer 2021-12-11 17:56:39 +01:00
e71988d22a
drivers/shtc1: migrate to ztimer 2021-12-11 17:56:39 +01:00
097b1970d2
drivers/pulse_counter: migrate to ztimer 2021-12-11 17:56:39 +01:00
38c2ea57aa
drivers/pn532: migrate to ztimer 2021-12-11 17:56:39 +01:00
d9fe3a74e5
drivers/lis2dh12: migrate to ztimer 2021-12-11 16:53:14 +01:00
9d53ed3ebf
drivers/ad7746: migrate to ztimer 2021-12-11 16:53:14 +01:00
d0eb8e2f7b
Merge pull request #17361 from fjmolinas/pr_sdcard_ztimer
drivers/sdcard_spi: convert to ztimer_usec
2021-12-09 17:44:48 +01:00
Francisco
b52a8857eb
Merge pull request #17368 from kaspar030/fix_ztimer64_uninitialized_timer_crash
sys/ztimer64: make _del_entry_from_list() safe for uninit ztimer64_t
2021-12-09 16:51:06 +01:00
Gunar Schorcht
8cd0aef67e tests/lwip_sock_udp: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
Gunar Schorcht
cae2448aad tests/lwip_sock_ip: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
Gunar Schorcht
628b343a05 tests/gnrc_sock_udp: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
Gunar Schorcht
2b9de489bd tests/gnrc_sock_ip: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
Gunar Schorcht
902203fa93 tests/gnrc_ipv6_ext_frag: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
Gunar Schorcht
ff4641ec36 tests/candev: fix compilation with NDEBUG 2021-12-09 16:44:19 +01:00
Karl Fessel
6347dcdffc
Merge pull request #17141 from kfessel/p-ztimer-gcoap
net/gcoap: port to ztimer
2021-12-09 15:22:10 +01:00
Francisco
7362074f49
Merge pull request #17235 from leandrolanzieri/cpu/kinetis/model_kconfig
cpu/kinetis: model kconfig
2021-12-09 14:22:10 +01:00
835db7d97f tests/unittests: add ztimer64 regression test 2021-12-09 14:10:16 +01:00
Francisco Molina
97472047d7 tests/driver_io1_xplained: use ztimer 2021-12-09 14:00:39 +01:00
Francisco
e8d8759a69
Merge pull request #17358 from aabadie/pr/drivers/ztimer_bis
drivers: migrate mpu9x50 and si70xx to ztimer
2021-12-09 10:39:52 +01:00
d959ce7eea
Merge pull request #16928 from kaspar030/ztimer64
sys/ztimer64: initial PR
2021-12-09 10:17:15 +01:00
5c99f951cd
Merge pull request #17315 from aabadie/pr/drivers/ztimer
drivers: migrate some drivers to ztimer
2021-12-09 09:49:47 +01:00
3a8a543a0c
drivers/mpu9x50: migrate to ztimer 2021-12-09 09:32:31 +01:00
f4474ed817
drivers/si70xx: migrate to ztimer 2021-12-09 09:32:31 +01:00
benpicco
e8cbf1ea90
Merge pull request #16681 from benpicco/drivers/dose-collision
drivers/dose: make use of UART collision detection feature
2021-12-08 20:48:28 +01:00
Benjamin Valentin
780e87325b tests/driver_dose: use USEMODULE += 2021-12-08 17:35:00 +01:00
Benjamin Valentin
9f63f80747 tests/periph_uart: add test for periph_uart_collision feature 2021-12-08 17:35:00 +01:00
Karl Fessel
08ef57fbd0
Merge pull request #16126 from kfessel/p-mix-schedrr
sys/sched_rr: Add a round robin scheduler module
2021-12-08 16:01:57 +01:00
2a1be13f17
drivers/ccs811: migrate to ztimer 2021-12-08 15:15:30 +01:00
1acdec389e
drivers/lsm6dsl: migrate to ztimer 2021-12-08 15:15:30 +01:00
40a1dcb35b
drivers/tsl2561: migrate to ztimer 2021-12-08 15:15:30 +01:00
aa65feab25
drivers/si114x: migrate to ztimer 2021-12-08 15:15:30 +01:00
0076eb83fc
drivers/stmpe811: migrate to ztimer 2021-12-08 15:15:30 +01:00
Leandro Lanzieri
15165bfdf7
Merge pull request #17299 from fjmolinas/pr_nrf52_boards_kconfig
boards: model nrf52 boards
2021-12-08 14:45:03 +01:00
Francisco Molina
766bfeace4 boards: model nrf52 boards 2021-12-08 13:25:29 +01:00
Francisco Molina
39cfa43262 drivers/apds99xx/Kconfig: fix multimodel selection 2021-12-08 13:25:26 +01:00
Francisco Molina
2dab9eeb32 drivers/lpsxxx: fix variant selection 2021-12-08 13:25:26 +01:00
Karl Fessel
2594032163 test/sys_sched_round_robin: use sleep instead of mutex
to avoid priority-inversion screwing up the test
2021-12-08 13:14:27 +01:00
Karl Fessel
fc3f5f562b test/sys_sched_round_robin: add test for sys_sched_round_robin
with README.md
2021-12-08 13:13:48 +01:00
Francisco
b96f94bfb8
Merge pull request #17037 from MrKevinWeiss/pr/tests/turo
tests/turo_txt: Basic test for txt turo variant
2021-12-08 11:10:47 +01:00
86efedd786 tests/ztimer64_msg: initial commit 2021-12-08 10:33:37 +01:00
Gunar Schorcht
739fbf41fb drivers/mcp47xx: add Kconfig 2021-12-08 05:42:07 +01:00
Gunar Schorcht
1aa3584786 tests/driver_mcp47xx: add test app for MCP47xx driver 2021-12-08 05:42:07 +01:00
Benjamin Valentin
64bd80d389 ztimer_periodic: make callback function return bool
The callback function of `ztimer_periodic` is only expected to have
two states.
So let it return `true` if the timer should keep repeating, `false`
otherwise.
2021-12-08 00:10:55 +01:00
benpicco
536f7e23c8
Merge pull request #17276 from fjmolinas/pr_event_periodic_count
sys/include/event/periodic: add count
2021-12-08 00:09:57 +01:00
1830d8bd1c tests/unittests: add ztimer64 unittests
Co-authored-by: Francisco Molina <femolina@uc.cl>
2021-12-07 23:57:56 +01:00
Francisco
97b4dd3a57
Merge pull request #17216 from bergzand/pr/ps_schedstatistics/ztimer
schedstatistics: Convert to ztimer
2021-12-07 20:22:58 +01:00
Francisco Molina
7d084a43ff sys/include/event/periodic: add count 2021-12-07 19:42:32 +01:00
Benjamin Valentin
84135ede91 tests/ieee802154_hal: fix default RNG selection 2021-12-07 19:08:49 +01:00
José Alamos
ce8cda2fd8
Merge pull request #16932 from benpicco/socket_zep-hal
socket_zep: port to radio HAL
2021-12-07 18:24:33 +01:00
Francisco
9e5facf3b2
Merge pull request #17122 from bergzand/pr/stdio_rtt/ztimer
stdio_rtt: Convert to ztimer
2021-12-07 17:08:38 +01:00
d69ab922e4
Merge pull request #17347 from fjmolinas/pr_ucglib_sdl
tests/pkg_ucglib: add missing function declaration
2021-12-07 16:56:01 +01:00
a6910f1660
tests/periph_spi: Convert to ztimer 2021-12-07 16:31:15 +01:00
7015392170
tests/ps_schedstatistics: Generate load using ztimer 2021-12-07 16:31:15 +01:00
Leandro Lanzieri
e04169d2d6
drivers/tmp00x/kconfig: rework modelling 2021-12-07 11:32:16 +01:00
11ac994224
test/unittest: no auto ztimer_periph_rtt 2021-12-07 10:07:55 +01:00
Francisco Molina
3bea71affd
tests/event: fix ztimer_usec ifdef 2021-12-07 10:04:04 +01:00
1e5f84ef71
tests/periph_adc: migrate to ztimer 2021-12-07 09:28:58 +01:00
Francisco
6749b71066
Merge pull request #17337 from HendrikVE/pr/tsrb_init
sys/tsrb: add tsrb_clear
2021-12-07 09:20:22 +01:00
Francisco
de7df7201a
Merge pull request #17309 from aabadie/pr/pkg/ztimer
pkg: migrate some packages to ztimer
2021-12-07 09:13:39 +01:00
Francisco Molina
d6ae3705c0 tests/pkg_ucglib: add missing function declaration 2021-12-07 09:13:31 +01:00
3ca1a10217
Merge pull request #17319 from aabadie/pr/sys/trace_ztimer
sys/trace: migrate to ztimer
2021-12-06 23:07:04 +01:00
Karl Fessel
d7d1f7acad test/unittest: init ztimer, work around ztimer_t uint64_t 2021-12-06 13:31:18 +01:00
Karl Fessel
0433548346 test/unittest: no auto ztimer_periph_rtt 2021-12-06 13:31:18 +01:00
Hendrik van Essen
de4b32ef54 sys/tsrb: add tsrb_clear 2021-12-06 11:53:59 +01:00
2e0c02b25d
Merge pull request #17340 from gschorcht/driver/fix_css811_read_status
driver/css811: fix read status
2021-12-04 17:41:02 +01:00
benpicco
0646862421
Merge pull request #10430 from gschorcht/drivers_pcf857x
drivers: add PCF857X I2C I/O expander driver
2021-12-04 16:57:01 +01:00
Gunar Schorcht
4d3cc8d2d2 tests: add PCF957X driver test application 2021-12-04 14:11:04 +01:00
Gunar Schorcht
23724816be tests/drivers_ccs811: small cleanups in documentation 2021-12-04 13:43:31 +01:00
7cf93cb78b
tests/trace: add Kconfig 2021-12-04 12:03:14 +01:00
529cc2d9ad
Merge pull request #17329 from miri64/ieee802154/fix/resv-src
ieee802154 / tests/unittests: fix all-asan reported errors
2021-12-04 02:27:27 +01:00
8329112c45
Merge pull request #17088 from fjmolinas/pr_stmpe811_spi
drivers/stmpe811: add spi mode
2021-12-03 21:37:46 +01:00
Francisco
3afa47d8f2
Merge pull request #14955 from maribu/cflags-cast-align
makefiles/cflags.inc.mk: Add -Wcast-align
2021-12-03 17:47:24 +01:00
Francisco Molina
e17fe0aee2 drivers/stmpe811: add spi mode 2021-12-03 17:12:03 +01:00
Francisco
6475609440
Merge pull request #17323 from maribu/tests/malloc
tests/malloc: fix counting bugs
2021-12-03 12:01:49 +01:00
Francisco
5ba215f9c5
Merge pull request #16843 from haukepetersen/add_nimble_scannerext
nimble_scanner: rework to enable scanning BLE5 PHYs and extended advertisements
2021-12-03 12:00:10 +01:00
Martine Lenders
7631dd19fc
tests/unittests: fix test vectors
In the tests fixed in this commit, the header tells that there is a PAN
ID in the header, but no PAN ID was provided in the test vector. This
amends the test vector with the PAN ID (as done in other tests in this
test suite) and adds a check if the PAN was correct.
2021-12-03 11:32:29 +01:00
Marian Buschsieweke
3a07baf8e6
tests/pkg_utensor: fix alignment bug 2021-12-03 10:12:38 +01:00
Marian Buschsieweke
588126115c
tests/pkg_emlearn: fix compilation with -Wcast-align 2021-12-03 10:12:37 +01:00
Marian Buschsieweke
afdaa2fed9
tests/pkg_openwsn_sock_udp: silence -Wcast-align 2021-12-03 10:12:36 +01:00
Marian Buschsieweke
e4c627d252
tests/pkg_cmsis-nn: add -Wno-cast-align
This should be reverted and properly fixed.
2021-12-03 10:12:36 +01:00
Marian Buschsieweke
a6ceeec29f
tests/malloc: fix counting bug
There is a corner cases in which the counting of allocated memory
previously was wrong: When the allocation of the chunk succeeded but the
allocation of the next struct  node fails. This was relatively unlikely
to happen, as the chunk size was much bigger than the memory required by
the struct node. But it happens on the ESP32 boards resulting in failing
nightlies. This fixes the issue.
2021-12-03 10:09:46 +01:00
Francisco
1ec9bfdec4
Merge pull request #17287 from leandrolanzieri/pr/sys/vfs/model_kconfig
sys/vfs: model Kconfig
2021-12-03 09:11:57 +01:00
Hauke Petersen
853395cd8e tests: add test for NimBLE ext adv scanner config 2021-12-02 23:31:33 +01:00
Francisco
fea525f019
Merge pull request #17286 from leandrolanzieri/pr/sys/log/model_kconfig
sys/log: model Kconfig
2021-12-02 15:42:30 +01:00
b6cc07009f
Merge pull request #17284 from fjmolinas/pr_ztimer_no_periph_rtt
sys/ztimer: add 'ztimer_no_periph_rtt'
2021-12-02 11:02:24 +01:00
Leandro Lanzieri
59130252de
tests/log_printfnoformat: add kconfig configuration 2021-12-02 09:41:46 +01:00
Leandro Lanzieri
983d2d2a9c
tests/log_color: add kconfig configuration 2021-12-02 09:41:46 +01:00
Francisco Molina
84ba92a99b tests: remove uneeded explicit inclusion of ztimer_periph_rt* 2021-12-02 07:54:38 +01:00
Gunar Schorcht
d13da373f8 tests/periph_gpio: cleanup ztimer dependency
Module benchmark already pulls in ztimer_usec. It is not necessary to pull it in again in application.
2021-12-02 07:04:06 +01:00
24ff8f7ece
pkg/ucglib: migrate to ztimer 2021-12-01 17:54:55 +01:00
4f3a61c7dc
pkg/u8g2: migrate to ztimer 2021-12-01 17:54:55 +01:00
25d1e2daa2
pkg/driver_bme680: migrate to ztimer 2021-12-01 17:54:55 +01:00
Marian Buschsieweke
48fc63e0ae
Merge pull request #17294 from benpicco/doc-ping
doc: replace ping6 with ping
2021-12-01 17:00:09 +01:00
19018760a5
drivers/mhz19: migrate to ztimer 2021-12-01 14:32:41 +01:00
Leandro Lanzieri
eb4bbb86d3
tests/pkg_fatfs_vfs: adapt test to work with mtd_mci and SD card 2021-12-01 11:15:16 +01:00
Leandro Lanzieri
7b35d6e0f0
drivers/sht1x: rework Kconfig 2021-12-01 10:14:35 +01:00
d3666102db
Merge pull request #17283 from MrKevinWeiss/pr/fix/fstring/nightly
tests/*: Fix nightly failures due to f-string
2021-12-01 08:54:19 +01:00
benpicco
207964265a
Merge pull request #17188 from benpicco/sys/random-musl_lcg-default
sys/random: default to musl LCG instead of TinyMT
2021-11-30 23:28:48 +01:00
Marian Buschsieweke
44ebc38cac
Merge pull request #17292 from kaspar030/base64url_tmp_buffer
tests/unittests/tests-base64: enlarge test buffer for worst case
2021-11-30 09:13:37 +01:00
Gunar Schorcht
8794b357a1
Merge pull request #17289 from leandrolanzieri/pr/drivers/sx126x/kconfig/rework
drivers/sx126x/Kconfig: rework model selection
2021-11-30 06:01:01 +01:00
benpicco
05b9c84369
Merge pull request #17255 from MrKevinWeiss/pr/kconfig/sam54
.murdock: Add same54-xpro to kconfig tests
2021-11-29 23:22:23 +01:00
Benjamin Valentin
a23fa5253f doc: replace ping6 with ping 2021-11-29 17:32:37 +01:00
Benjamin Valentin
87e0032902 tests: default to musl LCG 2021-11-29 13:46:26 +01:00
a4575507c1 tests/unittests/tests-base64: enlarge test buffer for worst case 2021-11-29 13:24:40 +01:00
Benjamin Valentin
b5ea78ad47 core/msg: make msg_avail() return 0 on no queue
For the caller there should be no difference if there is no message
in the queue and if there can't be a message in the queue.

The current API works as one would expect if there is a message queue,
but once called from a thread that does not have a message queue
configured, code that does

    while (msg_avail())

will end up in an infinite loop.

Remove this foot-gun from the API by making the return value of
msg_avail() independend of the availability of a message queue.
2021-11-29 12:04:16 +01:00
benpicco
c84a40abc4
Merge pull request #17275 from gschorcht/drivers/periph_i2c_acquire_void
drivers/periph_i2c: let i2c_acquire return void
2021-11-29 11:44:59 +01:00
Leandro Lanzieri
f979ec5812
drivers/sx126x/Kconfig: rework model selection 2021-11-29 10:45:10 +01:00
Leandro Lanzieri
fe2d239a0c
tests/vfs_plus_stdio: add Kconfig configuration 2021-11-29 10:33:56 +01:00
Kevin "Tristate Tom" Weiss
7f649aa505
Merge pull request #17270 from leandrolanzieri/pr/boards/saml21/model_kconfig
boards/saml21-based: model kconfig
2021-11-29 09:57:15 +01:00
MrKevinWeiss
7c2311534c
tests/thread_pthread_barrier: Remove f string in test
This causes nightlies to fail as the HiL test runners don't have python3.6+
2021-11-29 09:29:06 +01:00
MrKevinWeiss
5a3f08e75b
tests/thread_float: Remove f string in test
This causes nightlies to fail as the HiL test runners don't have python3.6+
2021-11-29 09:28:35 +01:00
MrKevinWeiss
fba9cad987
periph/gpio: Model TAMPER_WAKE for kconfig 2021-11-29 09:12:28 +01:00
MrKevinWeiss
51f92fa816
drivers/periph_spi: Kconfig SPI_ON_QSPI model 2021-11-29 09:12:27 +01:00
Gunar Schorcht
b7dda22d6e tests: update to new I2C API 2021-11-29 06:35:25 +01:00
Leandro Lanzieri
d962787043
Merge pull request #17274 from fjmolinas/pr_kconfig_nrf51
cpu/nrf51: model kconfig
2021-11-26 12:55:27 +01:00
Leandro Lanzieri
e44ff31560
drivers/sx127x/kconfig: rework modelling 2021-11-26 11:06:50 +01:00
Francisco Molina
b69513a58f tests/board_calliope-mini: merge into tests/microbit, add Kconfig 2021-11-26 10:39:40 +01:00
Francisco Molina
2ec6a00734 tests/saul: add Kconfig 2021-11-26 10:39:40 +01:00
Francisco Molina
56b14d5e80 boards/calliope-mini: add nrf51 common dependencies 2021-11-26 08:48:23 +01:00
Francisco
16b881dcff
Merge pull request #17266 from fjmolinas/pr_tsrb_peek
sys/tsrb: add peek functions
2021-11-26 08:20:34 +01:00
Erik Ekman
46f599c1a9 tests/fault_handler: Suppress cppcheck errors
This code is supposed to hit the null pointer.

tests/fault_handler/main.c:43: error (nullPointer): Null pointer dereference: (volatile unsigned int*)(0x00000000u)
tests/fault_handler/main.c:44: error (nullPointer): Null pointer dereference: (volatile unsigned int*)(0x00000000u)
2021-11-25 13:08:51 +01:00
Erik Ekman
c0004920ec tests/malloc: Fix cppcheck error
tests/malloc/main.c:123: error (preprocessorErrorDirective): Bad suppression attribute '(should'.
You can write comments in the comment after a ; or //. Valid suppression attributes; symbolName=sym
2021-11-25 11:13:30 +01:00
Erik Ekman
0de8bfaadc
Merge pull request #17175 from yarrick/dualstack
pkg/lwip: Don't control IPv6 via IPv4 flag
2021-11-25 00:59:07 +01:00
Francisco Molina
857f3c3c51 sys/tsrb: add peek functions 2021-11-24 17:54:44 +01:00
Marian Buschsieweke
45add49342
Merge pull request #17195 from maribu/tests/unittests
tests/unittests: fix unaligned access
2021-11-24 08:04:40 +01:00
Marian Buschsieweke
3bb5588b28
Merge pull request #17256 from maribu/sys/atomic_utils
sys/atomic_utils: add atomic_{load,store}_ptr()
2021-11-23 18:15:31 +01:00
6c8181aa7e
Merge pull request #17110 from aabadie/pr/drivers/dsp0401_ztimer
drivers/dsp0401: migrate to ztimer
2021-11-23 17:03:28 +01:00
f47db6f2c2
drivers/dsp0401: migrate to ztimer 2021-11-23 15:58:56 +01:00
Marian Buschsieweke
c360b13e60
tests/sys_atomic_utils_unittests: Extend test coverage 2021-11-23 14:24:15 +01:00
Kevin "Tristate Tom" Weiss
e0b8238e79
Merge pull request #17106 from kaspar030/fmt_s32_dfp_tenmap_independance
sys/fmt: make fmt_s32_dfp() string based
2021-11-23 12:51:17 +01:00
2902e31ff8 tests/unittests/tests-fmt: add large scale test for fmt_s32_dfp() 2021-11-22 14:11:02 +01:00
Leandro Lanzieri
7036388769
drivers/periph_common: add RTC ms module to Kconfig 2021-11-22 12:25:57 +01:00
Leandro Lanzieri
3bdbd67b70
tests/driver_ili9341: add NO_RIOT_IMAGE option to Kconfig 2021-11-22 12:25:57 +01:00
638b86e749
Merge pull request #17243 from benpicco/random_cmd
sys/shell: hide random commands behind random_cmd pseudo-module
2021-11-22 10:24:25 +01:00
MrKevinWeiss
4337f97662
tests/turo_txt: Add turo_txt tests 2021-11-22 09:30:01 +01:00
Wouter Symons
5055d0993e drivers/dht: correct interpreting raw values 2021-11-20 14:55:02 +01:00
benpicco
9e8d718a43
Merge pull request #17178 from aabadie/pr/pkg/lz4
pkg/lz4: add support for LZ4 compression/decompression
2021-11-19 17:48:57 +01:00
Benjamin Valentin
f362a19eed sys/shell: hide random commands behind random_cmd pseudo-module
These commands cost 248 bytes of memory, we don't want to always
include them when the `random` module is selected.
2021-11-19 16:53:46 +01:00
0ee3a00f62
tests: add test application for lz4 package 2021-11-19 11:39:37 +01:00
benpicco
09e0692a85
Merge pull request #17201 from bergzand/pr/nrf5x/periph_qdec
nrf5x_common: Add qdec peripheral implementation
2021-11-18 22:30:58 +01:00
benpicco
24aa7eb6bf
Merge pull request #17191 from benpicco/drivers/periph-byte_type
drivers/periph: use uint_fast8_t as default type
2021-11-18 17:21:55 +01:00
73c286b472
Merge pull request #17179 from aabadie/pr/pkg/uzlib
pkg/uzlib: add support for zlib compression/decompression
2021-11-18 14:51:03 +01:00
f123341057
tests/periph_qdec: Add modded qdec-enabled nrf52840dk variant 2021-11-18 14:23:30 +01:00
Leandro Lanzieri
c5f9d50a57 socket_zep: add Kconfig 2021-11-18 14:17:29 +01:00
Benjamin Valentin
2a12820dc6 tests/gnrc_netif_ieee802154: explicitely use netdev 2021-11-18 11:51:14 +01:00