795b71f7bf
Merge pull request #17480 from aabadie/pr/sys/crypto_aes_cipher_removal
...
sys/crypto: remove deprecated CIPHER_AES_128
2022-01-08 02:18:23 +01:00
5083061995
Merge pull request #17273 from maribu/core/IS_CT_CONSTANT
...
core: Add IS_CT_CONSTANT()
2022-01-08 00:21:07 +01:00
a082d2dd7a
Merge pull request #17478 from benpicco/tests/pkg_fatfs-drop_whitelist
...
tests/pkg_fatfs{_vfs}: drop whitelist
2022-01-07 18:57:52 +01:00
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