ae0f617b28
Merge pull request #17728 from fjmolinas/pr_remove_tests_timex_calls
...
tests/*xtimer*: remove uneeded timex calls
2022-03-02 09:25:11 +01:00
Francisco Molina
3b4fd9cb43
tests/xtimer_drift: remove uneeded timex call
2022-03-02 08:19:31 +01:00
Francisco Molina
4326825931
tests/bench_xtimer_load: remove uneeded timex call
2022-03-02 08:19:22 +01:00
a17ff53ecf
Merge pull request #17485 from benpicco/sock_udp_sendv
...
sys/net/sock: add sock_udp_sendv() API
2022-03-01 14:05:21 +01:00
e9227153c0
unittests: add ztimer64 clear-on-remove regression test
2022-03-01 11:03:18 +01:00
3a9e64806c
Merge pull request #17718 from fjmolinas/pr_sys_crypto_unitialized_key
...
tests/sys_crypto: fix potentially unitialized error
2022-03-01 10:34:40 +01:00
Francisco
945dd082b0
Merge pull request #17715 from kfessel/p-add-building-default
...
tests: add default BOARDS
2022-03-01 10:23:58 +01:00
Francisco Molina
df3c0a6b72
tests/sys_crypto: fix potentially unitialized error
2022-03-01 09:55:25 +01:00
Karl Fessel
406e231225
tests: add building BOARD defaults
2022-02-28 21:59:57 +01:00
Karl Fessel
16729529ee
tests: add default BOARDS
2022-02-28 15:08:35 +01:00
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
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
Benjamin Valentin
82e3aefebf
tests/ieee802154_submac: add support for socket_zep
2021-11-18 11:51:14 +01:00
Benjamin Valentin
558010e8eb
tests/ieee802154_hal: add support for socket_zep
2021-11-18 11:51:14 +01:00
Benjamin Valentin
fa2d9bde56
socket_zep: port to radio HAL
2021-11-18 11:51:14 +01:00
Leandro Lanzieri
b9c743cde3
Merge pull request #17224 from leandrolanzieri/pr/makefiles/use_arch_core_features_first
...
makefile.dep: require `arch_%` `cpu_core_%` features first
2021-11-18 11:33:01 +01:00
Benjamin Valentin
3dac8a5493
tests/periph_qdec: fix periph type cast
2021-11-18 10:29:50 +01:00
Benjamin Valentin
55f2eda956
tests/periph_uart: fix periph type cast
2021-11-18 10:14:51 +01:00
Benjamin Valentin
4664e63ad4
drivers/soft_uart: fix type usage
2021-11-18 10:14:51 +01:00
Leandro Lanzieri
6a1340da26
drivers/si70xx/kconfig: rework
2021-11-18 09:03:07 +01:00
Leandro Lanzieri
ab84ec5134
drivers/bmx280: rework Kconfig model
2021-11-18 09:03:07 +01:00
Leandro Lanzieri
0764d61921
tests/pkg_arduino_sdi_12: add some insufficient memory boards
2021-11-18 09:00:35 +01:00
Martine Lenders
35b7ea44ac
tests/gnrc_udp: remove od from used modules
...
The test does not use the module, it is merely used as a dependency for
`gnrc_pktbuf_cmd`.
2021-11-17 15:51:48 +01:00
c3b4150cdb
tests: add test for the uzlib package
2021-11-17 15:37:12 +01:00
Francisco Molina
c74e35c483
tests/event_ztimer: add missing ztimer_usec dependency
2021-11-17 10:15:16 +01:00
Francisco Molina
73babe546c
tests/events: add Kconfig
2021-11-17 10:15:16 +01:00
Dylan Laduranty
aa8608eff5
Merge pull request #17064 from bergzand/pr/usbdev/xmit
...
USB: refactor to xmit-based API
2021-11-17 09:07:00 +01:00
Erik Ekman
d1b87ca3f5
tests/lwip_sock_ip: Use lwip_netif_t
2021-11-16 22:04:44 +01:00
Erik Ekman
9829db9564
test/lwip_sock_udp: Use lwip_netif_t
2021-11-16 22:04:44 +01:00
f8e7e2f557
usbdev_mock: Adapt to xmit API
...
Includes the adaptations needed in the test application
2021-11-16 20:16:59 +01:00
Leandro Lanzieri
b0c380a9a9
Merge pull request #17039 from MrKevinWeiss/pr/turodefault
...
sys/turo: Allow default selection of json
2021-11-16 18:22:55 +01:00
Marian Buschsieweke
fa3d0ad0f1
tests/unittests: fix unaligned access
2021-11-16 14:23:45 +01:00
427ae33acd
Merge pull request #17198 from aabadie/pr/boards/stm32f746disco
...
boards: add support for stm32f746g-disco
2021-11-16 13:51:45 +01:00
c452ab183f
tests: add stm32f746g-disco to boards with netif
2021-11-16 10:51:48 +01:00
Francisco
6dd0521203
Merge pull request #17196 from maribu/tests/pthread_barrier
...
tests/pthread_barrier: fix test script
2021-11-16 10:21:06 +01:00
MrKevinWeiss
6f345d5bee
unittests/turo: Fix turo to use check
2021-11-16 08:37:46 +01:00
MrKevinWeiss
56cb210722
tests/turo: Remove OUTPUT_FORMAT and use default
2021-11-16 08:37:45 +01:00
f1feaa2063
tests/periph_gpio: Convert to ztimer
2021-11-15 15:24:38 +01:00
8c2f0dd2af
sys/benchmark: Convert to ztimer
2021-11-15 14:14:23 +01:00
Francisco
6dbf1c3013
Merge pull request #17102 from aabadie/pr/drivers/ads101x_ztimer
...
drivers/ads101x: migrate to ztimer
2021-11-15 09:56:14 +01:00
Marian Buschsieweke
e78a45b319
tests/pthread_barrier: fix test script
...
Previously the test script relied on the exact sequence of numbers
returned by the used PRNG. This resulting e.g. in
```
$ USEMODULE=prng_musl_lcg make -C tests/pthread_barrier flash test
```
to fail, only because the order in which the children completed is
slightly different due to different sleep durations. This fixes the
issue.
2021-11-15 09:10:03 +01:00
Marian Buschsieweke
c18dc7157d
Merge pull request #17177 from maribu/sys/architecture
...
sys/architecture: add HAS_ALIGNMENT_OF() helper
2021-11-12 14:12:08 +01:00
1772628483
Merge pull request #16186 from kaspar030/fix_native_notext
...
cpu/native: add `-no-pie` to LINKFLAGS
2021-11-11 11:50:54 +01:00
Marian Buschsieweke
7b06e665ee
sys/architecture: add HAS_ALIGNMENT_OF() helper
2021-11-11 10:57:26 +01:00
Marian Buschsieweke
673299b1cf
Merge pull request #17176 from maribu/core/declare_constant
...
core: add WITHOUT_PEDANTIC() and DECLARE_CONSTANT()
2021-11-11 10:56:47 +01:00
Kevin "Tristate Tom" Weiss
da60ba5fff
Merge pull request #17165 from leandrolanzieri/pr/sys/ztimer_kconfig_entry
...
sys/ztimer: rework Kconfig
To eliminate circular dependencies based in periph_rtc and xtimer_ztimer_compatibility the following changes are applied:
- Change entrypoint of ztimer as a specific backend is always required
- Add a non-module symbol for ztimer_usec that bring in the ztimer and ztimer_usec module which allows the xtimer ztimer compatibility layer to only select the ztimer_usec module preventing circular dependency issues
2021-11-11 09:21:33 +01:00
937a0014c8
tests/backtrace: make test regexp a bit more loose
2021-11-10 20:38:25 +01:00
Marian Buschsieweke
f2a53c8fb3
tets/unittests: add test for DECLARE_CONSTANT()
2021-11-10 15:22:48 +01:00
e89eebc6bf
Merge pull request #17163 from maribu/pkg/libcoap
...
pkg/libcoap: remove
2021-11-10 13:42:59 +01:00
Kevin "Tristate Tom" Weiss
ff8983c155
Merge pull request #17161 from kaspar030/update_pkg_relic
...
pkg/relic: bump to current master
2021-11-10 09:15:23 +01:00
Francisco
24794676ca
Merge pull request #16901 from maribu/tests/thread_float
...
tests/thread_float: improve and add script
2021-11-10 08:34:55 +01:00
Erik Ekman
5b2c20dbf7
tests/lwip: Don't control IPv6 usage from IPv4
2021-11-09 23:26:26 +01:00
Marian Buschsieweke
f62b662b08
tests/thread_float: improve and add test script
...
- Perform the same computation over and over again. If the results
differ, context switches have an impact on the calculation (e.g.
when the FPU internally uses more bits than a float, but that bits
are not saved / restored on context switch)
- Give the three threads the names "t1", "t2", and "t3" and print them
on console, instead of the process ID. This makes interpretation of
the output easier, as the process IDs depend e.g. on whether a given
platforms requires an idle thread or not.
- Do not use the thread ID in the calculation, but the number at the
end of the thread name. This will result in the number printed only
depending on the precision of the (software) FPU and the printf()
implementation, and not on which threads are created in which order
(including the idle thread)
- Add a script to support running `make test`
Update tests/thread_float/tests/01-run.py
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2021-11-09 19:57:59 +01:00
Leandro Lanzieri
703e66b4c1
sys/ztimer/kconfig: change entry point
2021-11-09 15:32:34 +01:00
55d5cdea04
tests/pkg_relic: update for bumped upstream
2021-11-09 13:48:49 +01:00
Marian Buschsieweke
d83d08f099
pkg/libcoap: remove
...
The pkg has not been updated in ages and upstream libcoap provides means
to build with RIOT. Users are better served using the upstream libcoap
approach to use RIOT + libcoap rather than this outdated pkg.
2021-11-09 13:47:11 +01:00
Erik Ekman
691bd46aae
tests/lwip_sock: Don't control IPv6 usage from IPv4
...
Require less hacks to use dual stack
2021-11-06 18:01:06 +01:00
Martine Lenders
3677a93d96
Merge pull request #17145 from yarrick/core_lock
...
tests/lwip_sock: Take lock before calling etharp
2021-11-06 13:53:39 +01:00
benpicco
1f11780c02
Merge pull request #17119 from spectraphilic/sdi12-remote
...
pkg/arduino_sdi_12: support the remote-revb board
2021-11-06 11:32:54 +01:00
Erik Ekman
91be3adac8
tests/lwip_sock: Take lock before calling etharp
...
Fixes #17144
2021-11-05 18:45:04 +01:00
Benjamin Valentin
a803cab439
tests/unittests: add test for index_of()
2021-11-05 16:42:38 +01:00
Francisco
c739516ac4
Merge pull request #17132 from miri64/core/enh/activate-SCHED_TEST_STACK
...
core: make SCHED_TEST_STACK boolean and default to 1 with DEVELHELP
2021-11-05 11:11:36 +01:00
Martine Lenders
2955288b8b
tests: update Makefile.ci for SCHED_STACK_TEST extension of DEVELHELP
2021-11-05 09:27:01 +01:00
Martine Lenders
f08989a3c8
core: make SCHED_TEST_STACK boolean and default to 1 with DEVELHELP
2021-11-05 09:27:00 +01:00
eaa007d412
Merge pull request #17135 from bergzand/pr/usbdev/fix_cppcheck_vera
...
usb(dev|bus): Fix static-check issues
2021-11-05 08:36:53 +01:00
J. David Ibáñez
98a61d06e1
pkg/arduino_sdi_12: move BOARD_INSUFFICIENT_MEMORY to Makefile.ci
2021-11-05 07:55:16 +01:00
9e853a6a79
Merge pull request #17124 from aabadie/pr/boards/microbit_mineplex
...
boards/{calliope-mini,microbit*}: factorize common microbit module, use ztimer
2021-11-05 00:39:35 +01:00
233cc0928a
Merge pull request #16887 from aabadie/pr/pkg/elk
...
pkg: add support for Elk Tiny Javascript engine
2021-11-04 17:52:44 +01:00
03acd1fafc
tests/driver_ads101x: exclude nucleo-l011k4 because of low memory
2021-11-04 16:21:08 +01:00
J. David Ibáñez
d2c9caae2b
pkg/arduino_sdi_12: skip nucleo-l011k4 in CI
...
Because it does not have enough memory.
2021-11-04 16:05:06 +01:00
J. David Ibáñez
c9062c2e23
pkg/arduino_sdi_12: use blacklist instead of whitelist
2021-11-04 16:05:06 +01:00
J. David Ibáñez
1d2ac15396
pkg/arduino_sdi_12: cpp11-compat for all but atmega
...
Doesn't work.
2021-11-04 16:05:06 +01:00
J. David Ibáñez
3e73c5f6e3
pkg/arduino_sdi_12: support the remote-revb board
...
Patch the library to use micros() for timing, when sending a command,
for boards not supported by the library.
Use cpp11-compat with the remote-revb board. This fixes the link error
"undefined reference to __dso_handle"
2021-11-04 16:05:06 +01:00
Francisco
f08c5da7aa
Merge pull request #17101 from aabadie/pr/drivers/bmp180_ztimer
...
drivers/bmp180: migrate to ztimer
2021-11-04 15:25:48 +01:00
673fa4bd5b
tests/usbus: resolve vera++ issue
2021-11-04 13:49:35 +01:00
ce28a54ed9
tests: add test application for Elk package
2021-11-04 12:38:21 +01:00
d71388c58e
tests/board_calliope-mini: use microbit common module
2021-11-03 12:10:14 +01:00
Martine Lenders
67f67bfe62
Merge pull request #17076 from jenswet/feature/add-fff-package
...
pkg/fff: Add fake functions framework package
2021-11-03 11:00:56 +01:00
Francisco
f6012e1bcb
Merge pull request #17114 from fjmolinas/pr_xbee_ztimer_msec
...
drivers/xbee: migrate to ztimer_msec
2021-11-03 09:05:27 +01:00
Francisco
c3226ba865
Merge pull request #17107 from miri64/treewide/fix/pycryptodome
...
pycrypto: use pycryptodome instead
2021-11-02 22:09:08 +01:00
Francisco Molina
3dd0829c82
tests/driver_xbee: uncrustify, format Makefile
2021-11-02 21:46:19 +01:00
Jens Wetterich
14f90f3c5e
pkg/fff: Add fake functions framework package
2021-11-02 18:01:21 +01:00
546283fd05
tests/driver_bmp180: migrate to ztimer
2021-11-02 14:57:50 +01:00
bcdbec40e3
tests/driver_ads101x: migrate to ztimer
2021-11-02 14:49:45 +01:00
Martine Lenders
e38aec72b2
pycrypto: use pycryptodome instead
...
`pycrypto` is unmaintained [[1]] since v2.6.1 (released October 2013).
This version, however, has some severe vulnerabilities [[2]] [[3]].
The recommendation is to use the API-compatible `pycryptodome` library.
[1]: https://github.com/pycrypto/pycrypto/issues/173
[2]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-7459
[3]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6594
2021-11-02 13:28:42 +01:00
Leandro Lanzieri
f64b166319
Merge pull request #16845 from MrKevinWeiss/pr/kconfig/supportstms
...
.murdock: Add nucleo boards to kconfig test
2021-11-01 09:55:22 +01:00
Francisco Molina
9a2c880a60
drivers/stmpe811: use errno
2021-10-30 23:25:50 +02:00
J. David Ibáñez
5ce514a105
pkg/arduino_sdi_12: add new package
...
From https://github.com/EnviroDIY/Arduino-SDI-12
2021-10-28 16:19:28 +02:00
dbbdc8590e
Merge pull request #17031 from fjmolinas/pr_lvgl_ztimer
...
pkg/lvgl: use ztimer instead of xtimer
2021-10-28 11:36:04 +02:00
Francisco
7f3344870d
Merge pull request #16972 from Ollrogge/flashpage_pr
...
periph/flashpage: extend API
2021-10-26 12:51:05 +02:00
Francisco Molina
d2c09698e0
tests/driver_ili9341: use ztimer_msec instead of xtimer
2021-10-25 10:49:08 +02:00
Francisco Molina
a4dd3c0147
pkg/lvgl: use ztimer instead of xtimer
2021-10-21 18:23:39 +02:00
Francisco Molina
2552c6941e
treewide: remove mentions of 'fox' BOARD
2021-10-20 13:53:26 +02:00
Karl Fessel
c9f4d11c52
Merge pull request #16966 from yarrick/net_v6
...
sys/net: Add ipv4/ipv6 pseudomodules
to ease code unification
2021-10-20 11:58:26 +02:00
Ollrogge
72d47013dd
periph/flashpage: extend API
2021-10-19 22:33:09 +02:00
Francisco
1f00d7a89c
Merge pull request #16961 from jia200x/pr/semtech-loramac/fix_schedule_uplink
...
pkg/semtech-loramac: forward uplink schedule request to upper layer
2021-10-18 17:40:03 +02:00
Jose Alamos
00deef37a9
tests/pkg_semtech-loramac: add pending data indication
2021-10-18 14:07:21 +02:00
74b8bd5aa3
tests: add corejson package test application
2021-10-17 18:13:41 +02:00
MrKevinWeiss
c7820cf7e5
*/rtt|rtc: Fix Kconfig modeling
2021-10-14 11:28:44 +02:00
benpicco
ffd1254eac
Merge pull request #16959 from bissell-homecare-inc/stm32g031-disco
...
boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board
2021-10-13 23:17:06 +02:00
Dave VanKampen
55ea8cfb97
boards/stm32g031-disco,examples,tests: Added STM32G031-DISCO board
2021-10-13 12:14:45 -04:00
Erik Ekman
ff7bf09313
sys/net/sock: Set SOCK_HAS_IPV6 in one place
...
Based on ipv6 pseudomodule
2021-10-11 21:37:39 +02:00
Jose Alamos
a7a0b8f592
tests/ieee802154_submac: prevent calling ACK TO fired if cancelled
2021-10-07 14:48:36 +02:00
Karl Fessel
423da42d1c
Merge pull request #16954 from kfessel/p-u8g2-test-sdl
...
test/pkg_u8g2: increase main stacksize for SDL
2021-10-07 10:43:25 +02:00
Karl Fessel
bec5f52e4f
test/pkg_u8g2: increase main stacksize for SDL
2021-10-06 17:52:26 +02:00
benpicco
b4de70e9d8
Merge pull request #16922 from jia200x/pr/netdev/signal_netdev_register
...
netdev: add netdev_register_signal
2021-10-05 22:59:49 +02:00
Jose Alamos
e1870dc861
tests/driver_at86rf215: remove gnrc_netif_get_by_type dependency
2021-10-05 14:35:08 +02:00
Martine Lenders
96eb2c5050
Merge pull request #16731 from JKRhb/dhcp-stateless
...
sys/net/dhcpv6: Add stateless DHCPv6
2021-10-05 10:13:22 +02:00
benpicco
88b495906b
Merge pull request #16936 from mtausig/update_tinyasn1
...
Update tiny-asn1 package
2021-10-05 00:04:23 +02:00
Jan Romann
1db7a2770e
tests/gnrc_dhcpv6_client: Set stateful configuration mode
2021-10-04 21:41:51 +02:00
Jan Romann
4297bfcdee
tests: Add test for stateless DHCPv6
2021-10-04 21:41:49 +02:00
Francisco
193ebb51e7
Merge pull request #16913 from jia200x/pr/test/hal/l2util
...
test/ieee802154_hal: general cleanup and cosmetic fixes
2021-10-04 10:06:15 +02:00
Mathias Tausig
225b39b6b9
pkg/tiny-asn1: Adapt unit test to new package version
2021-10-03 21:20:09 +02:00
Jose Alamos
0fa4b8560b
test/ieee802154_hal: rename long_addr into ext_addr
2021-09-30 17:30:17 +02:00
Jose Alamos
a8b19a1c76
test/ieee802154_hal: use od where possible
2021-09-30 17:30:17 +02:00
Jose Alamos
3b4240dd22
test/ieee802154_hal: use l2util where possible
2021-09-30 17:30:17 +02:00
Jose Alamos
57ee43a048
test/ieee802154_hal/Makefile: use regular event_thread
2021-09-30 17:30:17 +02:00
Jose Alamos
88aaec38e5
test/ieee802154_hal/Makefile: add shell_commands
2021-09-30 17:30:16 +02:00
Jose Alamos
d12d514d7c
test/ieee802154_hal: rename packet to frame
2021-09-30 17:30:16 +02:00
José Alamos
280c756c7a
Merge pull request #16826 from jia200x/pr/submac/test/remove_netdev
...
tests/ieee802154_submac: remove netdev dependency
2021-09-29 15:05:43 +02:00
Jose Alamos
f5b6251a9e
tests/ieee802154_submac: remove netdev dependency
...
Co-authored-by: Francisco Molina <femolina@uc.cl>
2021-09-29 11:05:44 +02:00
Jose Alamos
f6a2b58900
tests/ieee802154_submac: remove unused macro
2021-09-28 15:53:06 +02:00
Martine Lenders
a09bb8f776
Merge pull request #16820 from miri64/tests/enh/gnrc_dhcpv6_client-kill-old-kea
...
tests/gnrc_dhcpv6_client: kill potential previous Kea session
2021-09-27 22:14:10 +02:00
Martine Lenders
012b62b96e
tests/gnrc_dhcpv6_client: inform user about TMPDIR
2021-09-27 20:57:39 +02:00
Martine Lenders
4c9547b388
tests/gnrc_dhcpv6_client: kill potential previous Kea session
2021-09-27 20:57:39 +02:00
Leandro Lanzieri
0129cbe954
Merge pull request #16594 from fjmolinas/pr_sys_fortuna_reseed_ms
...
sys/random/fortuna: change interval ressed to ms
2021-09-27 20:46:06 +02:00
Francisco Molina
c307caddf1
tests: add atomic_utils test to Kconfig
2021-09-27 17:30:05 +02:00
benpicco
004b93edca
Merge pull request #16880 from vera/drivers/lps22hh
...
drivers/lpsxxx: add support for lps22hh
2021-09-23 00:20:09 +02:00
benpicco
6d33e360f6
Merge pull request #16882 from kaspar030/bench_msg_pingpong_stding
...
tests/bench_msg_pingpong: add stdint.h include (for clang & stdatomic.h)
2021-09-22 21:25:32 +02:00
0446ce2934
tests/bench_msg_pingpong: add stdint.h include (for clang & stdatomic.h)
2021-09-22 20:44:42 +02:00
Vera Clemens
06359e05ad
drivers/lpsxxx: add support for lps22hh
2021-09-22 17:54:02 +02:00
Martine Lenders
ea8e632eda
Merge pull request #16765 from benpicco/RIOT_VERSION_CODE
...
build system: add machine-readable RIOT_VERSION_CODE macro
2021-09-22 12:47:35 +02:00
Francisco
0b7eb2bbc9
Merge pull request #16836 from fjmolinas/pr_kconfig_mtd
...
drivers/mtd: fix Kconfig dependencies
2021-09-22 10:08:14 +02:00
Francisco Molina
14ef09b8b4
drivers/mtd: fix Kconfig dependencies
...
Currently implementations of the MTD api are selecting the module,
this makes it easy for default backends to be selected. But the
correct modeling is simply selecting the MTD api and then selecting
a backend. BOARDs providing one of the backends can expose this and
then that backend can be selected by default.
There is also currently nothing preventing from using the MTD api
with no backend since a mock backend can easily be provided as is
done in all mtd tests.
2021-09-22 09:22:51 +02:00
Francisco Molina
af746208dc
tests/mtd_raw: add Kconfig
2021-09-22 09:22:15 +02:00
Benjamin Valentin
eaf5162b5d
tests/unittests: add test for kernel_defines
2021-09-21 17:43:29 +02:00
benpicco
3090657b79
Merge pull request #16848 from benpicco/mtd_write_page-sector
...
mtd: fix mtd_write_page() across sector boundaries
2021-09-21 16:50:12 +02:00
Benjamin Valentin
969d61b95a
tests/mtd_raw: add test for mtd_write_page() across sectors
2021-09-21 15:20:02 +02:00
Francisco
2d0a6874c7
Merge pull request #16763 from benpicco/drivers/lm75-saul
...
drivers/lm75: add SAUL integration
2021-09-21 10:41:58 +02:00
Benjamin Valentin
79c67429a0
tests/driver_lm75: don't abort if alarm pin is not connected
2021-09-20 14:50:23 +02:00
Leandro Lanzieri
e0b9d8b602
tests/unittests/credman: add tests for key load functions
2021-09-20 08:11:01 +02:00
Benjamin Valentin
ea3e23eda3
tests: add test for gnrc_netif_ipv6_wait_for_global_address()
2021-09-17 13:00:15 +02:00
Martine Lenders
913573a200
Merge pull request #16702 from miri64/ut_process/feat/initial
...
ut_process: initial import of a URI template processor
2021-09-17 09:43:20 +02:00
benpicco
b6a2d08afc
Merge pull request #15915 from fabian18/ina3221-fixes
...
drivers/ina3221: style fixes and improvements
2021-09-16 22:22:33 +02:00
Martine Lenders
c844c73629
tests/unittests: provide test cases for ut_process
2021-09-16 18:18:48 +02:00
Jean Pierre Dudey
cd728e08c6
Merge pull request #16764 from brummer-simon/gnrc_tcp-experimental_dynamic_MSL
...
gnrc_tcp: experimental feature "dynamic msl"
2021-09-13 10:36:54 +02:00
Kevin "Tristate Tom" Weiss
4c6dc973c8
Merge pull request #16719 from MrKevinWeiss/pr/kconfig/cc2538
...
cpu/cc2538: Add Kconfig support
2021-09-09 08:21:09 +02:00
Peter Kietzmann
b98fa6d9d0
Merge pull request #16489 from Ollrogge/fido2_pr
...
FIDO2 support in RIOT
2021-09-08 21:14:52 +02:00
Martine Lenders
45af7058cd
tests/gnrc_dhcpv6_client: pipe command
output to /dev/null
2021-09-08 16:58:28 +02:00
Karl Fessel
f65f3c7240
Merge pull request #16797 from miri64/tests/enh/gnrc_dhcpv6_client-config-checker
...
tests/gnrc_dhcpv6_client: add script to check if $IFACE exists
first check-config use🎉
2021-09-08 16:53:35 +02:00
benpicco
e9424c3446
Merge pull request #16556 from jia200x/pr/improve_hal_test
...
tests/ieee802154_hal: check error codes and improve error reporting
2021-09-08 16:49:56 +02:00
Ollrogge
e127a4d865
FIDO2 support in RIOT
2021-09-08 15:22:40 +02:00
MrKevinWeiss
ebcb86ce72
tests/pkg_littlefs2: arduino-mega2560 no longer fits
2021-09-08 12:40:32 +02:00
MrKevinWeiss
50b0e36ee9
tests/iee802154_*: Add app.config.test
2021-09-08 12:40:32 +02:00
benpicco
86f42068ae
Merge pull request #16823 from jia200x/pr/submac/fix_rx_continuous
...
ieee802154/submac: fix leftovers of #16746
2021-09-07 21:28:11 +02:00
Jose Alamos
9089d224b8
tests/ieee802154_hal: improve error reporting
2021-09-07 17:17:46 +02:00
Jose Alamos
0f14f826d1
tests/ieee802154_hal: wait for IFS during transmission
2021-09-07 17:17:45 +02:00
Jose Alamos
fd81b978fc
tests/ieee802154_hal: use _set_trx_state where possible
2021-09-07 17:17:45 +02:00
Jose Alamos
c464ab7e7c
tests/ieee802154_hal: spin if radio is BUSY on trx_state request
2021-09-07 17:04:31 +02:00
Jose Alamos
201c2e7a82
tests/ieee802154_submac: synchronize FSM with mutex
2021-09-07 16:55:10 +02:00
Martine Lenders
73d5997e70
tests/gnrc_dhcpv6_client: use export function to set IFACE for server
2021-09-07 13:48:51 +02:00
Martine Lenders
76c04bd647
tests/gnrc_dhcpv6_client: add script to check if $IFACE exists
2021-09-07 13:48:34 +02:00
Benjamin Valentin
ae2fde4edb
examples, tests: replace gnrc_netdev_default with netdev_default
...
Those were merged in the meantime, update the Makefiles as well.
2021-09-06 21:06:29 +02:00
Benjamin Valentin
5b2597307c
tests: remove unneeded netdev_default
2021-09-06 15:48:28 +02:00
Benjamin Valentin
4a32402c10
tests/driver_kw2xrf: use gnrc for test
2021-09-06 15:43:40 +02:00
Benjamin Valentin
9a6fc85b16
treewide: replace gnrc_netdev_default with netdev_default
2021-09-06 15:43:40 +02:00
Simon Brummer
1870e8a3ce
gnrc_tcp: experimental feature "dynamic msl"
2021-09-04 07:37:53 +02:00
Karl Fessel
672a34e2be
Merge pull request #16805 from kfessel/p-spelling-minor
...
doc: cleanup some minor spelling error found by codespell
2021-09-03 15:35:30 +02:00
benpicco
3b304328f3
Merge pull request #16758 from benpicco/periph/rtc_mem
...
drivers/periph: define rtc_mem and implement it for sam0_common
2021-09-03 14:59:11 +02:00
Karl Fessel
42b191318a
doc: cleanup some minor spelling error found by codespell
2021-09-03 13:02:08 +02:00
Benjamin Valentin
c8d94e89c9
tests/periph_rtc: test for periph_rtc_mem
2021-09-03 11:43:43 +02:00
Benjamin Valentin
c467f05317
tests/periph_rtt: test for periph_rtc_mem
2021-09-03 11:43:43 +02:00
chrysn
2bf1202fb9
Merge pull request #16800 from chrysn-pull-requests/vfs-fat-usability
...
Small fatfs usability fixes
2021-09-02 20:54:01 +02:00
chrysn
2c84f997d9
tests/pkg_fatfs: Create required bin/ directory
2021-09-02 17:17:42 +02:00
chrysn
5e763ee23c
tests/pkg_fatfs: Use ${Q} instead of @
2021-09-02 17:16:59 +02:00
chrysn
fd0e9bd29b
tests/pkg_fatfs: Set tarball extension to match content
...
All existing users treat this as bz2 (tar -j), let's reflect this in the
extension for better usability.
2021-09-02 17:10:37 +02:00
Martine Lenders
389138c8e3
tests/gnrc_dhcpv6_client: honor configured IFACE in Kea config
2021-09-02 16:08:33 +02:00
Martine Lenders
a7c19f2c55
tests/gnrc_dhcpv6_client: fix make test-* command in README
2021-09-02 16:08:32 +02:00
Francisco
a1cbcc9ede
Merge pull request #15902 from maribu/spi-api-change-1
...
drivers/periph_spi: let spi_acquire return void
2021-09-02 08:50:56 +02:00
Marian Buschsieweke
198046e167
tests/perpih_spi: update to new API
2021-09-01 21:38:40 +02:00
Marian Buschsieweke
732cbd969c
drivers: update to new periph_spi API
2021-09-01 21:38:40 +02:00
Martine Lenders
73af152803
tests/gnrc_dhcpv6_client: bail out of sub-shell after server started
2021-09-01 16:14:58 +02:00
Martine Lenders
ced3268083
tests/gnrc_dhcpv6_client: remove sudo requirement
2021-09-01 16:02:48 +02:00
Martine Lenders
f253957f97
tests/gnrc_dhcpv6_client: dynamically adapt Kea config for >=1.7.10
2021-09-01 16:01:39 +02:00
Francisco
3db378e015
Merge pull request #11117 from haukepetersen/add_core_irqisen
...
core: add irq_is_enabled() function to irq interface
2021-08-26 18:41:02 +02:00
benpicco
0b69747389
Merge pull request #16023 from maribu/max_pdu_size
...
sys/net/netopt: Drop deprecated NETOPT_MAX_PACKET_SIZE
2021-08-26 14:40:18 +02:00
da140c251a
Merge pull request #16754 from kaspar030/native_deferred_yield_higher
...
cpu/native: fix thread_yield_higher() with IRQs disabled
2021-08-25 22:59:18 +03:00
Hauke Petersen
f877ed9205
tests/ztimer_periodic: rename counter macro
...
The macro with name `N` is used by the MSP430 CPU macros and
triggers a compilation error if this example is build for that
platform. So this commit renames the repeat counter limit from
`N` to `REAPEAT`.
2021-08-25 08:01:05 +02:00
Hauke Petersen
8ec355f3d9
tests/irq_disable_restore: test irq_is_enabled()
2021-08-25 08:01:05 +02:00
Hauke Petersen
dc1dcb9b5d
tests/irq_disable_restore: fix typo in comment
2021-08-25 08:01:05 +02:00
Gerson Fernando Budke
0232e9d89c
boards: Introduce atxmega-a1-xplained board
...
Add initial version.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-08-24 21:25:14 -03:00
benpicco
2de7dab0f4
Merge pull request #16288 from nandojve/xmega_ebi
...
cpu/atxmega/periph: Add ebi driver
2021-08-25 00:38:22 +02:00
benpicco
025770968b
Merge pull request #16036 from bergzand/pr/gd32vf103/initial
...
gd32v/seeedstudio-gd32: Initial support
2021-08-25 00:38:00 +02:00
f8bb757bae
seeedstudio-gd32: Initial include of board
...
The seeedstudio-gd32 is an small development board based on the
gd32vf103 MCU
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2021-08-24 14:30:23 +02:00
Gerson Fernando Budke
e0dd0f56f2
tests: Add cpu_avr8_xmega_drivers tests
...
Add AVR-8 xmega CPU specific tests.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-08-24 08:35:41 -03:00
Gerson Fernando Budke
574a0cf653
Revert "tests: Exclude atxmega-a1u-xpro board due low mem"
...
This reverts commit 6475620290
.
2021-08-24 08:35:41 -03:00
Hauke Petersen
f24e3ffb07
tests/nimble_rpble_gnrc: initial import
2021-08-24 11:33:13 +02:00
fe1d9981a8
tests/deferred_yield_higher: initial commit
...
This test verifies that a thread can call `thread_yield_higher()` with IRQs
disabled, and that the actual context switch is deferred until IRQs are
re-enabled.
2021-08-24 09:49:53 +02:00
benpicco
be85777cd1
Merge pull request #16678 from viktorbatista/modules/lm75
...
drivers/lm75: driver for the lm75 sensor and derivatives
2021-08-20 18:04:12 +02:00
Vitor Batista
07c36ab814
tests/driver_lm75: testing files for the lm75 driver
2021-08-20 17:09:40 +02:00
Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 15:24:10 +02:00
Simon Brummer
6fba0d970c
gnrc_sock_tcp: integrate gnrc_tcp
2021-08-14 21:27:34 +02:00
Simon Brummer
11d73fbf30
gnrc_tcp: handle zero size buffers
2021-08-14 17:04:57 +02:00
benpicco
84413a3e6e
Merge pull request #16735 from brummer-simon/gnrc_tcp-add_GNRC_TCP_NO_TIMEOUT
...
gnrc_tcp: Add GNRC_TCP_NO_TIMEOUT
2021-08-14 17:00:11 +02:00
Simon Brummer
6b24601ee9
gnrc_tcp: Add GNRC_TCP_NO_TIMEOUT
2021-08-14 15:28:14 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Jan Romann
cc47e3a72d
tests/gnrc_dhcpv6_client: Refactor test functions
2021-08-12 15:37:37 +02:00
Martine Lenders
f2f6700865
Merge pull request #16228 from JKRhb/dhcp-ia-na
...
sys/net/dhcpv6: Add IA_NA support to the DHCPv6 client
2021-08-11 20:50:01 +02:00
Jan Romann
85eae9d2da
tests/gnrc_dhcpv6_client: Add test for IA_NA
2021-08-11 19:15:35 +02:00
Martine Lenders
2d7c613948
tests/gnrc_dhcpv6_relay: initial import
2021-08-11 14:30:37 +02:00
Fabian Hüßler
258681f012
tests/ztimer_periodic: fix name clash with rp2040 vendor header
2021-08-09 10:45:35 +02:00
Francisco
c4df2cca51
Merge pull request #16708 from fjmolinas/pr_edhoc_c_bump
...
pkg/edhoc: bump version
2021-08-06 09:26:28 +02:00
Martine Lenders
1b0152bd73
Merge pull request #16709 from leandrolanzieri/pr/net/netif_get_by_name_buf
...
net/netif: add function to get interface by name from a buffer
2021-08-04 19:37:55 +02:00