1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

5948 Commits

Author SHA1 Message Date
Karl Fessel
e440929f8d tests: add missing includes 2022-02-28 14:53:08 +01:00
Francisco Molina
6bb9656344 tests/lvgl*: add more stack for native 2022-02-28 10:23:06 +01:00
Francisco
3aeba84820
Merge pull request #17681 from aabadie/pr/pkg/lvgl-v8
pkg/lvgl: bump to 8.2.0
2022-02-28 09:41:37 +01:00
benpicco
bbfa69153e
Merge pull request #17474 from benpicco/nanocoap-suit
sys/net/nanocoap: introduce `nanocoap_sock_*()`, use in suit/transport/coap
2022-02-27 02:07:50 +01:00
benpicco
6cfbec4f8e
Merge pull request #10518 from gschorcht/drivers_mcp47xx
drivers: support for Microchip MCP47xx DAC devices added
2022-02-26 22:13:41 +01:00
benpicco
d5f570c28b
Merge pull request #17703 from benpicco/pkg/nanors
pkg/nanors: add reed solomon codec implementation
2022-02-26 19:35:44 +01:00
Benjamin Valentin
8c1ba69f33 tests/pkg_nanors: add test for nanors 2022-02-26 11:09:14 +01:00
Benjamin Valentin
7f31b86a51 tests/gnrc_rpl: add automated test for gnrc_rpl 2022-02-25 20:32:15 +01:00
f35c348722
tests/pkg_lvgl: adapt to new lvgl version 2022-02-25 14:24:28 +01:00
0a33a08f21
pkg/lvgl: bump to v8.2.0
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
2022-02-25 14:24:28 +01:00
chrysn
433d7ba2a5 {examples,tests}/rust: cargo update
This restores compatibility with current nightlies by using the latest
coap-message version (after a nightly-only feature that uses saw a late
change), and also removes obstacles for use with stable Rust 1.59 (in
unrelated parts; the CoAP example is still nightly-only).

Contributes-To: https://github.com/RIOT-OS/RIOT/issues/17526
2022-02-25 12:57:55 +01:00
Benjamin Valentin
e56d744069 tests: make use of nanocoap_request_simple() 2022-02-24 12:20:05 +01:00
Benjamin Valentin
2106ce4212 tests/nanocoap_cli: add url command 2022-02-24 12:20:05 +01:00
Francisco Molina
46fe917388 tests/xtimer_drift: add missing dependency 2022-02-24 09:10:58 +01:00
c6151226ad
Merge pull request #17633 from fjmolinas/pr_ztimer_auto_adjust
sys/ztimer: add auto_adjust module
2022-02-23 10:01:05 +01:00
Benjamin Valentin
784009cb6c tests/lwip_sock_udp: add test for sock_udp_sendv() 2022-02-22 10:05:41 +01:00
Benjamin Valentin
489434b951 test/gnrc_udp: add test for sock_udp_sendv() 2022-02-22 10:05:41 +01:00
Fabian Hüßler
2775c72018 tests/driver_vbat: add test for backup battery monitoring 2022-02-21 10:49:43 +01:00
Francisco
dd150fe47e
Merge pull request #17584 from benpicco/auto_init_leds
sys/auto_init: add auto_init_leds, drop LED init code from boards
2022-02-18 19:40:50 +01:00
Benjamin Valentin
468ea89953 boards: drop LED init
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
Francisco Molina
a8006a74f8 tests/ztimer_overhead: add ztimer_sleep overhead 2022-02-18 13:07:49 +01:00
chrysn
40f7c66625
Merge pull request #17660 from chrysn-pull-requests/vfs-drop-per-fs-fstatvfs
vfs: Introduce reliable disk enumeration
2022-02-17 18:47:41 +01:00
Francisco
e58af6a876
Merge pull request #17619 from benpicco/drivers/mtd_sdcard-unaligned
drivers/mtd_sdcard: support unaligned reads & writes
2022-02-17 10:09:06 +01:00
chrysn
f0e80ee10c tests: Cover vfs_iterate_mount_dirs in a new test
... adding precision to the documentation where a corner case was
discovered during testing and is permitted.

The test is too large for one small board, just like the other existing
VFS test.
2022-02-16 19:15:02 +01:00
benpicco
22a3fc7e8d
Merge pull request #14430 from benpicco/pkg/fatfs_format
pkg/fatfs: fatfs_vfs: wire up format()
2022-02-16 17:22:19 +01:00
Benjamin Valentin
0b4d5d7f91 tests/mtd_raw: enable SD card erase 2022-02-16 16:54:13 +01:00
benpicco
130eb427af
Merge pull request #17649 from ML-PA-Consulting-GmbH/fix/20220214__tests_slip
tests/slip: homogenize CFLAGS in Makefile with slipdev driver
2022-02-16 16:07:12 +01:00
Benjamin Valentin
9f4fa5ac99 tests/pkg_fatfs_vfs: format storage before running the test 2022-02-16 14:30:08 +01:00
Karl Fessel
726c461cb5
Merge pull request #17574 from kfessel/p-fix-asserth
core/assert: avoid including panic.h with assert.h
2022-02-15 11:57:55 +01:00
chrysn
1c3a646936
Merge pull request #17653 from benpicco/cpu/native-fatfs_defaults
boards/native: select MTD defaults for FAT
2022-02-15 09:03:21 +01:00
Daniel Lockau
3793bd2a73 tests/slip: remove redundant slipdev_params.h 2022-02-14 20:03:18 +01:00
Benjamin Valentin
315342ea10 tests/pkg_fatfs*: don't overwrite native MTD defaults 2022-02-14 15:11:52 +01:00
Francisco Molina
08dc06d5e0 sys/Makefile.dep: fix dhcp_relay dependency
Modules select by auto-init modules MUST NOT have dependencies
themselfs, dhcp_relay was not respecting that. Instead of having
the auto-init module select dhcp_relay, do it the other way
around.
2022-02-14 12:59:31 +01:00
Daniel Lockau
d73ce591b2 tests/slip: homogenize CFLAGS with slipdev driver 2022-02-14 12:36:39 +01:00
806e7dee9a tests/periph_flashpage: fix conditional compilation 2022-02-12 22:41:12 +01:00
Karl Fessel
76e0d53068 test/sys_architecture: include kernel_defines.h 2022-02-12 18:30:58 +01:00
Karl Fessel
a0ecb4ec81 test/nanocoap_cli: include kernel_defines.h 2022-02-12 18:30:58 +01:00
Francisco Molina
a0ec1e0789 tests/senml: do no include saul_default 2022-02-11 17:04:27 +01:00
Silke Hofstra
9d61bdbb06 sys/senml: add SenML modules
Add a basic SenML module and submodules with support for:

- Encoding SenML values as CBOR using NanoCBOR.
- Converting from Phydat to SenML.
- Reading and encoding SAUL sensors.
2022-02-11 12:38:21 +01:00
benpicco
c423148bbc
Merge pull request #17608 from benpicco/drivers/ethos-standalone
drivers/ethos: fix build without ethos_stdio
2022-02-10 13:07:11 +01:00
Kevin "Tristate Tom" Weiss
d97eed54a1
Merge pull request #17525 from fjmolinas/pr_esp_compile_test_boards
[POC] tests/external-boards: add esp compile test boards
2022-02-10 08:31:12 +01:00
benpicco
be45400631
Merge pull request #17341 from benpicco/vfs-mtd_cleanup
sys/vfs: add file-system auto-mount
2022-02-09 21:50:34 +01:00
Marian Buschsieweke
899635425b
Merge pull request #17625 from fjmolinas/pr_event_callback_init
sys/event/callback: in init set list_node.next to NULL
2022-02-09 21:01:43 +01:00
Francisco Molina
a5aa9486dd tests/periph_i2c: include esp ci compile test boards 2022-02-09 16:50:04 +01:00
Francisco Molina
4e72d1733a tests/external_board_dirs: add esp ci boards
This adds esp board clones for compile testing
2022-02-09 16:50:04 +01:00
67bec026bb tests/xtimer_remove: springle some xtimer_is_set() calls 2022-02-09 12:54:47 +01:00
Benjamin Valentin
ae06265de0 pkg/fatfs: VFS: internally handle fatfs_mtd_devs
This makes FAT behave more like the other file systems supported by VFS.
The `fatfs_mtd_devs` array is populated internally so the application does
not have to handle this.
2022-02-09 12:21:53 +01:00
Benjamin Valentin
fe4efcacfb tests/mtd_flashpage: make use of mtd_flashpage_t 2022-02-08 17:14:56 +01:00
Francisco Molina
ae1fd5260c tests/events: use event_callback_init() once 2022-02-08 16:07:15 +01:00
benpicco
7dca88b038
Merge pull request #17623 from benpicco/pkg/littlefs-readdir
pkg/littlefs*: align readdir() with documentation
2022-02-08 12:34:26 +01:00
Benjamin Valentin
79d342a576 tests/pkg_littlefs*: align test with documentation 2022-02-08 10:10:17 +01:00
Francisco
bd5ab86834
Merge pull request #17606 from PeterKietzmann/pr_test_mbedtls_opt
tests/pkg_mbedtls: improve entropy test case and doc
2022-02-08 08:48:38 +01:00
Francisco
0d14b086d3
Merge pull request #17211 from NikLeberg/feature/external_pkg_dirs
buildsystem: add EXTERNAL_PKG_DIRS functionality
2022-02-07 14:46:08 +01:00
Benjamin Valentin
f70ff62485 tests/driver_ethos: add ethos compile test 2022-02-06 18:23:22 +01:00
benpicco
4aa90d3dc6
Merge pull request #16919 from maribu/core/rmutex
core/rmutex: use atomic utils
2022-02-04 11:56:05 +01:00
Francisco
dbae3ed706
Merge pull request #16860 from haukepetersen/add_nimble_netifextadv
nimble/netif: add support for BT5 PHY modes
2022-02-04 11:16:11 +01:00
Francisco
14f22c17aa
Merge pull request #12012 from HendrikVE/nimble_shell_module
sys/stdio_nimble: add new stdio module using nimble
2022-02-04 11:10:17 +01:00
PeterKietzmann
4a4b5e127a Revert "tests/pkg_mbedtls-blacklist: blacklist samr21-xpro"
This reverts commit 3c6241b8f4.
2022-02-02 17:44:42 +01:00
PeterKietzmann
02cbea0e67 tests/pkg_mbedtls: improve entropy test case and doc 2022-02-02 17:44:36 +01:00
Benjamin Valentin
9ef662a575 tests/driver_lc709203f: fix documentation
The documentation is incorrect, see [0]

[0] https://forum.riot-os.org/t/lc709203f-test-code-giving-hardfault/3509
2022-02-02 13:56:08 +01:00
Leandro Lanzieri
96dcc35f33
Merge pull request #17467 from MrKevinWeiss/pr/fix/kconfigblocklist
board/*/kconfig: Fix boards on kconfig blocklist
2022-02-02 08:58:31 +01:00
NikLeberg
127f039f19 buildsystem: Kconfig test for EXTERNAL_PKG_DIRS feature 2022-02-01 18:12:07 +00:00
NikLeberg
a411841322 buildsystem: implement EXTERNAL_PKG_DIRS feature 2022-02-01 18:06:54 +00:00
NikLeberg
242d9ed30d buildsystem: test for EXTERNAL_PKG_DIRS feature 2022-02-01 18:06:54 +00:00
Leandro Lanzieri
9b95605f78
Merge pull request #17596 from fjmolinas/pr_external_module_deps_kconfig
makefiles.kconfig.mk: use EXTERNAL_MODULE_DIRS in Kconfig resolution
2022-02-01 14:10:15 +01:00
MrKevinWeiss
719e00fa42
drivers/mpu9x50: Model saul_default in kconfig 2022-02-01 13:58:06 +01:00
Leandro Lanzieri
1e300a4959
Merge pull request #17435 from Ollrogge/fido2_kconfig
sys/fido2: model Kconfig
2022-02-01 12:03:11 +01:00
Francisco Molina
de325cdfe8 tests/kconfig: also add external module dependencies 2022-02-01 11:59:34 +01:00
Ollrogge
1dde2cd3bc sys/fido2: remove unnecessary module import from Makefile.dep 2022-01-31 16:49:38 +01:00
Ollrogge
4b24012cbc sys/fido2: model Kconfig 2022-01-31 16:49:19 +01:00
Francisco
ba325e8a35
Merge pull request #17354 from bergzand/pr/gnrc_netif/ztimer
gnrc/netif: convert to ztimer
2022-01-31 09:42:28 +01:00
Francisco
5bde360689
Merge pull request #17588 from benpicco/tests/pkg_mbedtls-blacklist
tests/pkg_mbedtls-blacklist: blacklist samr21-xpro
2022-01-31 09:27:15 +01:00
benpicco
4aa173d37e
Merge pull request #17590 from benpicco/tests/pkg_edhoc_c-blacklist_esp32
tests/pkg_edhoc_c: blacklist esp32-wroom-32
2022-01-28 22:02:15 +01:00
benpicco
5a57dec71a
Merge pull request #17093 from maribu/core/change_prio
core/sched: add sched_change_priority()
2022-01-28 20:01:20 +01:00
Hendrik van Essen
7ab13448ef tests/shell_ble: add variant of shell test for stdio_nimble 2022-01-28 19:26:38 +01:00
Benjamin Valentin
c5df19bfa4 tests/pkg_edhoc_c: blacklist esp32-wroom-32
This test fails rather regularly on CI, so disable it.

socat - open:/dev/ttyUSB0,b115200,echo=0,raw
Traceback (most recent call last):
  File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/tests/pkg_edhoc_c/tests/01-run.py", line 101, in <module>
    sys.exit(run(testfunc))
  File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/__init__.py", line 28, in run
    logfile=sys.stdout if echo else None)
  File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/spawn.py", line 88, in setup_child
    sync_child(child, env)
  File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/spawn.py", line 123, in sync_child
    TEST_INTERACTIVE_DELAY)
  File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/utils.py", line 41, in test_utils_interactive_sync_shell
    _test_utils_interactive_sync(child, retries, delay, '\n', '>')
  File "/tmp/dwq.0.5480675865160537/2c1d3acc7a86753de0db3a13fc04973d/dist/pythonlibs/testrunner/utils.py", line 17, in _test_utils_interactive_sync
    ret = child.expect_exact([ready_exp, pexpect.TIMEOUT], timeout=delay)
  File "/usr/local/lib/python3.5/dist-packages/pexpect/spawnbase.py", line 421, in expect_exact
    return exp.expect_loop(timeout)
  File "/usr/local/lib/python3.5/dist-packages/pexpect/expect.py", line 179, in expect_loop
    return self.eof(e)
  File "/usr/local/lib/python3.5/dist-packages/pexpect/expect.py", line 122, in eof
    raise exc
pexpect.exceptions.EOF: End Of File (EOF). Exception style platform.
2022-01-28 18:12:40 +01:00
Benjamin Valentin
3c6241b8f4 tests/pkg_mbedtls-blacklist: blacklist samr21-xpro
The ENTROPY test always fails on this board

main(): This is RIOT! (Version: buildtest)
mbedtls test

  SHA-224 test #1: passed
  SHA-224 test #2: passed
  SHA-224 test #3: passed
  SHA-256 test #1: passed
  SHA-256 test #2: passed
  SHA-256 test #3: passed

  ENTROPY test: failed
2022-01-28 17:48:02 +01:00
93ac9d91d1
tests/drivers_at86rf215: Exclude z1 2022-01-28 14:04:47 +01:00
fe0b297aec
tests/gnrc_netif_ipv6_wait_for_global_address: convert to ztimer 2022-01-28 13:38:56 +01:00
Marian Buschsieweke
755652b6cf
tests/sched_change_priority: add test app 2022-01-28 11:29:18 +01:00
Benjamin Valentin
ef07136c86 tests: adapt to nanocoap API change 2022-01-27 14:31:06 +01:00
Hauke Petersen
f57e813429 tests/nimble_rpble: fix NIMBLE_MAX_CONN 2022-01-27 10:30:30 +01:00
Hauke Petersen
41f3863b87 tests: add test for nimble_rpble_ext 2022-01-27 10:30:30 +01:00
Hauke Petersen
b95b63a7b9 tests: add test for nimble_statconn_ext 2022-01-27 10:30:30 +01:00
Hauke Petersen
9106e31fac tests: add test for nimble_autoconn_ext 2022-01-27 10:30:30 +01:00
Hauke Petersen
f39950f185 tests: add test for nimble_netif_ext 2022-01-27 10:30:30 +01:00
Hauke Petersen
618898ce76 tests/nimble_ext_adv: cleanup PHY mode selection 2022-01-27 10:10:09 +01:00
chrysn
206bea0a1d phydat: Add Tesla unit
While this is equivalent to the existing Gs (1 T = 10^-4 Gs), this is
the SI (and thus preferred) unit.
2022-01-25 13:46:08 +01:00
Leandro Lanzieri
fca7ed3943
Merge pull request #17567 from fjmolinas/pr_test_uart_non_blocking_to_ztimer
tests/periph_uart_nonblocking: migrate to ztimer
2022-01-25 11:43:01 +01:00
Francisco Molina
621d81756c tests/driver_motor_driver: remove uneeded xtimer_init() 2022-01-25 08:58:24 +01:00
Francisco Molina
7782866efc tests/periph_uart_nonblocking: migrate to ztimer 2022-01-25 08:42:53 +01:00
Francisco Molina
30dcfb8202 tests/thread_priority_inversion: remove unneeded xtimer_init() 2022-01-25 08:42:06 +01:00
Kevin "Tristate Tom" Weiss
c94033016e
Merge pull request #17458 from aabadie/pr/boards/stm32f429i-disc1_kconfig_deps_fix
{disp,touch}_dev: improve Kconfig at different levels
2022-01-24 12:00:44 +01:00
Francisco
b985a74894
Merge pull request #17367 from fjmolinas/pr_driver_ztimer_corner_cases
drivers: migrate xtimer64 and xtimer/ticks users to ztimer
2022-01-24 10:41:24 +01:00
c78589763e
tests/disp_dev: add Kconfig config 2022-01-22 15:14:26 +01:00
8e56da3658
drivers/stmpe811: don't use a choice to select the bus 2022-01-22 15:14:26 +01:00
3a80354d92
tests/touch_dev: add Kconfig config 2022-01-22 15:14:18 +01:00
6ef50cab12
tests/touch_dev: migrate to ztimer 2022-01-22 15:14:18 +01:00
benpicco
2520b5c608
Merge pull request #16870 from fabian18/cpu_stm32_add_periph_backup_ram
cpu/stm32: make backup SRAM available
2022-01-21 18:09:42 +01:00
Leandro Lanzieri
91012bc3f9
drivers/ft5x06: remove unnecessary pseudomodules 2022-01-21 14:13:49 +01:00
Fabian Hüßler
5fdf8d2d88 tests/periph_backup_ram: FEATURES_REQUIRED += periph_rtc 2022-01-20 14:13:10 +01:00
Benjamin Valentin
c4b32a426f tests/unittests: add tests for chunked_ringbuffer 2022-01-19 11:43:35 +01:00
74239561b8
Merge pull request #17534 from fjmolinas/pr_edhoc_test_netif_multi
tests/pkg_edhoc: handle multiple interfaces
2022-01-19 08:42:20 +01:00
Francisco Molina
ec7926f6c4 tests/pkg_edhoc: handle multiple interfaces 2022-01-19 08:17:14 +01:00
Francisco
bc6624e67b
Merge pull request #17180 from benpicco/drivers/dose-watchdog
drivers/dose: introduce watchdog timer
2022-01-18 23:43:29 +01:00
Francisco Molina
c19a78765a drivers/pir: migrate to ztimer64 2022-01-18 16:27:44 +01:00
Francisco Molina
d8126864ea tests/driver_ltc4150: migrate to ztimer_usec 2022-01-18 16:27:44 +01:00
Francisco Molina
0398fb3f83 drivers/nvmram_spi: convert to ztimer_usec 2022-01-18 16:27:44 +01:00
Francisco Molina
24a848e844 drivers/nrf24l01p: migrate to ztimer 2022-01-18 16:27:44 +01:00
Benjamin Valentin
527d1bf559 tests/driver_dose: test dose_watchdog on select boards 2022-01-18 15:41:38 +01:00
728aefa541
Merge pull request #17528 from fjmolinas/pr_test_pkg_relic_stacksize
tests/pkg_relic: increase stacksize
2022-01-18 13:28:16 +01:00
Francisco Molina
1025341ff3 tests/pkg_relic: increase stacksize 2022-01-18 13:19:34 +01:00
benpicco
2542195cdf
Merge pull request #15671 from PeterKietzmann/pr_add_pkg_mbedtls
pkg/mbedtls: initial pkg import to use entropy module
2022-01-18 08:22:50 +01:00
PeterKietzmann
b05f93405e pkg/mbedtls:initial port of the entropy module 2022-01-17 23:22:14 +01:00
Marian Buschsieweke
8549ff2f7d
Merge pull request #17479 from gschorcht/cxxexflags_cpp+14
makefiles: use C++14 standard by default for C++ compilations
2022-01-17 13:42:41 +01:00
Francisco
000e6fa99d
Merge pull request #17228 from miri64/gnrc_pktbuf_cmd/enh/add-od-dep
gnrc_pktbuf_cmd: add od dependency with gnrc_pktbuf_static
2022-01-17 12:10:49 +01:00
Francisco Molina
90da7dcdfe tests/driver_si1133: remove uneeded xtimer dependency 2022-01-17 12:04:12 +01:00
benpicco
7cd9b6c1b0
Merge pull request #17514 from chrysn-pull-requests/riot-wrappers-0.7.15
rust: Update to riot-wrappers 0.7.15
2022-01-17 10:29:50 +01:00
chrysn
95b5052be4
Merge pull request #17502 from chrysn-pull-requests/queue-on-stack-never-quit
tests: Fix thread return with local message queue
2022-01-15 23:26:14 +01:00
benpicco
739c3d25e4
Merge pull request #17511 from benpicco/sock_has_ipv4
sys/net/sock: introduce SOCK_HAS_IPV4
2022-01-15 01:06:51 +01:00
Marian Buschsieweke
b6b7065ddc
core/rmutex: use atomic utils
Replace use of C11 atomics with atomic utils. This fixes

> error: address argument to atomic operation must be a pointer to a
>        trivially-copyable type ('_Atomic(int) *' invalid)

error when compiling on AVR with LLVM.
2022-01-14 09:52:17 +01:00
chrysn
deffb350a7 rust: Update to riot-wrappers 0.7.15 2022-01-13 18:52:05 +01:00
Benjamin Valentin
67ef5faeed sys/net/sock_util: make use of SOCK_HAS_IPV4 2022-01-13 18:40:12 +01:00
Gunar Schorcht
93d15ac2d3 tests/cpp11_*: remove -std=c++11 2022-01-13 17:50:59 +01:00
chrysn
952858ee92 doc/rust: Adjust to riot-sys internals' changes 2022-01-13 12:52:13 +01:00
chrysn
9c3d1039f0 doc: Elaborate on maintenance modes of Rust crates
Closes: https://github.com/RIOT-OS/RIOT/issues/17488
2022-01-13 12:52:13 +01:00
chrysn
87847b1de4 tests: Fix thread return with local message queue
When a message queue is configured from the stack, that main function
must never return -- otherwise, during sched_task_exit (which the
thread's function "returns" to), message senders might still send
messages into already freed stack space (which would be reused by
sched_task_exit).

Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
2022-01-11 21:51:09 +01:00
benpicco
d0868bc997
Merge pull request #16918 from jia200x/pr/gnrc_netif/refactor_init
gnrc_netif: move netdev initialization to ops->init
2022-01-10 17:58:45 +01:00
Jose Alamos
eb23813467
tests/gnrc_netif: adapt ops->init to handle driver initialization 2022-01-10 13:59:27 +01:00
Jose Alamos
e7fac9f661
net/gnrc_netif: add return values to init 2022-01-10 13:59:01 +01:00
Jose Alamos
db815aa779
ieee802154/hal: migrate to request_op and confirm_op 2022-01-10 13:57:02 +01:00
benpicco
f33b3ad10d
Merge pull request #17242 from bergzand/pr/hid/add_descriptor_defines
usb/hid: Add HID report descriptor defines
2022-01-10 12:28:01 +01:00
8ea334dbc2
tests/usbus_hid: Adapt HID descriptors to use helper defines
Content of the HID report descriptor itself is unchanged
2022-01-10 11:35:58 +01:00
c49f156e6e
Merge pull request #17448 from aabadie/pr/drivers/ft5336
drivers/ft5x06: add support for touch panel controller
2022-01-09 18:02:40 +01:00
444170ed04
tests/driver_ft5x06: add test application for touch panel 2022-01-09 16:43:34 +01:00
a7fab3fe53
tests/unittests/tests-saul_reg: remove saul_reg_rm test function 2022-01-08 11:49:06 +01:00
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
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