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

5582 Commits

Author SHA1 Message Date
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
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
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
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
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