Benjamin Valentin
a338b65d29
tests/driver_lis2dh12: add support for temperature sensor
2021-06-03 12:59:50 +02:00
Benjamin Valentin
0ab186ad50
tests/driver_lis2dh12: adapt to API changes
2021-06-03 12:59:50 +02:00
MaestroOnICe
dc8f7912e9
boards: add Seeeduino XIAO
2021-06-02 14:23:55 +02:00
Martine Lenders
e142001221
Merge pull request #15168 from JulianHolzwarth/pr/software/test/IPC/change
...
core/msg.c: fixed msg_queue_print()
2021-06-02 12:18:04 +02:00
JulianHolzwarth
08382fed33
tests/msg_queue_print/: new test for msg_queue_print
2021-06-02 01:28:28 +02:00
fde0bb7819
Merge pull request #16505 from fjmolinas/pr_event_timeout_ztimer
...
sys/event/timeout: add option to use ztimer as backend
2021-06-01 12:19:39 +02:00
12a03c60e5
tests: examples: use IOTLAB_NODE=auto instead of auto-ssh
2021-05-28 17:23:11 +02:00
Francisco Molina
4f34e50130
sys/event/timeout: add option to use ztimer as backend
2021-05-27 22:34:01 +02:00
08049fbb79
tests/pkg_qr-code-generator: remove dependency to auto_init_screen
2021-05-25 14:22:25 +02:00
7d5051f2ec
tests/{disp,touch}_dev: remove dependency to auto_init_screen
2021-05-25 14:21:58 +02:00
79dd9a4e3a
tests/pkg_qr-code-generator: add disp-dev for esp32-wrover-kit
2021-05-22 09:30:44 +02:00
876004442a
Merge pull request #16486 from aabadie/pr/pkg/lvgl_remove_internal_thread
...
pkg/lvgl: remove internal thread
2021-05-21 16:50:49 +02:00
Francisco
9b449fba98
Merge pull request #16185 from aabadie/pr/drivers/sx127x_uncrustify
...
drivers/sx127x: uncrustify code
2021-05-21 11:45:25 +02:00
c09c7d549d
tests/pkg_lvgl: remove manual call to sysmon_task
2021-05-20 20:56:17 +02:00
ef6d377197
tests/pkg_lvgl*: adapt to new behavior
2021-05-20 13:06:49 +02:00
9c749bc214
Merge pull request #16480 from aabadie/pr/tests/touch_dev_enh
...
tests/touch_dev: improve genericity by using auto_init_screen module
2021-05-19 12:24:28 +02:00
e7983908f9
tests/touch_dev: use auto_init_screen
2021-05-19 11:30:32 +02:00
4b2f9af90f
tests/disp_dev: improve screen cleanup speed
2021-05-19 10:01:03 +02:00
12a0adc57c
tests/disp_dev: use auto_init_screen
...
This removes the explicit dependency to ili9341 driver
2021-05-19 09:59:23 +02:00
47bf32ed02
tests/driver_sx127x: uncrustify code
2021-05-18 11:00:44 +02:00
Gerson Fernando Budke
8a2c88a808
boards/atxmega-a3bu-xplained: Add spi configuration
...
Add J1 header spi configuration.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-05-14 23:26:08 -03:00
Gerson Fernando Budke
8cc9c42d1d
boards/atxmega-a1u-xpro: Add spi configuration
...
Add EXT-1 spi bus configuration.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-05-14 23:26:08 -03:00
Gerson Fernando Budke
91316a879a
cpu/atxmega/periph/spi: Add spi driver
...
Introduce SPI driver.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-05-14 23:26:08 -03:00
Marian Buschsieweke
c210975108
Merge pull request #16443 from maribu/tests/malloc
...
sys/malloc_thread_safety: fix potential overflow in multiplication
2021-05-13 14:38:59 +02:00
Jnae
b287d120ff
at86rf215: timestamp counter for rx frames
2021-05-12 15:27:36 +02:00
55fc61f295
tests/pkg_qr-code-generator: improve encoder buffer lenghts
2021-05-11 13:47:55 +02:00
74ad930be9
tests/pkg_qr-code-generator: optimize display in test application
2021-05-11 09:25:29 +02:00
Marian Buschsieweke
8c31227060
tests/malloc: test for correct calloc() behavior
2021-05-10 18:04:53 +02:00
4e37e1ad44
tests/pkg_qr-code-generator: extend with disp_dev API
2021-05-10 14:25:18 +02:00
08ae97257c
tests: add test application for qrcode package
2021-05-09 17:19:13 +02:00
Francisco
8cb8bba4e7
Merge pull request #16104 from maribu/external_modules
...
build system: Rework EXTERNAL_MODULE_DIRS
2021-05-07 23:27:17 +02:00
Marian Buschsieweke
81411e3539
tests: Update to new EXTERNAL_MODULE_DIRS interface
2021-05-07 21:29:16 +02:00
Marian Buschsieweke
ef5ec6d038
tests/external_module_dirs: update to new interface
2021-05-07 21:29:10 +02:00
benpicco
619a444741
Merge pull request #16347 from benpicco/drivers/rtt_rtc-rtc_get_time_ms
...
drivers/rtt_rtc: implement rtc_get_time_ms()
2021-05-05 19:13:21 +02:00
Leandro Lanzieri
d36628d37e
Merge pull request #16183 from Ollrogge/aes_pr
...
sys/crypto: Enable support for AES-192, AES-256
2021-05-05 09:19:12 +02:00
Francisco
3cb3b5ab85
Merge pull request #16133 from miri64/congure_mock/enh/real-methods
...
congure_mock: add capability to provide actual methods
2021-05-04 11:06:35 +02:00
38062c414c
Merge pull request #16426 from fjmolinas/pr_small_test_fixes
...
tests: small fixes
2021-05-04 10:02:09 +02:00
c49162cc66
Merge pull request #16427 from fjmolinas/pr_test_malloc_refactor
...
tests/malloc: refactor test
2021-05-04 10:01:47 +02:00
Ollrogge
46a0ef07b1
tests/sys/crypto: Split test application to reduce size
2021-05-03 17:40:33 +02:00
Ollrogge
3f529904b7
sys/crypto: Add AES-CCM NIST SP 800-38C testvectors
2021-05-03 17:34:53 +02:00
Ollrogge
b1a2d4787d
sys/crypto: Remove leftover code related to deprecated 3DES block cipher
2021-05-03 17:34:53 +02:00
Ollrogge
427d2bd06e
sys/crypto: Enable support for AES-192, AES-256
2021-05-03 17:34:49 +02:00
Francisco Molina
2d690ee05a
tests/malloc: refactor test
...
Matching on every free leads to flimsy test results where all memory
is freed but one line fails to be matched by pexpect, instead, match
the final count.
2021-05-03 17:17:49 +02:00
Francisco Molina
4826867188
tests/pthread_cooperation: nucleo-f334r8: reduce stack size
2021-05-03 10:17:11 +02:00
Francisco Molina
4ecf5b29af
tests/pkg_tensorflow-lite: insufficient memory nucleo-g071rb
2021-05-03 08:19:39 +02:00
Benjamin Valentin
84bb42ce1f
tests/periph_rtc: add rtc_get_time_ms() to test
2021-05-03 00:09:18 +02:00
Benjamin Valentin
c7c4d75dfe
tests/periph_flashpage: respect FLASHPAGE_WRITE_BLOCK_SIZE
2021-04-29 17:57:05 +02:00
Leandro Lanzieri
a60b53005a
pkg/lvgl: model dependency resolution in Kconfig
2021-04-28 11:19:24 +02:00
99df6bd03b
tests/pkg_lvgl*: add Kconfig sample configuration
2021-04-28 11:19:22 +02:00
Hauke Petersen
0b1ca863a1
tests/driver_bmx280: add xtimer dependency
2021-04-27 14:24:28 +02:00
benpicco
1b7c62a992
Merge pull request #16306 from nandojve/xmega_i2c
...
cpu/atxmega/periph: Add i2c driver
2021-04-26 14:34:42 +02:00
a43b6b38cc
Merge pull request #16353 from fjmolinas/pr_test_dbgpin_frdm-k64f
...
tests/dbgpin: user port 1 for frdm-k64f
2021-04-26 12:03:18 +02:00
Francisco Molina
f3999be3d4
tests/dbgpin: user port 1 for frdm-k64f
2021-04-26 10:40:24 +02:00
88e8a971df
Merge pull request #16351 from fjmolinas/pr_avr_flashpage_unittest
...
tests/periph_flashpage_unittest: lower FLASHPAGE_SIZE for 8bit overflow
2021-04-26 10:09:18 +02:00
Gerson Fernando Budke
a4c5daea3b
boards/atxmega-a3bu-xplained: Add i2c configuration
...
Add J1 i2c bus configuration.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-25 22:06:29 -03:00
Gerson Fernando Budke
084625fa0d
boards/atxmega-a1u-xpro: Add i2c configuration
...
Add EXT-1 i2c bus configuration.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-25 22:06:29 -03:00
Hauke Petersen
a7a3244b8f
Merge pull request #16367 from kaspar030/fix_ztimer_is_set
...
ztimer: fix `ztimer_is_set()`
2021-04-22 12:06:41 +02:00
20981e5f7c
tests/unittests: tests-ztimer: add ztimer_is_set() regression test
2021-04-22 11:12:48 +02:00
Bas Stottelaar
cc645c083e
Merge pull request #15684 from iosabi/drv_si705x
...
drivers/si70xx: Add support for Si705x sensors
2021-04-21 22:29:01 +02:00
Akshai M
bd8f571895
unittests: Add WL
to insufficient mem list
2021-04-20 21:04:36 +02:00
Francisco Molina
ad781da36f
tests/pkg_tensorflow-lite/Makefile.ci: explicit list
...
Explicitly list BOARD_INSUFFICIENT_MEMORY so
dist/tools/compile_and_test_for_board can filter out BOARDs.
2021-04-20 15:35:20 +02:00
Francisco Molina
91269794d9
tests/periph_flashpage_unittest: lower FLASHPAGE_SIZE for int overflow
...
On AVR_8 512*256 causes an int overflow.
2021-04-20 14:59:50 +02:00
iosabi
f72efb1daf
drivers/si70xx: Add support for Si705x sensors
...
The Silicon Labs Si705x sensors (Si7050/1/3/4/5) are very similar to the
Si7021 sensors featuring only a temperature sensor and no humidity
sensor. The only difference between the Si705x is the temperature
accuracy of the reading, ranging from +/- 0.1 C in the Si7051 to +/- 1 C
in the Si7050.
This patch adds support for this family of sensors extending the
functionality of the existing si70xx driver. Following the style of
other modules, this implements a pseudomodule per supported chip, adding
si7050, si7051, si7053, si7054 and si7055 pseudomodules.
As a minor change this patch also implements the missing
si70xx_get_serial, si70xx_get_id and si70xx_get_revision functions that
were declared in the si70xx.h header but implemented as private
functions. The si70xx_get_id() may be relevant for the application to
know at run time exactly which version of the hardware is installed.
The updated test running with a Si7051 shows the following output, which
seems consistent with the room temperature conditions during the test.
```
make SI70XX_VARIANT=si7051 -C tests/driver_si70xx/ all flash
```
```
SI70XX temperature and humidity sensor test application
Initializing sensor...
[OK]
Found SI7051 sensor, revision 32
temperature: 24.71 C
temperature: 24.69 C
```
2021-04-17 20:14:35 +00:00
Martine Lenders
dec82b2475
Merge pull request #16329 from miri64/tests/fix/periph_rtt_min-timeout
...
tests/periph_rtt_min: adapt for slower RTTs
2021-04-16 16:53:54 +02:00
Martine Lenders
e27675bc10
tests/periph_rtt_min: adapt for slower RTTs
2021-04-16 11:11:37 +02:00
95a2456457
Merge pull request #16330 from kfessel/p-add-clist-special
...
core/clist: add special cardinality tests and matching unittest
2021-04-15 12:14:58 +02:00
Hauke Petersen
9bd65efe12
tests/nimble_l2cap: fix missing xtimer.h include
2021-04-15 08:21:56 +02:00
Karl Fessel
5735d99971
core/clist: add special cardinality tests and matching unittest
...
adds clist_exactly_one() and clist_more_than_one()
and a unittest that tests them
2021-04-14 21:00:10 +02:00
Karl Fessel
1dde0f42d4
core/sched: keep scheduler clist internal to sched
...
adds sched_runq_advance(prio)
used it in core/thread and
test malloc_thread_safety
2021-04-14 09:53:04 +02:00
Martine Lenders
33ca462af6
Merge pull request #16325 from miri64/tests/fix/tests-rtc
...
tests/unittests/tests-rtc: do not use DST info for normalization
2021-04-13 18:16:47 +02:00
benpicco
0ede891755
Merge pull request #16223 from chrysn-pull-requests/dac-dds-int-range
...
tests/dac_dds: Fix sine wave to fit in PCM range
2021-04-13 14:57:58 +02:00
Martine Lenders
873b71c3e9
tests/unittests/tests-rtc: do not use DST info for normalization
...
`rtc_tm_normalize` does not use it, so `mktime` should not either.
2021-04-13 14:37:19 +02:00
benpicco
bd6114ae9d
Merge pull request #16187 from benpicco/cpu/sam0_common/get_tamper
...
cpu/sam0_common: add rtc_get_tamper_event()
2021-04-13 14:11:46 +02:00
benpicco
fa8057ffbf
Merge pull request #16180 from nicoHarel/drivers/ds3231
...
drivers/ds3231: add alarm support
2021-04-13 13:57:16 +02:00
Francisco
2f28ad4f1c
Merge pull request #16231 from maribu/tests/malloc_thread_safety
...
tests/malloc_thread_safety: improve test
2021-04-13 11:00:16 +02:00
Benjamin Valentin
55c95cd8fd
tests/periph_gpio: display tamper wake event
2021-04-13 10:45:16 +02:00
Leandro Lanzieri
58ec967cc6
Merge pull request #16264 from MrKevinWeiss/pr/pkgupdate/kconfig
...
pkg/*/Kconfig: Model simple pkgs in Kconfig
2021-04-12 19:01:18 +02:00
Hauke Petersen
9926e33751
Merge pull request #15782 from haukepetersen/opt_sema_ztimer
...
sys/sema: allow to use ztimer and/or xtimer
2021-04-12 14:44:31 +02:00
Francisco
505dcb7a62
Merge pull request #16314 from miri64/tests/enh/periph_rtt_min
...
tests/periph_rtt_min: harden test
2021-04-12 14:11:41 +02:00
Hauke Petersen
4cd9e96066
tests/sema: add test for sema_wait_timed_ztimer()
2021-04-12 13:08:39 +02:00
Martine Lenders
fc6dc25da4
tests/periph_rtt_min: harden test
...
- Better self-containment: read number of expected samples from output
rather than the environment
- Less reliance on `stdout` timing: Count samples in application and
output it rather then counting flushed dots.
2021-04-12 11:56:25 +02:00
iosabi
9974803f43
tests/lwip: Add a test for partial TCP reads.
...
Add a new test to check the behavior of `sock_tcp_read` when more data
is available in the connection than the buffer passed. This test checks
issue #16124 as well as reading from multiple small network packets into
a single buffer.
2021-04-10 17:14:11 +00:00
6ee94bdcdf
Merge pull request #16222 from fjmolinas/pr_driver_sgp30
...
driver/sgp30: initial import
2021-04-09 14:00:38 +02:00
f48aba5035
tests/unittests: add clist_is_empty() test case
2021-04-09 10:54:29 +02:00
MrKevinWeiss
600e9f4e47
tests/pkg*: Add app.config.test to pkg tests
...
This adds app config to the package tests that are available:
- tests/pkg_c25519
- tests/pkg_cayenne-lpp
- tests/pkg_cifra
- tests/pkg_cn-cbor
- tests/pkg_emlearn
- tests/pkg_hacl
- tests/pkg_heatshrink
- tests/pkg_jsmn
- tests/pkg_libb2
- tests/pkg_libcose
- tests/pkg_libfixmath
- tests/pkg_libhydrogen
- tests/pkg_lora-serialization
- tests/pkg_micro-ecc
- tests/pkg_minmea
- tests/pkg_monocypher
- tests/pkg_nanocbor
- tests/pkg_nanopb
- tests/pkg_qcbor
- tests/pkg_qdsa
- tests/pkg_relic
- tests/pkg_tiny-asn1
- tests/pkg_tinycbor
- tests/pkg_tinycrypt
- tests/pkg_tweetnacl
- tests/pkg_yxml
2021-04-08 16:44:10 +02:00
benpicco
6ce9db6df8
Merge pull request #16287 from nandojve/avr8_xmega-a3bu_xpld
...
boards: Introduce atxmega-a3bu-xplained board
2021-04-08 13:19:04 +02:00
Francisco Molina
6c4cb07a2f
tests/driver_sgp30: initial import
2021-04-08 10:14:30 +02:00
Leandro Lanzieri
e7732d9a00
Merge pull request #16217 from fjmolinas/pr_driver_sm_pwm_01c
...
drivers/sm_pwm_01c: initial import
2021-04-08 09:04:38 +02:00
Gerson Fernando Budke
6149531684
boards: Introduce atxmega-a3bu-xplained board
...
Add initial version.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-04-07 20:06:11 -03:00
Francisco Molina
a886c311e8
tests/driver_sm_pwm_01c: initial import
2021-04-07 12:05:09 +02:00
Francisco Molina
424192fbe7
sys/progress_bar: add Konfig configuration
2021-04-07 12:05:00 +02:00
Nicolas Harel
c710aff9c6
drivers/ds3231: add alarm support
...
tests/driver_ds3231
drivers/ds3231: add alarm support with IRQ
drivers/ds3231: alarm support and documentation
drivers/ds3231: alarm interrupt with mutex
drivers/ds3231: alarm, _unlock function
fixup! drivers/ds3231: add alarm support
2021-04-06 14:48:31 +02:00
Peter Kietzmann
f3482071e1
Merge pull request #16179 from leandrolanzieri/dev/net/sock/dtls_multi_cred
...
net/sock/dtls: allow using multiple credentials
2021-04-06 10:04:45 +02:00
Francisco
73ccd1e2e7
Merge pull request #15540 from JulianHolzwarth/pr/software/test/sema
...
tests/sema/: added simple sema test
2021-04-02 22:03:36 +02:00
JulianHolzwarth
20a3a929c8
tests/sema/: added sema test
2021-04-02 19:40:33 +02:00
Francisco
9d1d2f9e21
Merge pull request #16172 from kfessel/p-zimer-sec
...
sys/ztimer: add ZTIMER_SEC, improve auto_init
2021-04-02 08:32:38 +02:00
Karl Fessel
febfa5bc62
tests/ztimer_xsec: add a simple high level ztimer test
2021-04-01 18:19:15 +02:00
Marian Buschsieweke
fc3e0b6055
tests/ztimer_underflow: allow testing ZTIMER_SEC
2021-04-01 15:31:40 +02:00
Marian Buschsieweke
cc92a0aea3
tests/ztimer_msg: Allow testing ZTIMER_SEC
2021-04-01 15:31:40 +02:00
Leandro Lanzieri
88d94daeb6
tests: add atmega328p-xplained-mini to insufficient memory list
2021-04-01 10:33:48 +02:00
Leandro Lanzieri
835589a301
tests/pkg_tinydtls_sock_async: add missing ID to server PSK
2021-04-01 09:47:39 +02:00
benpicco
cb06924fb2
Merge pull request #16239 from nandojve/xplained-mini
...
boards: introduce atmega328p-xplained-mini
2021-03-31 13:37:56 +02:00
Hauke Petersen
98de4b968a
tests: add event_wait_timeout_ztimer test app
2021-03-31 10:11:51 +02:00
Marian Buschsieweke
02e069a357
tests/malloc_thread_safety: improve test
...
- fix false test failure on picolibc
- For picolibc, the result of mallinfo().uordblks doesn't go back
to zero after the first allocation. By adding `free(malloc(4))`
before recording the pre-test mallinfo() value, this issues is
worked arround
- increase test coverage to also cover realloc()
- ease testing with picolibc by allowing `make PICOLIBC=1 flash test`
2021-03-31 09:17:50 +02:00
18a0889bc4
Merge pull request #16177 from aabadie/driver_llcc68
...
drivers: add support for sx1261/2 and llcc68 radio devices
2021-03-30 19:02:27 +02:00
c8e343a590
tests/driver_sx126x: add test application
2021-03-30 16:12:39 +02:00
Marian Buschsieweke
49a5bfb9e5
tests/periph_rtt: be more verbose on error
...
If `rtt_get_alarm()` doesn't return the correct value, print expected
and return value to ease debugging.
2021-03-30 14:48:03 +02:00
Marian Buschsieweke
85eebf9e79
Merge pull request #16189 from benpicco/tests/bench_msg_pingpong-cleanup
...
tests/bench_msg_pingpong: cleanup
2021-03-30 10:58:37 +02:00
Dylan Laduranty
c9cf60db20
Merge pull request #16181 from h-filzer/bastwan
...
boards/bastwan: Support BastWAN Board
2021-03-27 21:54:53 +01:00
Gerson Fernando Budke
4a9f0efb6d
boards: introduce atmega328p-xplained-mini
...
Add ATmega328P Xplained Mini board. The board is an official
development kit from MCHP based on the Arduino UNO, reduced
hardware, with a xplainedmini debugger and CDC ACM serial
converter.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-27 14:10:19 -03:00
Lokotius
303ac4ded2
boards/bastwan: Support BastWAN Board
...
This board is based on rak4260 with rak specific pinmappings.
ADC, LED and UART as well as USB ist supposed to work.
Mostly adopted from SAM R34 Xplained Pro board with adoption to rak pinout.
2021-03-25 16:21:18 +01:00
Joakim Nohlgård
821eb21861
tests/fault_handler: Fix pedantic warnings about signed/unsigned
2021-03-24 12:07:26 +01:00
Joakim Nohlgård
f24e835c71
tests/cpu_efm32_features: Add missing include stdio.h
...
for puts
2021-03-24 12:07:20 +01:00
Joakim Nohlgård
1f710f94e6
tests/cortexm_address_check: Add missing include inttypes.h
...
for PRIx32
2021-03-24 12:07:15 +01:00
chrysn
4596f79c95
tests/dac_dds: Fix sine wave to fit in PCM range
...
The previous sine wave cast signed integers into the PCM range, causing
jumps at zero transitions. This shifts everything up by the respective
maximum signed integer, so that the signed idle zero becomes the
unsigned PCM signal's idle half-point and can continuously cover the
whole unsigned range.
2021-03-24 00:35:19 +01:00
Benjamin Valentin
b48acc2573
tests/bench_msg_pingpong: cleanup
...
Drop the global volatile variable, clean up the code.
2021-03-22 12:42:46 +01:00
Marian Buschsieweke
4cfcc4ee9e
tests/driver_xbee: Update Makefile.ci
...
The additional warning message increases the size of the .rodata
section. For the Arduino Mega2560 this is placed in RAM (and flash), as
flash is not mapped into the data address space.
2021-03-22 08:15:55 +01:00
Leandro Lanzieri
889983697e
Merge pull request #16215 from fjmolinas/pr_tests_ccs811
...
tests/driver_ccs811%: fix read return code check
2021-03-21 21:15:52 +01:00
Francisco Molina
4a4a159cb6
tests/driver_ccs811%: fix read return code check
2021-03-21 20:45:57 +01:00
benpicco
ee5b70730b
Merge pull request #15758 from nandojve/avr8_xmega
...
Introduce ATxmega CPU and Boards
2021-03-20 22:09:07 +01:00
Marian Buschsieweke
654d841f66
Merge pull request #16192 from maribu/tests/periph_ptp_clock
...
tests/periph_ptp_clock: fix bug in debug print
2021-03-20 06:51:31 +01:00
Martine Lenders
214fdf007d
Merge pull request #16193 from miri64/gnrc_netif_pktq/feat/usage
...
gnrc_netif_pktq: add function to check usage
2021-03-18 23:05:27 +01:00
399ada9968
Merge pull request #16143 from kfessel/p-optimize-native
...
board/native: add basic debugging compatible optimization
2021-03-16 14:37:01 +01:00
Karl Fessel
21ce589bec
unittests/tests-ieee802154: remove stack_smasher from unitest
...
test_ieee802154_set_frame_hdr_flags0_non_beacon_non_ack
buffer given to ieee802154_set_frame_hdr has to be at least 2 bytes
see <RIOT>/sys/net/link_layer/ieee802154/ieee802154.c l32
2021-03-16 12:14:24 +01:00
Gerson Fernando Budke
6475620290
tests: Exclude atxmega-a1u-xpro board due low mem
...
Add atxmega-a1u-xpro board to BOARD_INSUFFICIENT_MEMORY list to
exclude test since boards don't have enough data memory.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Gerson Fernando Budke
553e968a00
tests/periph_timer/Makefile: Add xmega 500kHz board
...
Atmel XMEGA CPU don't have a timer prescaler div16 and div32 option.
This means that at full speed (32MHz) it is not possible have a 1MHz
clock tick. Define default tick to 500kHz and add atxmega-a1u-xpro
boards to test list.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Martine S. Lenders
6507d04a83
tests/unittests: extend tests for gnrc_netif_pktq_usage()
2021-03-15 15:13:59 +01:00
Martine Lenders
fd36c626a3
Merge pull request #15950 from MrKevinWeiss/pr/turo/initial
...
sys/test_utils/result_output: Initial implementations and API of turo
2021-03-15 11:35:01 +01:00
MrKevinWeiss
e7cc489b14
tests/turo: Add automated turo test for json
2021-03-15 10:36:46 +01:00
MrKevinWeiss
e9b65306ea
tests/unittests/turo: Add turo unittest
2021-03-15 10:36:46 +01:00
Marian Buschsieweke
42df56ff08
tests/periph_ptp_clock: fix bug in debug print
...
The API doc of ptp_clock_adjust_speed says regarding the correction
parameter:
1. A call with @p correction set to `0` restores the nominal clock speed.
2. A call with a positive value for @p correction speeds the clock up
by `correction / (1 << 32)` (so up to ~50% for `INT32_MAX`).
3. A call with a negative value for @p correction slows the clock down by
`-correction / (1 << 32)` (so up to 50% for `INT32_MIN`).
So we need to divide by 2^32, not 2^32 - 1 (or `UINT32_MAX`).
2021-03-12 20:43:01 +01:00
Leandro Lanzieri
5af48d2969
tests/netstats_neighbor: use gnrc_netdev_default module
2021-03-10 15:22:03 +01:00
Leandro Lanzieri
e47727fb16
treewide: remove unneeded ieee802154_radio_hal pseudomodule
2021-03-10 14:18:13 +01:00
010ba56174
Merge pull request #16061 from kaspar030/xfa_shell
...
sys/shell: add XFA support
2021-03-09 14:47:43 +01:00
Martine Lenders
d27ea0237e
Merge pull request #16119 from miri64/riotctrl_shell/feat/congure_test
...
riotctrl_shell: add ShellInteraction for `congure_test`
2021-03-09 12:27:10 +01:00
Kevin "Tristate Tom" Weiss
9d579a34d0
Merge pull request #16116 from leandrolanzieri/pr/sys/ztimer/kconfig_change_default_backend
...
sys/ztimer/kconfig: add defaults for backends
2021-03-09 12:22:10 +01:00
d31934223c
tests/periph_spi_dma: blacklist samd10-xmini
2021-03-09 11:50:46 +01:00
f454cb7a24
tests/shell: uncrustify main.c
2021-03-09 11:50:46 +01:00
Martine Lenders
5ceffde662
tests/congure_test: add tests for CongureTest ShellInteraction
2021-03-09 11:24:23 +01:00
Francisco
fc82e3916e
Merge pull request #15931 from haukepetersen/add_dbgpin3
...
sys: add `dbgpin` module for debugging and profiling (take 2)
2021-03-09 10:26:37 +01:00
benpicco
b09f799038
Merge pull request #16161 from madokapeng/nucleo722ze_CAN_support
...
boards/nucleo-f722ze: Add periph_can
2021-03-08 19:22:38 +01:00
madokapeng
905723be59
sys/include/can: Add loopback operation mode
...
tests/candev: Add loopback mode for testing purpose
2021-03-08 12:13:15 -05:00
benpicco
2614831c86
Merge pull request #16137 from maribu/stm32_rtt
...
drivers/periph_rtt: add periph_rtt_set_counter feautre
2021-03-08 16:53:57 +01:00
Marian Buschsieweke
c6e50adc6a
tests/periph_rtt: increase test coverage
...
Previously, the test didn't cover `rtt_set_counter()` and
`rtt_get_alarm`. This fixes the issue.
2021-03-08 14:16:46 +01:00
Leandro Lanzieri
9e2e99fafb
unittests/clif: add attribute test cases
...
- missing value in attribute with separator should fail
- single-quoted value in attribute should fail
- empty value in quoted attribute should fail
2021-03-05 16:47:48 +01:00
Francisco
d369dffb4f
Merge pull request #14339 from aabadie/pr/sys/auto_init_screen
...
drivers: sys/auto_init: pkg/lvgl: setup disp_dev, touch_dev and lvgl auto_init
2021-03-04 19:23:32 +01:00
benpicco
753c833109
Merge pull request #15871 from jan-mo/feat/20210120_lis2dh12_extension
...
driver_lis2dh12: functionality extension
2021-03-04 15:20:55 +01:00
Leandro Lanzieri
6a0240d04b
sys/ztimer/kconfig: add defaults for backends
2021-03-04 10:48:27 +01:00
Jan Mohr
4598602176
drivers/lis2dh12: functionality extension
2021-03-04 00:43:04 +01:00
Jean Pierre Dudey
f3adf7c4e5
Merge pull request #16131 from kaspar030/disable_wroom32_mtd_raw
...
tests/mtd_raw: disable for esp32-wroom-32
2021-03-03 22:00:46 +01:00
77021732db
tests/pkg_lvgl*: exclude stm32mp157c-dk2 from ci
2021-03-03 18:00:50 +01:00
832e9f8173
tests/pkg_lvgl*: exclude nucleo-f030r8
2021-03-03 18:00:50 +01:00
84c83b8025
tests/pkg_lvgl*: don't explicitly set concrete disp/touch drivers
2021-03-03 18:00:49 +01:00
830ea3c19c
tests/pkg_lvgl: adapt for auto_init
2021-03-03 18:00:49 +01:00
Martine Lenders
384df31946
congure_mock: add capability to provide actual methods
2021-03-03 13:30:35 +01:00
f44bc26c3f
tests/mtd_raw: disable for esp32-wroom-32
2021-03-03 08:27:18 +01:00
5975fabd9f
tests/shell: add tests for XFA shell commands
2021-03-02 14:57:29 +01:00
Martine Lenders
f19c8bad01
congure_test: make shell commands shorter
2021-03-01 14:41:31 +01:00
Simon Brummer
5dbeba4f12
gnrc_tcp: Update test documentation
2021-02-28 13:30:32 +01:00
Karl Fessel
f9649973d3
core/lifo: Remove lifo unittests
2021-02-27 11:59:36 +01:00
benpicco
c007b00951
Merge pull request #15932 from jeandudey/2021_02_04-ieee802154-phy
...
net/ieee802154: add PHY modes caps for HAL
2021-02-26 23:09:37 +01:00
Martine Lenders
fc6627606c
Merge pull request #15951 from miri64/congure/feat/initial
...
congure: initial import of a congestion control framework
2021-02-26 12:46:50 +01:00
Hauke Petersen
84660ed664
tests: initial import of dgbpin test
2021-02-26 11:34:52 +01:00
Jean Pierre Dudey
4ca37c96b3
net/ieee802154: add PHY mode capabilities
...
- Adds capabilities for each PHY mode. Converts the uint16_t caps field to an
uint32_t in order to hold all capability bits, size of the structure remains
unchanged due to alignment.
- Modifies the test application to configure the PHY mode using the shell
command. Also adds the PHY modes to the capabilities shell command.
- Updates the nrf802154 and cc2538 radio drivers to specify the PHY mode
supported.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Martine Lenders
90a1e4d5c5
tests: initial import of tests for CongURE and its test framework
2021-02-26 10:14:12 +01:00
Martine Lenders
6b827f497d
Merge pull request #16094 from kaspar030/reduce_tests_periph_spi_codesize
...
tests/periph_spi: compact help messages a bit to shave off some bytes
2021-02-25 14:48:01 +01:00
0f8c0c3f1a
tests/periph_spi: compact help messages a bit to shave off some bytes
2021-02-25 12:41:04 +01:00
a8d04ad502
tests/pkg_spiffs: make use hardware MTD optional
2021-02-25 12:25:29 +01:00
a8be37bbf0
tests/pkg_littlefs*: make use hardware MTD optional
2021-02-25 12:25:28 +01:00
43c84c616b
tests/pkg_littlefs*: increase timeout for test
...
It takes more that 2 minutes when run on the nrf52840dk
2021-02-25 12:25:21 +01:00
759d088ecc
tests/bench_xtimer: add sensebox to low memory boards
2021-02-24 18:47:53 +01:00
benpicco
9fc60da4ca
Merge pull request #15830 from benpicco/net/nanocoap_add_uri
...
nanocoap: add coap_opt_put_uri_pathquery()
2021-02-24 12:09:08 +01:00
Leandro Lanzieri
b8774009d0
Merge pull request #16009 from MrKevinWeiss/pr/sys/kconfig/simple
...
sys/*/Kconfig: Add simple sys modules to Kconfig
2021-02-24 10:27:01 +01:00
Leandro Lanzieri
d5fc632ef4
Merge pull request #16053 from fjmolinas/pr_kconfig_external_modules
...
Kconfig: source EXTERNAL_MODULES configurations
2021-02-24 08:56:56 +01:00
70d746dfc1
Merge pull request #16067 from aabadie/pr/ci/test-on-iotlab-skip-periph_timer_periodic
...
gh_action: exclude tests/periph_timer_periodic from test-on-iotlab
2021-02-23 20:12:24 +01:00
Francisco Molina
ab457abb38
tests/kcnfig: add external modules test
2021-02-23 19:16:34 +01:00
Benjamin Valentin
d4e5c25b70
nanocoap: add coap_opt_put_uri_pathquery()
2021-02-23 18:27:54 +01:00
Martine Lenders
afb027852d
Merge pull request #15992 from yarrick/more_lwip
...
Add lwIP ifconfig shell command
2021-02-23 16:59:41 +01:00
ca26a8fe6a
tests/periph_timer_periodic: add error tolerance in timings
...
On a lot of platforms the peripheral timer fires in advance, adding a precision factor of 15% makes the test more reliable
2021-02-23 15:19:09 +01:00
Francisco
c91499997e
Merge pull request #16030 from benpicco/drivers/mtd_flashpage-fix_native
...
drivers/mtd_flashpage: fixes for native (and stm32l0, stm32l4)
2021-02-23 15:12:06 +01:00
Francisco
cb87c418f4
Merge pull request #16068 from aabadie/pr/tests/xfa_fix_build_in_docker
...
tests/xfa: use BUILDDEPS instead of overriding the all target
2021-02-23 13:49:59 +01:00
Martine Lenders
b866d22062
Merge pull request #16032 from fjmolinas/pr_move_flashpage_unittest
...
tests/unittests/tests-flashpage: move out of unittests
2021-02-23 12:05:28 +01:00
Erik Ekman
88d2d2d030
tests/lwip: Update test to match new ifconfig
...
Removed custom ifconfig command.
2021-02-23 11:48:13 +01:00
62c7a9f13d
tests/xfa: fix parallel build with BUILD_IN_DOCKER
2021-02-23 10:39:39 +01:00
Francisco Molina
2bb8cb4b55
tests/unittests/tests-flashpage: move out of unittests
...
Co-authored-by: Martine Lenders <mlenders@inf.fu-berlin.de>
2021-02-23 09:08:57 +01:00
MrKevinWeiss
fd98105c94
tests/struct_tm_utility: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
MrKevinWeiss
03dc2ba09a
tests/shell: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
MrKevinWeiss
6a217ee34f
tests/eepreg: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
MrKevinWeiss
ea6716a7f9
tests/cb_mux_bench: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
MrKevinWeiss
8057273ab2
tests/cb_mux: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
Leandro Lanzieri
9fb93af034
Merge pull request #15985 from MrKevinWeiss/pr/umorse/kconfig
...
pkg/umorse: Add Kconfig support
2021-02-22 09:37:12 +01:00
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
...
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
MrKevinWeiss
ab92319f69
tests/pkg_umorse: Add Kconfig defaults
2021-02-19 15:32:20 +01:00
MrKevinWeiss
3c80faf6a8
tests/pkg_umorse: Remove xtimer dependency
2021-02-19 15:32:20 +01:00
7c1cb66fe2
Merge pull request #15246 from haukepetersen/add_example_i2cscanner
...
examples: add I2C scanner
2021-02-19 15:02:47 +01:00
Martine Lenders
6dd49ead83
Merge pull request #16037 from miri64/shell/enh/kconfig-dep-config
...
shell/Kconfig: make config options usable with dependency resolution
2021-02-19 14:49:47 +01:00
Martine Lenders
b7b1374916
tests/test_tools: add app.config.test to test shell config
2021-02-19 13:22:47 +01:00
Martine Lenders
455a607405
tests/gnrc_ndp: don't guess size of gnrc_pktsnip_t
in pktbuf
...
24 bytes is only the right size for `gnrc_pktsnip_t` on 32-bit systems
(and only if the struct does not change), on AVR e.g. it 9 bytes.
By using the internal alignment function of `pktbuf` we are able to
precisely tell the internal size of `gnrc_pktsnip_t` using the `sizeof`
operator.
2021-02-19 12:23:22 +01:00
15124e4769
Merge pull request #15002 from kaspar030/pr/xfa_v3
...
core: introduce crossfile arrays (xfa) v3
2021-02-18 14:49:22 +01:00
Benjamin Valentin
d98d6c1e7c
tests/mtd_flashpage: remove native from blacklist
2021-02-18 14:22:11 +01:00
Hauke Petersen
fe15192200
tests/periph_i2c: include I2C scanner per default
2021-02-18 13:22:54 +01:00
Gaëtan Harter
3099e02953
xfa: add a test script
...
Enable it for CI test
2021-02-18 10:46:08 +01:00
Benjamin Valentin
4291df0305
tests/mtd_flashpage: make use of FLASHPAGE_ERASE_STATE
2021-02-16 21:51:41 +01:00
Francisco Molina
1d8448d449
tests/unittests/tests-flashpage: require periph_flashpage
...
The test uses module functions, so require it.
2021-02-16 18:52:53 +01:00
Francisco Molina
227cd98050
tests/mtd_flashpage: blacklist native
...
https://github.com/RIOT-OS/RIOT/pull/15859 exposed a bug in the
handling of FEATURES_REQUIRED_ANY, so https://github.com/RIOT-OS/RIOT/pull/15935
did not run this test, native is currently failing, so blacklist while this
is still the case
2021-02-16 18:18:22 +01:00
Francisco Molina
34628c8fe8
tests/gnrc_tx_sync: add boards with insufficient memmory
2021-02-16 18:18:21 +01:00
Francisco Molina
5c1b959a24
tests/bench_xtimer: blacklist zigduino
2021-02-16 16:32:12 +01:00
Joakim Nohlgård
abca94b25d
tests/xfa: Add static check of XFA linking
2021-02-16 14:55:26 +01:00
Joakim Nohlgård
12a2243485
unittests: Add XFA tests
2021-02-16 14:55:26 +01:00
Joakim Nohlgård
97e1be0830
tests: Add xfa test
2021-02-16 14:21:33 +01:00
Marian Buschsieweke
bcca86b441
tests/gnrc_sixlowpan_frag*: Use NETOPT_MAX_PDU_SIZE
...
Replaces instances of deprecated NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE.
2021-02-16 14:08:00 +01:00
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