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

5225 Commits

Author SHA1 Message Date
Francisco Molina
fda3cbc60a
tests/pkg_edhoc: initial import 2021-06-08 14:34:33 +02:00
cfb10db9b7
Merge pull request #16507 from fjmolinas/pr_event_timeout_periodic
sys/event: add periodic timeout event
2021-06-08 13:07:40 +02:00
30c0ba65d5
Merge pull request #15559 from fjmolinas/pr_riotboot_flashwrite_test
tests/riotboot/flashwrite: add automatic test
2021-06-08 11:15:19 +02:00
benpicco
88da1421be
Merge pull request #16469 from Franz2000/support-seeeduino-XIAO-board
boards: Adding board support for the Seeeduino XIAO
2021-06-08 10:35:26 +02:00
Francisco Molina
efedc66cae
tests/riotboot/flashwrite: add automatic test 2021-06-07 08:55:34 +02:00
Francisco Molina
0a3c9b694b
tests/msg_queue_print: fix test on hw 2021-06-04 13:37:21 +02:00
Francisco Molina
c505bb11d2
tests/event_ztimer: initial import 2021-06-03 17:53:53 +02:00
benpicco
41bbafdfe4
Merge pull request #16328 from benpicco/driver/lis2dh12-cleanup
drivers/lis2dh12: clean up API
2021-06-03 15:33:04 +02:00
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