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

5007 Commits

Author SHA1 Message Date
2dd49a0737
Merge pull request #15966 from aabadie/pr/make/gcc_10_riscv_failures
make: silence a couple of warnings raised with gcc 10 on riscv
2021-02-16 12:05:42 +01:00
Leandro Lanzieri
4172066ab3
Merge pull request #15984 from MrKevinWeiss/pr/posix_sleep/kconfig
sys/posix_sleep: Add Kconfig support
2021-02-15 16:01:09 +01:00
Leandro Lanzieri
85da504d2d
Merge pull request #15947 from nmeum/pr/clif_get_attr_empty
clif: Don't access any data if input is empty
2021-02-15 13:53:40 +01:00
MrKevinWeiss
d5a94d79a5 tests/posix_sleep: add Kconfig configuration file 2021-02-15 12:24:38 +01:00
benpicco
3e3c4d06fb
Merge pull request #15955 from aabadie/pr/boards/microbit-v2
boards: add support for microbit v2
2021-02-13 23:48:43 +01:00
Marian Buschsieweke
efb2adf27a
Merge pull request #15977 from maribu/ptp-api-fix-adjust
drivers/periph_ptp: fix clock adjustment API
2021-02-11 17:28:02 +01:00
MrKevinWeiss
f22dede3ce test/periph_ptp_clock: Remove redundant function 2021-02-11 09:30:58 +01:00
MrKevinWeiss
73cd498dba tests/fmt_print: improve test coverage 2021-02-10 13:40:40 +01:00
c6cae514d4
tests/board_microbit: add microbit-v2 in whitelist 2021-02-10 13:39:52 +01:00
6d0942a863
Merge pull request #15963 from aabadie/pr/tests/driver_bq2429_bug
tests/driver_bq2429x: fix implicit conversion in helper function
2021-02-10 10:55:07 +01:00
Marian Buschsieweke
f95f3bf99a
tests/periph_ptp_clock: update to new API 2021-02-10 10:13:47 +01:00
f515036c91 tests/ssp: silence array-bounds warning if present
This warning is triggered on gcc 10 with riscv and makes the build to fail
2021-02-10 09:17:34 +01:00
Leandro Lanzieri
609c9ada34
Merge pull request #15945 from nmeum/pr/clif_get_attr_bounds
clif: After incrementing pos, make sure it is still in bounds
2021-02-10 08:50:10 +01:00
Martine Lenders
1db480006c
Merge pull request #15939 from namib-project/dhcp-mud-fix
sys/net/dhcpv6: Fixes for MUD URL option
2021-02-10 08:30:06 +01:00
Martine Lenders
4e9980c804
Merge pull request #15838 from fjmolinas/pr_openwsn_sock_udp_fix
pkg/openwsn/sock: fix sock_udp_close handling
2021-02-10 08:28:43 +01:00
benpicco
a69da13d56
Merge pull request #15948 from jeandudey/2021_02_08-cc1350-launchpad
boards: add cc1350 launchpad
2021-02-09 23:34:58 +01:00
Jean Pierre Dudey
2bca4d3ac3 boards: add cc1350-launchpad
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
698a09f29d
Merge pull request #15964 from aabadie/pr/tests/driver_hih6130_fix_integer_absolute
tests/driver_hih6130: fix 'absolute-value' error
2021-02-09 20:48:14 +01:00
Martine Lenders
7bb706356a
Merge pull request #15962 from miri64/pyterm/fix/space-after-prompt
pyterm: read space after prompt into prompt
2021-02-09 20:34:34 +01:00
Jan Romann
9af849387c tests/gnrc_dhcpv6_client_6lbr: add test-as-root to README 2021-02-09 19:47:47 +01:00
Jan Romann
b382de1693 tests/gnrc_dhcpv6: add test-as-root to README 2021-02-09 19:47:47 +01:00
Jan Romann
6a2aa7ad52 sys/net/dhcpv6: Fix MUD URL option 2021-02-09 19:47:47 +01:00
benpicco
b25c63757e
Merge pull request #15884 from benpicco/boards/zigduino
boards: add zigduino
2021-02-09 18:40:48 +01:00
Martine Lenders
bd96e4b400
tests/shell: add command with empty output 2021-02-09 17:17:25 +01:00
Francisco Molina
75d53b0c46
tests/pkg_openwsn_sock_udp: add test for sock_udp_close
Basic sock_udp_close() functionality is tested durin teardown,
but teardown does not test that there are no messages lingering
for the closed sock.
2021-02-09 17:04:24 +01:00
2e3488154c tests/driver_hih6130: fix 'absolute-value' error 2021-02-09 15:57:48 +01:00
eea04fd81f tests/driver_bq2429x: fix implicit conversion in helper function
The parameter expects a bq2429x_chrg_fault_t but is declared as bq2429x_chrg_stat_t
2021-02-09 15:37:58 +01:00
Benjamin Valentin
ae4d7ee116 Makefile.ci: add zigduino 2021-02-09 15:26:03 +01:00
benpicco
5fba2c8387
Merge pull request #14448 from benpicco/l2-peerstats-rebased
net/netstats: L1/L2 per neighbor statistics
2021-02-09 14:54:53 +01:00
Benjamin Valentin
b7b6beb65c tests/netstats_neighbor: add compile-test for netstats_neighbor 2021-02-09 12:27:58 +01:00
Francisco Molina
235e024483
tests/cpp11_condition_variable: reduce thread number 2021-02-09 10:16:01 +01:00
Francisco Molina
eb9d2fb5b4
tests/cpp11_condition_variable: nucleo-f334r8 reduce thread size 2021-02-09 10:16:01 +01:00
Martine Lenders
209b48e385
Merge pull request #15694 from maribu/gnrc_tx_sync
sys/net/gnrc/tx_sync: new module
2021-02-08 19:47:43 +01:00
Marian Buschsieweke
bd37457e14
tests/gnrc_tx_sync: add test for gnrc_tx_sync 2021-02-08 16:13:11 +01:00
Sören Tempel
0d141bf93a clif: Don't access any data if input is empty
This is relevant as clif_decode_link may invoke clif_get_attr with
input_len == 0.
2021-02-08 13:42:18 +01:00
Sören Tempel
767e700a5f clif: After incrementing pos, make sure it is still in bounds
While the for-loop condition does contain a bounds check, the pointer is
independently increment in the for-loop body. This increment therefore
requires a separate bounds check. Otherwise, the parsing loop may access
data outside the given buffer boundaries.
2021-02-08 11:29:44 +01:00
Cenk Gündoğan
6ef29d9b53
tests: uri_parser: new test to check empty host 2021-02-05 13:32:49 +01:00
Sören Tempel
333572e091 uri_parser: check if uri is long enough to even contain a ://
Before attempting to access these characters. This fixes an
out-of-bounds read on the provided URI buffer.
2021-02-04 20:08:26 +01:00
Leandro Lanzieri
f0762c5114
tests: check Kconfig before setting CFLAGS for shell configs 2021-02-04 12:46:26 +01:00
Leandro Lanzieri
67f36d78a9
sys/shell: document configs and add to Kconfig 2021-02-04 09:19:43 +01:00
Marian Buschsieweke
f685996cd0
Merge pull request #15405 from benpicco/boards/bluepill-stm32f030c8t6
boards/bluepill-stm32f030c8: add STM32F030C8 based bluepill board
2021-02-03 07:45:14 +01:00
Benjamin Valentin
d3ca85ad65 tests: add bluepill-stm32f030c8 to Makefile.ci 2021-02-02 23:47:40 +01:00
Marian Buschsieweke
e0f457663c
Merge pull request #15901 from OTAkeys/pr/ztimer_rmutex_lock_timeout
ztimer: add ztimer_rmutex_lock_timeout()
2021-02-02 20:47:53 +01:00
Vincent Dupont
fb4d2e509a ztimer: add ztimer_rmutex_lock_timeout()
Similar to xtimer_rmutex_lock_timeout()
2021-02-02 10:51:50 +01:00
f5b6ebf1cb
unittests/flashpage: force uniform flashpage layout
The unittest for flashpage only checks the inline flashpage_ functions
with the assumption that the flashpage layout is uniform. This commit
undefines the macro guarding those functions to force them to be
included even when the flashpage peripheral defines own implementations.
2021-02-01 18:23:05 +01:00
2bcddba5ca
tests/periph_flashpage: Make FLASHPAGE_SIZE optional 2021-02-01 17:22:07 +01:00
Francisco
0903952564
Merge pull request #15880 from aabadie/pr/tests/_nrf51dk_timeout_fixes
tests: increase timeout for nrf51dk
2021-02-01 11:05:17 +01:00
benpicco
a61edaa32a
Merge pull request #15874 from btcven/2021_01_27-ieee802154-submac
tests/ieee802154_submac: check netdev_driver_t::recv return value
2021-01-29 21:30:06 +01:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
4443b23348
tests/suit_manifest: increase timeout for nrf51dk 2021-01-28 13:41:15 +01:00
54dcd04105
tests/pkg_wolfssl: increase timeout for nrf51dk 2021-01-28 13:41:05 +01:00
6edb3a9e1b
tests/pkg_wolfcrypt-ed25519-verify: increase timeout for nrf51dk 2021-01-28 13:40:54 +01:00
dfa10efef4
tests/pkg_libcose: increase test timeout for nrf51dk 2021-01-28 13:40:24 +01:00
Benjamin Valentin
d20a570f43 tests/mtd_raw: fix auto-test for memory that erases to 0 2021-01-28 11:51:28 +01:00
Benjamin Valentin
e6763b9b68 tests/mtd_raw: fix initial size output 2021-01-28 11:51:28 +01:00
Benjamin Valentin
ebe4fc0bc1 tests/mtd_raw: include mtd_write_page() in test 2021-01-28 11:51:28 +01:00
Benjamin Valentin
c569d9a1d9 drivers: add MTD_DRIVER_FLAG_DIRECT_WRITE to mtd drivers
- EEPROMs don't need read-modify-write cylce
 - SD cards will handle read-modify-write internally
2021-01-28 11:51:28 +01:00
999849fac4
tests/driver_bq2429x: move test to test-with-config 2021-01-28 09:17:39 +01:00
Jean Pierre Dudey
bb65b3b0af tests/ieee802154_submac: check netdev_driver_t::recv return value
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-27 22:52:21 +01:00
550be21cfc
Merge pull request #15868 from aabadie/pr/pkg/libfixmath_nump_version
pkg/libfixmath: bump version to latest master
2021-01-27 17:56:39 +01:00
543b26c7ab
tests/pkg_libfixmath_unittests: exclude new small boards 2021-01-27 16:58:47 +01:00
Francisco
dc801b9dde
Merge pull request #15817 from leandrolanzieri/pr/kconfig/sys_crypto
sys/{crypto, hashes, random}: add modules to Kconfig
2021-01-27 10:20:11 +01:00
benpicco
98726ded6d
Merge pull request #14662 from benpicco/cpu/samd20
cpu/samd21: add support for SAMD20 & SAM D20 Xplained Pro board
2021-01-26 19:14:36 +01:00
Leandro Lanzieri
589904e6e8
tests: add crypto and prng kconfig configurations 2021-01-26 17:50:20 +01:00
Martine S. Lenders
e1925cac85
tests/gnrc_ipv6_ext_frag: fetch Interface IDs dynamically
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2021-01-26 15:25:22 +01:00
Benjamin Valentin
60eb75da3c mtd: rename mtd_write_page() -> mtd_write_page_raw()
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
d8918c24fa socket_zep: register with netdev 2021-01-25 22:59:01 +01:00
d0f3cefc7e
tests/driver_apds99xx*: move to test-with-config 2021-01-25 21:10:08 +01:00
f8fb26835c
tests/driver_si1133: move to test-with-config 2021-01-25 21:10:08 +01:00
5ec41f35c7
tests/driver_bme680: move to test-with-config
If the configuration is correct, the test should succeed, so the test script is adapted
2021-01-25 21:10:08 +01:00
5e43172c87
tests/driver_ds3231: move to test-with-config 2021-01-25 21:10:08 +01:00
76e186571b
tests: fix auto use of interactive sync module 2021-01-25 21:10:08 +01:00
ffa28ef731
tests/gnrc_sock_dns: move to test-with-config 2021-01-25 21:10:08 +01:00
aeadbfc80d
tests/driver_my9221: move to test-with-config 2021-01-25 21:10:08 +01:00
d0a3f3090b
tests/driver_grove_ledbar: move to test-with-config 2021-01-25 21:10:08 +01:00
60c8e027d0
tests/driver_hd44780: move to test-with-config 2021-01-25 21:10:08 +01:00
16652e83f1
tests/driver_ds1307: move to test-with-config 2021-01-25 21:10:07 +01:00
e071444af7
tests/driver_at86rf2xx_aes: move to test-with-config 2021-01-25 21:10:07 +01:00
239e7cadfb
tests/gnrc_*: move to tests-as-root 2021-01-25 21:10:07 +01:00
9821835e28
tests/emcute: move to tests-as-root 2021-01-25 21:10:07 +01:00
072718b04b
examples: tests: move lorawan examples to tests-with-config 2021-01-25 21:10:06 +01:00
Gaëtan Harter
80b9290bb1
tests/pkg_fatfs_vfs: declare test as test-with-config
For running the test on boards, it needs a manual setup.
This however declares the "native" test as requiring config too.

No need to be blacklisted when using test-with-config.
2021-01-25 21:10:06 +01:00
Gaëtan Harter
54c4536945
tests: add 'test-as-root' and 'test-with-config' targets
These targets cannot be used in an automated testing workflow without
complex configuration or extend rights.

- Add new 'test-as-root' target for tests that require to be root or
start an external daemon as root
- Add new 'test-with-config' target for tests that require a specific
configuration to succeed (module configuration or hardware
configuration)
2021-01-25 21:10:06 +01:00
benpicco
83201ddb00
Merge pull request #15760 from maribu/sock-aux-rssi
sys/net/sock: add sock_aux_rssi
2021-01-25 18:51:11 +01:00
Marian Buschsieweke
4c91ac1afd
tests/sock_udp_aux: new test application 2021-01-25 15:50:24 +01:00
fabian18
dc9e915231 tests/driver_nrf24l01p_ng: Test for nrf24l01p netdev driver 2021-01-24 20:49:39 +01:00
benpicco
1a30a3a280
Merge pull request #15707 from ML-PA-Consulting-GmbH/fix/20210105__sam0_common-periph-flashpage__fix_unaligned_write
sam0_common/periph/flashpage: fix unaligned write
2021-01-22 20:24:53 +01:00
Jean Pierre Dudey
273721efc0 drivers: add bq2429x power management IC driver
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-22 19:30:12 +01:00
Martine Lenders
879fbc179e
Merge pull request #15755 from janosbrodbeck/pr/dtls/get_event_session
sock/async: add function to retrieve session object of current DTLS event
2021-01-22 10:51:51 +01:00
Benjamin Valentin
33fec8b9dc boards/samd20-xpro: add support for SAM D20 Xplained Pro 2021-01-21 20:29:15 +01:00
János Brodbeck
c65b4d378b
tests/pkg_tinydtls_sock_async: use sock_dtls_get_event_session()
in DTLS handler
2021-01-21 19:43:15 +01:00
Leandro Lanzieri
e5f5d2e303
tests/driver_s*: add Kconfig configuration files 2021-01-21 11:24:31 +01:00
Francisco
bd8519808c
Merge pull request #15719 from leandrolanzieri/pr/kconfig/drivers_tuvw
drivers/{t, v, u, w}*: add modules to Kconfig
2021-01-21 11:16:53 +01:00
Leandro Lanzieri
062a6603c6
tests/driver: add Kconfig configuration files 2021-01-21 10:02:34 +01:00
Leandro Lanzieri
d2ca66e476
tests: add common Kconfig configuration for sync 2021-01-20 17:36:14 +01:00
Francisco
5c5ec632a5
Merge pull request #15716 from leandrolanzieri/pr/kconfig/ztimer
sys/ztimer: add modules to Kconfig
2021-01-20 15:31:20 +01:00
5bc7555ae7
Merge pull request #15794 from fjmolinas/pr_fix_posix_sleep
tests/posix_sleep: fix for invalid RTT configurations
2021-01-20 14:07:23 +01:00
a1250963d4
Merge pull request #15780 from haukepetersen/opt_ztimer_isset
ztimer: add ztimer_is_set() to user API
2021-01-20 12:42:21 +01:00
Daniel Lockau
13670be9bb tests/periph_flashpage: test unaligned write for sam0
Adds test of unaligned write to already integrated sam0_common config area test.
2021-01-20 09:55:46 +01:00
Francisco Molina
bafcaecca8
tests/posix_sleep: dont use periph_rtt for efm32 and kinetis
These CPU families have a non configurable RTT of 1Hz, not enough for
ztimer_msec to run on periph_rtt.
2021-01-19 13:37:06 +01:00