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

5901 Commits

Author SHA1 Message Date
Francisco Molina
0fa1551500 sys/posix: convert to ztimer64_usec 2022-03-10 14:24:57 +01:00
Francisco Molina
f6e9609363 treewide: use sema_deprecated when required 2022-03-10 14:24:46 +01:00
Francisco Molina
2e2daae5d0 sys/sema: use sema_ztimer64 to implement old sema api
This PR removes the old xtimer based implementation for sema. Since
this implementation used 64bit timeout, backweard compatibility is
kept by having `sema_wait_timed` be implemented by `ztimer64_usec`
which is enabled by selecting `sema_deprecated`

With this 64bit `sema` api is now deprecated.
2022-03-10 14:19:44 +01:00
Francisco
9cbca219b2
Merge pull request #17783 from gschorcht/drivers/sht3x_ztimer_msec
drivers/sht3x: ztimer_msec port
2022-03-10 09:03:36 +01:00
benpicco
ddf8f67e54
Merge pull request #17779 from benpicco/LWIP_SO_RCVTIMEO
lwip: enable LWIP_SO_RCVTIMEO if sock layer is used
2022-03-10 08:34:29 +01:00
Gunar Schorcht
2a42dc97aa tests/driver_sht3x: ztimer_msec port 2022-03-10 07:27:06 +01:00
benpicco
60fb36eb1e
Merge pull request #17710 from benpicco/sys/bitfield-ops
sys/bitfield: add support for bit-wise bitfield operations
2022-03-09 22:09:34 +01:00
Benjamin Valentin
eb45c729da tests/lwip_sock_*: drop LWIP_SO_RCVTIMEO
This is now set automatically
2022-03-09 22:07:22 +01:00
a3fc5c1d17
Merge pull request #17697 from viktorbatista/drivers/lps22ch
driver/lpsxxx: adding lps22ch support
2022-03-09 21:28:11 +01:00
benpicco
840067cd9e
Merge pull request #16174 from miri64/core/enh/msg-queue-metrics
core: add functionality to check queue state of another thread
2022-03-09 17:10:38 +01:00
Vic
947efa7d65 driver/lpsxxx: adding lps22ch support 2022-03-09 15:23:51 +01:00
benpicco
f83fa88ccd
Merge pull request #17764 from HendrikVE/pr/netutils_netutils_get_ipv4
sys/net/netutils: add netutils_get_ipv4()
2022-03-09 11:30:38 +01:00
Leandro Lanzieri
34dc24822f
Merge pull request #17669 from MrKevinWeiss/pr/kconfig/netdrivers
drivers/*/Kconfig: Cleanup of simple drivers
2022-03-09 09:23:54 +01:00
chrysn
d3e1a1ac9c
Merge pull request #17761 from chrysn-pull-requests/riot-updates
{examples,tests}/rust: Rust updates (-sys/-wrappers version, stable)
2022-03-08 23:32:56 +01:00
Marian Buschsieweke
0eaaca42b2
Merge pull request #17477 from jenswet/feature/pkg-etl
pkg/etl: Add the embedded template library (etl)
2022-03-08 19:40:17 +01:00
Hendrik van Essen
ffd93c9b1b sys/net/netutils: add netutils_get_ipv4() 2022-03-08 13:35:32 +01:00
chrysn
fce36e2ad2 {examples,tests}/rust: Ready for building on stable Rust
Contributes-To: https://github.com/RIOT-OS/RIOT/issues/17526
2022-03-08 12:44:49 +01:00
chrysn
48a4075dfc {examples,tests}/rust: Follow riot-wrappers deprecations 2022-03-08 12:44:49 +01:00
chrysn
ddc2bf8853 {examples,tests}/rust: cargo update 2022-03-08 12:44:44 +01:00
Benjamin Valentin
acbeb527ff tests/unittests: add test for bitfield operations 2022-03-08 10:28:31 +01:00
benpicco
8281dc21bc
Merge pull request #17752 from benpicco/ipv6_addr_init
sys/net/ipv6: add ipv6_addr_init() helper function
2022-03-07 15:13:19 +01:00
Jens Wetterich
01f502b753 pkg/etl: Add the embedded template library (etl) 2022-03-06 16:22:53 +01:00
benpicco
f31fdfd12d
Merge pull request #17747 from leandrolanzieri/drivers/encx24j600/default_params
drivers/encx24j600: define default parameters
2022-03-05 10:29:48 +01:00
Marian Buschsieweke
28e7dbcb9e
Merge pull request #17750 from fjmolinas/pr_df_player_event_thread_lowest
tests/driver_dfplayer: use event_thread instead of event_thread_lowest
2022-03-04 18:28:07 +01:00
Leandro Lanzieri
9f93296081
Merge pull request #17749 from fjmolinas/pr_cpu_avr8_xmega_driver_board
tests/cpu_avr8_xmega_driver: fix BOARD name
2022-03-04 18:27:04 +01:00
benpicco
761bac3e0d
Merge pull request #17748 from fjmolinas/pr_gnrc_dhcpv6_client_stateless_netdev_default
tests/gnrc_dhcpv6_client_stateless: use netdev_default
2022-03-04 18:26:20 +01:00
Francisco Molina
bb0a406af5 tests/*: add BOARDs to Makefile.ci
These BOARDs overlflowed in ROM after arm-none-eabi-gcc version
in riot/riotbuild changed to 10.3.2
2022-03-04 17:15:11 +01:00
Benjamin Valentin
91ad8ec403 sys/net/ipv6: add ipv6_addr_init() helper function
Setting a compile-time const IP address can be a bit cumbersome.
Add a helper function to easy the process.
2022-03-04 15:34:15 +01:00
MrKevinWeiss
8064bc7493
drivers/vcnl40x0: Update kconfig model 2022-03-04 14:16:00 +01:00
MrKevinWeiss
f185d7acab
drivers/si114x: Update kconfig model 2022-03-04 14:15:55 +01:00
MrKevinWeiss
b443ca5794
drivers/pn532: Update kconfig model 2022-03-04 14:15:50 +01:00
MrKevinWeiss
551d25a296
drivers/mhz19: Update kconfig model 2022-03-04 14:15:46 +01:00
MrKevinWeiss
d2f3e6c0de
drivers/ina2xx: Update kconfig model 2022-03-04 14:15:42 +01:00
MrKevinWeiss
8979586e7d
drivers/dac_dds: Update kconfig model 2022-03-04 14:15:35 +01:00
MrKevinWeiss
ce4b0f03c0
drivers/cst816s: Update kconfig model 2022-03-04 14:15:34 +01:00
Francisco Molina
7f6269cee0 tests/cpu_avr8_xmega_driver: fix BOARD name 2022-03-04 10:36:45 +01:00
Francisco Molina
2f1f77f626 tests/driver_dfplayer: use event_thread instead of event_thread_lowest 2022-03-04 10:36:20 +01:00
Francisco Molina
1d1f764645 tests/gnrc_dhcpv6_client_stateless: use netdev_default 2022-03-04 10:35:27 +01:00
Leandro Lanzieri
de79edb352
drivers/encx24j600: define default parameters 2022-03-04 09:58:50 +01:00
Martine Lenders
f9efe364b4
tests: add tests for msg_queue_capacity() 2022-03-03 16:50:34 +01:00
Francisco Molina
8516e258a3 tests/lwip*: use ztimer instead of xtimer 2022-03-03 15:54:22 +01:00
benpicco
21205bd6ce
Merge pull request #17351 from benpicco/ztimer_periodic-return
ztimer_periodic: make callback function return bool
2022-03-03 14:42:33 +01:00
MrKevinWeiss
af45f94a2f
drivers/adcxx1c: Update kconfig model 2022-03-02 14:03:28 +01:00
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