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

4536 Commits

Author SHA1 Message Date
Benjamin Valentin
29f83a6f25 tests/driver_soft_uart: Makefile.ci: add small stm32 boards 2020-08-09 22:55:22 +02:00
Benjamin Valentin
110a626b97 tests/periph_timer_periodic: lower CYCLE_MS
Reduce CYCLE_MS to 25 ms so the period also fits into a 16 bit 1 MHz
timer.
2020-08-09 22:55:22 +02:00
benpicco
0064397fc2
Merge pull request #14736 from gschorcht/boards/feather_m0/split_wifi_version
boards/feather-m0: separate directory for the wifi version
2020-08-09 20:58:10 +02:00
Gunar Schorcht
7e57c562df tests/bench_timer: add fether-m0-wifi to low memory boards 2020-08-09 20:20:59 +02:00
95ae77dd4b
Merge pull request #14695 from maribu/event_cleanup 2020-08-06 22:15:51 +02:00
70610b3d8a
Merge pull request #14661 from bergzand/pr/tests/bench/Add_ticks_result 2020-08-06 13:50:11 +02:00
8d50a597ee
bench_thread_yield_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:25 +02:00
566d838113
bench_thread_flags_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:25 +02:00
86035661a3
bench_mutex_pingpong: Add number of clock ticks per cycle 2020-08-06 11:54:24 +02:00
f2a27dd46b
bench_sched_nop: Add number of clock ticks per cycle 2020-08-06 11:54:24 +02:00
cf56a2c2f4
bench_msg_pingpong: Add number of clock ticks per cycle 2020-08-06 11:53:53 +02:00
480ef3225d tests/pkg_c25519: increase test timeout (z1 needs >5min) 2020-08-05 14:32:58 +02:00
8afaf11bb5 tests/periph_gpio: bench port 1 on z1
/* Port 1:
     *  P1.0 is not assigned by default
     *  P1.1 is the bootstrap-loader (BSL) TX pin -> input, special function, default to GND
     *       THIS PIN MUST *NEVER* BE USED IN NORMAL EXECUTION, SINCE IT INTERFERES WITH UART0 !!!
     *  P1.2 receives the FIFOP interrupt from CC2420 -> input, GPIO, default to GND
     *  P1.3 receives the FIFO/GIO0 interrupt from CC2420 -> input, GPIO, default to GND
     *  P1.4 receives the CCA/GIO1 signal from CC2420 -> input, GPIO, default to GND
     *  P1.5 is wired to Vcc -> input, GPIO, default to Vcc
     *  P1.6 receives interrupt INT1 from accelerometer -> input, GPIO, default to GND
     *  P1.7 receives interrupt INT2 from accelerometer -> input, GPIO, default to GND
     */

(test starts indexing at 0)
2020-08-05 14:32:58 +02:00
1298e51541 tests: update msp430 memory blacklists 2020-08-05 14:32:58 +02:00
1caff0dc94 tests/unittests/tests-rtt_rtc: fix implicit integer conversions 2020-08-05 14:32:58 +02:00
8171391d16 tests/gnrc_sock_udp: memory blacklist msb-430 msb-430h 2020-08-05 14:32:58 +02:00
7fb8306553 tests/pkg_c25519: increase main stack size for msp430 2020-08-05 14:32:58 +02:00
5dd24e12bf tests/c11_atomics_cpp_compat: remove msp430 special case 2020-08-05 14:32:58 +02:00
6fe7a47563 tests: remove obsolete msp430 blacklists 2020-08-05 14:32:58 +02:00
f08f582f1a tests, examples: remove chronos references 2020-08-05 14:32:58 +02:00
9f7bfde27e tests: update msp430 memory blacklists 2020-08-05 14:32:57 +02:00
be4d5a33e3 tests: update msp430 BOARD_INSUFFICIENT_MEMORY entries 2020-08-05 14:29:07 +02:00
11cf4dfaff
Merge pull request #14658 from kaspar030/allow_shell_test_no_socat
tests/shell: allow not using socat, do so on z1
2020-08-05 14:25:05 +02:00
Marian Buschsieweke
a5c4692806
sys/event: Add multi-queue initializers
Add a set of helper functions to initialize / claim an array of queues and use
this in `tests/events`.
2020-08-05 11:59:40 +02:00
7b05b85135
Merge pull request #14682 from maribu/event_wait_prio 2020-08-05 11:38:55 +02:00
Francisco
dbc128570d
Merge pull request #14675 from benpicco/tests/periph_rtc_delayed_start
tests/periph_rtc: delay RTC init
2020-08-05 09:31:58 +02:00
Marian Buschsieweke
4aa33d55ac
tests/event: Also test multi-queue flavor 2020-08-04 13:31:03 +02:00
0904d77dff tests/shell: allow not using socat, do so on z1 2020-08-04 12:37:10 +02:00
Akshai M
b52e3e1587 net/netif : Move 'NETIF_NAMELENMAX' to 'CONFIG_' 2020-08-03 16:09:21 +05:30
Benjamin Valentin
d90d09573b tests/periph_rtc: delay RTC init
Just like `tests/periph_rtt`, delay the RTC init so that if init gets stuck
it doesn't get stuck in early boot but inside the test.
This makes debugging easier.
2020-07-31 22:06:18 +02:00
Martine S. Lenders
c90654d4cc
tests/lwip_sock_tcp: fix -EADDRINUSE test
When compiled with `LWIP_IPV4=1 LWIP_IPV6=1` this test currently fails
in current master. This "regression" was introduced with 035acc2e53.
However, after some debugging I think that commit actually revealed a
problem with the test rather than introducing a bug.

The test starts the central server, and then checks if opening a
listening socket on the same port causes an `-EADDRINUSE` error.
The server, on the other hand, starts with `SOCK_FLAGS_REUSE_EP`, so of
course the listening operation may succeed. Instead, let's just call
`sock_tcp_listen` twice with two distinct queue objects. Way easier and
also more correct.
2020-07-31 12:49:36 +02:00
benpicco
7e4b3d0f40
Merge pull request #14653 from Nishchay-sopho/drivers/sdp3x_#14603
driver/sdp3x: Resolved irq pin code used even if irq pin not connected
2020-07-31 01:22:02 +02:00
nagrawal
7cc4f2b79b driver/sdp3x: Resolved irq pin code used even if irq pin not connected
irq_pin check when multiple sensors connected with or without irq pin
2020-07-30 16:35:35 +02:00
Francisco
7e6fee8260
Merge pull request #14615 from maribu/atmega-idle-stack-size
cpu/atmega_common: Increase idle stack size with xtimer
2020-07-30 14:43:20 +02:00
06dca07b0a
Merge pull request #14188 from aabadie/pr/pkg/littlevgl_full
pkg/lvgl: add logic for managing touch devices + introduce screen_dev wrapper
2020-07-30 08:51:56 +02:00
1d6a83c797
Merge pull request #14592 from kaspar030/tests_shell_blacklist_for_line_exceeded_test
tests/shell: add blacklist for check_line_exceeded(), add z1
2020-07-29 21:50:43 +02:00
Gunar Schorcht
d4827118d2
Merge pull request #14640 from kaspar030/reduce_periph_gpio_benchmark_iterations
tests/periph_gpio: reduce benchmark iterations
2020-07-29 17:54:30 +02:00
712dbe9c95
tests/pkg_lvgl_touch: add lvgl sample with touch capabilities 2020-07-29 14:49:17 +02:00
1f6c51602a
tests/pkg_lvgl: adapt to new lvgl API 2020-07-29 14:49:16 +02:00
23316833f5
tests/touch_dev: adapt test application with new stmpe811 behavior 2020-07-29 14:30:03 +02:00
622040ddcf
Merge pull request #14651 from kaspar030/reduce_tests_float_iterations 2020-07-29 14:05:02 +02:00
6b42ed9ae2 tests/float: don't increase iterations for native
No need to test floating point on native.
2020-07-29 13:25:55 +02:00
Leandro Lanzieri
224e2c977d
Merge pull request #14509 from jia200x/pr/lora_implicit_mode
sx127x: add support for implicit header mode
2020-07-29 12:52:00 +02:00
37d2e70aa6 tests/float: reduce iterations to 1000
The linked bug report [1] says "2 out of 5 computations fail", so there
should be no need to wait tens of seconds.

[1] https://sourceware.org/legacy-ml/newlib/2010/msg00149.html
2020-07-29 12:26:43 +02:00
07c70a9cfb tests/periph_gpio: reduce benchmark iterations
Our MCU's are predictable enough that 100k iterations should suffice.
2020-07-29 12:05:21 +02:00
Jose Alamos
5affd72f71 tests/driver_sx127x: add packet commands 2020-07-29 11:57:53 +02:00
Martine Lenders
05b13f5029
Merge pull request #14488 from PeterKietzmann/pr_add_sha256prng
sys/random: add SHA256 mode to SHA1PRNG & tests
2020-07-29 11:20:55 +02:00
Martine Lenders
0e3aa2fff5
Merge pull request #14632 from benpicco/netif_single
gnrc_netif: replace GNRC_NETIF_SINGLE with gnrc_netif_single pseudo-module
2020-07-28 17:56:51 +02:00
Benjamin Valentin
0c06694f72 gnrc_netif: replace GNRC_NETIF_SINGLE with gnrc_netif_single pseudo-module 2020-07-28 13:59:20 +02:00
benpicco
7acdecb1df
Merge pull request #14447 from Nishchay-sopho/drivers/scd30
driver/scd30 : Add driver for scd30 sensor
2020-07-28 12:41:58 +02:00
nagrawal
900e4b61dc driver/scd30: Add driver for Sensirion SCD30
Created tests for Sensirion scd30 driver

Moved Makefile.dep and Makefile.include as per new spec
2020-07-28 10:38:01 +02:00
d59233baf1
Merge pull request #14556 from benpicco/bitarithm_test_and_clear
core/bitarithm: add bitarithm_test_and_clear()
2020-07-28 10:11:47 +02:00
Marian Buschsieweke
9e13733703
examples,tests: Updated Makefile.ci
Added ATmega328P based boards where needed
2020-07-27 20:51:52 +02:00
2b9d15c9f6 tests/shell: add blacklist for check_line_exceeded(), add z1 2020-07-27 15:17:04 +02:00
48fd1aa3e5
Merge pull request #14589 from kaspar030/reduce_tests_malloc_chunksize
tests/malloc: reduce chunk size to 128b
2020-07-24 09:52:19 +02:00
benpicco
f3bce19646
Merge pull request #14503 from maribu/cpp-feature
build system: Add libstdcpp feature and doc
2020-07-23 19:05:10 +02:00
f39d40704c
Merge pull request #14593 from bergzand/pr/pkg_libcose/unistd
tests/pkg_libcose: add missing unistd.h include
2020-07-23 17:26:36 +02:00
Marian Buschsieweke
3b4c31c76c
Merge pull request #14591 from kaspar030/tests_bench_sys_base64_reduce_iterations
tests/bench_sys_base64: reduce test iterations (10000 -> 1000)
2020-07-23 17:03:10 +02:00
8b86168659
tests/pkg_libcose: add missing unistd.h include
Required for ssize_t
2020-07-23 14:43:55 +02:00
3420fcf436 tests/bench_sys_base64: reduce test iterations (10000 -> 1000) 2020-07-23 12:54:56 +02:00
da898e649c tests/malloc: reduce chunk size to 128b
Otherwise, the test fails on z1 (with no allocations).
2020-07-23 12:50:32 +02:00
0d85d853c7 tests/trace: reduce trace buffer size 2020-07-23 12:45:43 +02:00
77b0df3c80
Merge pull request #14571 from fjmolinas/pr_fix_test_pthread_flood
tests/pthread_flood: cleanup test
2020-07-23 11:15:24 +02:00
Francisco Molina
eb107a08cb
tests/pthread_flood: cleanup test
- Cleans up pthread initialization, checks for ret code !=0,
  instead of -1. For some platforms the first thread was not
  started and therefore `pthread_join` could not succeed.
- Always specify stackaddr and stacksize to not use malloc
- Formatting and uncrustify
2020-07-23 10:05:37 +02:00
benpicco
dc21084ab5
Merge pull request #14582 from benpicco/core/msg_bus-type
core/msg_bus: fix shift on 8-bit platforms
2020-07-22 16:59:47 +02:00
Benjamin Valentin
337ee38997 tests/thread_msg_bus: add check if all threads got the message 2020-07-22 16:11:36 +02:00
PeterKietzmann
d162759d25 tests/prng_sha256prng: add test application 2020-07-22 12:25:09 +02:00
PeterKietzmann
a88a202514 tests/prng_sha1prng: add test application 2020-07-22 12:25:09 +02:00
PeterKietzmann
5a13d00b65 sys/random: make sha1prng sha256 compatible 2020-07-22 12:25:09 +02:00
09fe0c7667
Merge pull request #14531 from benpicco/drivers/stmpe811/fix_polarity
drivers/stmpe811: fix interrupt polarity & interrupt generation
2020-07-22 11:12:31 +02:00
9b3e94bf34
tests/driver_stmpe811: update application README 2020-07-22 09:59:39 +02:00
Cenk Gündoğan
a0c4b8a4a0
Merge pull request #14550 from leandrolanzieri/pr/net/gcoap_remove_gcoap_finish
net/gcoap: remove gcoap_finish
2020-07-22 09:40:09 +02:00
Benjamin Valentin
f857b7116b
tests/driver_stmpe811: don't poll for touch events
Now that the interrupt of the driver works properly, we don't have to
rely on polling.

Instead, wake the thread by touch interrupt.
2020-07-21 21:22:43 +02:00
Cenk Gündoğan
43d2de0885
Merge pull request #14569 from fjmolinas/pr_tests_trickle_msg_queue
tests/trickle: add message queue
2020-07-21 18:42:19 +02:00
Benjamin Valentin
74bbb87f78 tests/bitarithm_timings: add bitarithm_test_and_clear() to the test 2020-07-21 16:03:59 +02:00
ec487138bf
Merge pull request #14566 from fjmolinas/pr_test_periph_gpio_pin
tests/periph_gpio: allow specifying port under test
2020-07-21 15:22:30 +02:00
Francisco Molina
194d3192fc
tests/trickle: add message queue
Add a message queue in case main thread is not yet waiting for the
message when it gets sent.
2020-07-21 14:19:55 +02:00
Francisco Molina
92d2a727f5
tests/periph_gpio: allow specifying port under test 2020-07-21 13:19:14 +02:00
ed3ff6ed34
tests: exclude nucleo-f070rb where it doesn't fit in memory 2020-07-21 12:45:25 +02:00
5c3c22f31c
Merge pull request #14489 from benpicco/libc_conflict
drivers/tests: rename private read() and sleep() functions to avoid conflicts with libc
2020-07-17 20:44:02 +02:00
Benjamin Valentin
a028102149 pkg/littlefs2: rename littlefs_desc_t -> littlefs2_desc_t
Allow to have both versions of the FS present at the same time.
2020-07-17 16:43:00 +02:00
Leandro Lanzieri
3920dd8c20
net/gcoap: Remove gcoap_finish 2020-07-17 16:33:19 +02:00
6c9a5e3f87
Merge pull request #14451 from benpicco/tests/periph_gpio/shell_commands
tests/periph_gpio: enable shell commands
2020-07-17 15:21:31 +02:00
d846ffe56e
tests/driver_sx127x: remove unused xtimer dependency 2020-07-17 11:03:47 +02:00
cec5c8e4c2
tests/kconfig_features: remove board whitelist
Now that all boards/cpus are migrated to Kconfig, we don't need this list anymore and it will enforce new boards to be adapted as well
2020-07-17 09:42:57 +02:00
Leandro Lanzieri
1abe732472
boards/wemos-zero: Add Kconfig symbols 2020-07-17 08:46:17 +02:00
Leandro Lanzieri
4e53bb0a73
boards/sodaq-sara-sff: Add Kconfig symbols 2020-07-17 08:46:17 +02:00
Jose Alamos
6d93866f24
tests/Kconfig: add sodaq-sara-aff to whitelist 2020-07-17 08:46:17 +02:00
Jose Alamos
5715c9e3d0
tests/Kconfig: add sodaq-one to whitelist 2020-07-17 08:46:14 +02:00
Jose Alamos
f7fcdabada
tests/Kconfig: add sodaq-explorer to whitelist 2020-07-17 08:44:51 +02:00
Jose Alamos
2776e566df
tests/Kconfig: add sodaq-autonomo to whitelist 2020-07-17 08:44:50 +02:00
Jose Alamos
b39b881af8
tests/Kconfig: add serpente to whitelist 2020-07-17 08:44:50 +02:00
Jose Alamos
4fa465b9f6
tests/Kconfig: add sensebox_samd21 to whitelist 2020-07-17 08:44:50 +02:00
Jose Alamos
7e60c66ef4
tests/Kconfig: add samd21-xpro to whitelist 2020-07-17 08:44:50 +02:00
Jose Alamos
65d0bb5ce6
tests/Kconfig: add hamilton to whitelist 2020-07-17 08:44:50 +02:00
Jose Alamos
a005d68f5f
tests/Kconfig: add feather-m0 to whitelist 2020-07-17 08:44:49 +02:00
Jose Alamos
878a2016b0
tests/Kconfig: add arduino-zero to whitelist 2020-07-17 08:44:49 +02:00
Jose Alamos
7b3cec4f95
tests/Kconfig: add arduino-mkrzero to whitelist 2020-07-17 08:43:46 +02:00
Jose Alamos
740f23fce9
tests/Kconfig: add arduino-mkrwan1300 to whitelist 2020-07-17 08:43:46 +02:00
Jose Alamos
1d083a3f9f
tests/Kconfig: add arduino-mkrfox1200 to whitelist 2020-07-17 08:43:46 +02:00
Jose Alamos
cbbb9f11d6
tests/Kconfig: add arduino-mkr1000 to whitelist 2020-07-17 08:43:46 +02:00
Leandro Lanzieri
56108f17ba
tests/kconfig_features: Add saml21-based boards to whitelist 2020-07-16 21:30:25 +02:00
4da79fa0ca
Merge pull request #14471 from leandrolanzieri/pr/kconfig/lpc2387_boards_symbols
boards/lpc2387-based: Model features in Kconfig
2020-07-16 21:25:00 +02:00
3b778451e1
Merge pull request #14485 from leandrolanzieri/pr/kconfig/saml1x_based_symbols
boards/saml1x-based: Model features in Kconfig
2020-07-16 21:04:22 +02:00
Leandro Lanzieri
cd4571b90c
tests/kconfig_features: Add lpc23xx-based boards to whitelist 2020-07-16 19:06:53 +02:00
a20d663086
Merge pull request #14470 from leandrolanzieri/pr/kconfig/lpc1768_boards_symbols
boards/lpc1768-based: Model features in Kconfig
2020-07-16 18:59:55 +02:00
Leandro Lanzieri
c44744998e
tests/kconfig_features: Add saml1x-based boards to whitelist 2020-07-16 18:10:00 +02:00
e246e7ed2a
Merge pull request #14538 from leandrolanzieri/pr/kconfig/native_symbols
boards/native: Model features in Kconfig
2020-07-16 18:04:42 +02:00
def5f80998
Merge pull request #14477 from leandrolanzieri/pr/kconfig/sam3_boards_symbols
boards/sam3-based: Model features in Kconfig
2020-07-16 17:07:03 +02:00
Leandro Lanzieri
7fdd3d1f79
tests/kconfig_features: Add lpc1768-based boards to whitelist 2020-07-16 15:40:34 +02:00
Leandro Lanzieri
9f9178b944
tests/kconfig_features: Add sam3-based boards to whitelist 2020-07-16 15:36:50 +02:00
Leandro Lanzieri
580bd08648
tests/kconfig_features: Add same54-xpro to whitelist 2020-07-16 15:33:55 +02:00
15110af51c
Merge pull request #14475 from leandrolanzieri/pr/kconfig/mips32r2_boards_symbols
boards/mips32r2-based: Model features in Kconfig
2020-07-16 15:14:29 +02:00
Leandro Lanzieri
7efe7224ee
boards/native: Add Kconfig symbols
Also add the board to the whitelist of tests/kconfig_features
2020-07-16 13:54:28 +02:00
Leandro Lanzieri
cb01f526d1
boards/ek-lm4f120: Add Kconfig symbols
Also add the board to the whitelist of tests/kconfig_features
2020-07-16 13:24:06 +02:00
Leandro Lanzieri
f4a37af4d9
tests/kconfig_features: Add mips32r2-based boards to whitelist 2020-07-16 13:21:11 +02:00
0a7b99bb36
tests/suit_manifest: exclude nucleo-f031k6 2020-07-16 11:34:05 +02:00
65df0eca43
tests/kconfig_features: add stm32 based board in list 2020-07-16 11:34:05 +02:00
Leandro Lanzieri
204b86308e
test/kconfig_features: Add nrf-based boards to whitelist 2020-07-16 10:23:59 +02:00
Martine Lenders
6f81aff81d
Merge pull request #14523 from fjmolinas/pr_xtimer_now_irq_32b
tests/xtimer_now_irq: don't fail for 32bit timers
2020-07-15 22:59:54 +02:00
Francisco Molina
6bb765a362
tests/xtimer_now_irq: don't fail for 32bit timers 2020-07-15 16:29:07 +02:00
Martine Lenders
550bfe519a
tests/gnrc_dhcpv6_client: fix expected output 2020-07-15 16:26:38 +02:00
Marian Buschsieweke
cf482c5d46
build system: Add libstdcpp feature and doc
- Add libstdcpp feature to indicate a platform is providing a libstdc++
  implementation ready for use
- The existing cpp feature now only indicates a working C++ toolchain without
  libstdc++. (E.g. still useful for the Arduino compatibility layer.)
- Added libstdcpp as required feature were needed
- Added some documentation on C++ on RIOT
2020-07-15 11:45:22 +02:00
Leandro Lanzieri
db29db330b
Merge pull request #14513 from akshaim/Kconfig_credman
net/credman : Expose configurations to Kconfig
2020-07-15 10:10:54 +02:00
Benjamin Valentin
5d1dddb3fc tests/driver_soft_uart: add test for software UART 2020-07-14 23:04:36 +02:00
Akshai M
774c18ea79 net/credman : Move 'CREDMAN_MAX_CREDENTIALS' to 'CONFIG_' 2020-07-14 21:26:19 +05:30
benpicco
e2e51ae7ef
Merge pull request #14368 from jia200x/pr/byteorder_bebuftohs
core/byteorder: add uint32 from/to buffer funcs
2020-07-13 12:31:43 +02:00
Jose Alamos
2592dd7805 unittest/byteorder: add tests for uint32 from/to funcs 2020-07-13 11:21:31 +02:00
Martine S. Lenders
4f243c52ea
pkg/emb6: remove deprecated package
Deprecation was noted in 7cf1bab2e6
2020-07-11 02:18:17 +02:00
Jean Pierre Dudey
80435ae838
tests/gnrc_udp/udp.c: fix netif_hdr typo
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-07-10 14:47:10 -05:00
5555dd3a97
tests/float: adapt comment for msp430 about increased timeout 2020-07-10 16:49:08 +02:00
67843a2b11
examples: test: remove remaining occurences of wsn430 2020-07-10 16:49:08 +02:00
benpicco
0bf3a2e279
Merge pull request #14476 from ML-PA-Consulting-GmbH/fix/20200706__sdcard_spi_auto_init
drivers/sdcard_spi: remove auto-init
2020-07-10 15:53:17 +02:00
Benjamin Valentin
cde098f60e tests/periph_gpio: fix conflict with libc function name 2020-07-10 14:46:29 +02:00
Benjamin Valentin
82dff2a2a3 tests/driver_pca9633: fix conflict with libc function name 2020-07-10 14:46:29 +02:00
Martine Lenders
37a5e8700f
Merge pull request #14459 from miri64/tools/enh/make-env
tools: add capability to provide make command via environment
2020-07-09 12:20:09 +02:00
Martine S. Lenders
1cb0e09d88
tests: add capability to provide make command via environment
For those tests that don't use the tooling fixed in the previous commit
2020-07-09 10:59:01 +02:00
9b209e5020
tests/warn_conflict: fix python test script 2020-07-09 10:35:42 +02:00
Daniel Lockau
0d3dc120ef drivers/sdcard_spi: remove auto-init 2020-07-09 08:50:53 +02:00
Martine Lenders
908ec472ce
Merge pull request #14453 from benpicco/sys/random-hwrng
sys/random: add option to use HWRNG as source of randomness
2020-07-08 19:30:36 +02:00
Benjamin Valentin
04f3a9798c tests/rng: print when HWRNG is uses as system RNG 2020-07-08 18:27:00 +02:00
Hauke Petersen
faac3a8a91 tests/nimble_l2cap: increase NimBLEs msys bufsize 2020-07-08 08:46:43 +02:00
Hauke Petersen
6da4a0b850 tests/nimble_l2cap: adapt to l2cap API changes 2020-07-08 08:46:43 +02:00
Martine Lenders
6fc72be723
Merge pull request #14450 from MrKevinWeiss/pr/shellhooks
sys/shell: Add optional hooks for shell commands
2020-07-07 18:43:50 +02:00
MrKevinWeiss
04630d20ba sys/shell: Add optional hooks for shell commands
Introduce optional user shell_post_readline_hook, shell_pre_command_hook, shell_post_command_hook.
Enable with USEMODULE=shell_hooks.
Calls user implemented *_hook functions if defined.
If implementation does not exist, nothing happens.

The intent is to make profiling of the shell command timings easier.

Test provided in tests/shell with USEMODULE=shell_hooks.
2020-07-07 17:00:38 +02:00
Leandro Lanzieri
c6eaae9c38
tests/kconfig_features: Add esp-based boards to whitelist 2020-07-07 16:27:48 +02:00
Benjamin Valentin
47deeab842 tests/periph_gpio: enable shell commands
It is useful to have the `pm` command available in this test to see how
GPIOs react to different sleep modes.

Enable it be enabling the `shell_commands` module.
2020-07-07 13:28:04 +02:00
Leandro Lanzieri
f62755df25
tests/kconfig_features: Optimize test 2020-07-06 13:09:56 +02:00
Hauke Petersen
e295bf53df tests/nimble_statconn_gnrc: initial import 2020-07-06 08:14:09 +02:00
Francisco
05fba8574e
Merge pull request #14421 from leandrolanzieri/pr/kconfig/kinetis_boards_symbols
boards/kinetis-based: Model features in Kconfig
2020-07-03 14:30:15 +02:00
Cenk Gündoğan
7aa499d5f1 make: use $(MAKE) instead of direct make call 2020-07-03 12:03:06 +02:00
Daniel Lockau
e7fbc174bc drivers/sdcard_spi: make retries configurable
- convert count based retry implementation to timeout based
  implementation
- allow user definition of retry parameters
2020-07-02 16:33:09 +02:00
Daniel Lockau
11360cc7f7 drivers/sdcard_spi: fix typo in test 2020-07-02 16:33:09 +02:00
Leandro Lanzieri
8385689ab8
tests/kconfig_features: Add kinetis-based boards to whitelist 2020-07-02 14:41:44 +02:00
Martine Lenders
339e3faf21
Merge pull request #14400 from maribu/base64_tests
sys/base64: Fix, unit test cleanup, and benchmark
2020-07-02 13:40:56 +02:00
Marian Buschsieweke
4e6ec3493f
tests/unittests: Extend & clean up base64 tests
- Added unit test for `base64_estimate_{de,en}code_size()`
- Mark constant stuff as `const`
- Use `memcmp()` for comparing memory
- Do not use variable size arrays
- Various code style issue
2020-07-02 12:23:43 +02:00
Marian Buschsieweke
e3ea4943af
tests: Add benchmark for sys/base64 2020-07-02 12:23:43 +02:00
Martine Lenders
71f1310639
Merge pull request #14408 from fjmolinas/pr_lora_tests
tests-examples: ci blacklist lora tests
2020-07-01 22:32:22 +02:00
799ee40ea7
Merge pull request #13866 from benpicco/pkg/fs_params
pkg/fs: set VFS params by fs, not by the application
2020-07-01 14:19:00 +02:00
Francisco Molina
6263ee1b6f
tests-examples: ci blacklist lora tests 2020-07-01 12:20:26 +02:00
Leandro Lanzieri
4cfa25f921
Merge pull request #11915 from fjmolinas/pr_loramac_tests
release/11-lorawan: add tests to target applications
2020-07-01 10:12:41 +02:00
Francisco Molina
f60e6e008d
tests/pkg_semtech-loramac: add automatic test 2020-07-01 09:08:08 +02:00
benpicco
e1d27cb7d5
Merge pull request #14394 from sven-hm/fatfs_vfs_fstat
pkg/fatfs/fatfs_vfs: fix _fstat
2020-06-30 18:30:26 +02:00
Peter Kietzmann
2250c67240
Merge pull request #14388 from leandrolanzieri/pr/kconfig/ezr32wg_board_symbols
boards/slwstk6220a: Model features provided in Kconfig
2020-06-30 18:24:44 +02:00
Benjamin Valentin
a91cbea59a tests/pkg_spiffs: increase test timeout to 90s
test takes 66s to run on esp8266-esp-12x, bump the timeout to 90s to be safe.
2020-06-30 17:42:28 +02:00
Francisco
325b7a8d8e
Merge pull request #13631 from benpicco/cpu/sam0_common/spi-deinit
drivers/periph/spi: add periph_spi_reconfigure feature & implementation for sam0
2020-06-30 15:34:53 +02:00
d98ddfad9a
Merge pull request #13824 from fjmolinas/pr_openwsn
pkg/openwsn: re-integrate the network stack as a package
2020-06-30 14:08:10 +02:00
Francisco
1004fb3f83
Merge pull request #13382 from chrysn-pull-requests/usb-check-unification
usb: Warn on test-ID usage in a unified location
2020-06-30 13:30:14 +02:00
Francisco Molina
985a706733
tests/pkg_openwsn: initial import
Co-authored-by: Peter Kietzmann <peter.kietzmann@haw-hamburg.de>
2020-06-30 13:08:37 +02:00
Leandro Lanzieri
955efd85ff
drivers/at: Add at_urc_isr module to process URCs upon arrival 2020-06-30 11:41:13 +02:00
chrysn
346093c290 usb: Move Kconfig/Makefile merging into main Makefile.include
This allows the check for test IDs to run independently of the
configuration source, and provides a canonical point for the
configurable (and tested) Makefile variable to enter CFLAGS.
2020-06-30 10:51:37 +02:00
chrysn
250f6fdfa3 usb: Warn on test-ID usage in a unified location
This

* renames DEFAULT_xID to USB_xID_TESTING as it is not really a default
  (if anyting, the 7D00 is, and it's not that)
* moves the check into Makefile
* generalizes the check to all test PID/VID pairs
  * in doing so, fixes the "or" (which would have ruled out warning-free
    use of an allocated pid.codes number), and compares to the actual
    testing PID rather than the RIOT-peripheral PID
* removes all occurrences of duplicated checks in examples or tests,
  leaving definitions only where they are needed
* moves the Kconfig defaults of the usbus_minimal example into the main
  Kconfig, as these are good defaults for all cases when USB is enabled
  manually

Closes: https://github.com/RIOT-OS/RIOT/issues/12273
2020-06-30 10:51:36 +02:00
Sven Herrmann
6053a223fa tests/pkg_fatfs_vfs: add fstat test 2020-06-30 07:45:07 +00:00
benpicco
3af5efe5cd
Merge pull request #14175 from sven-hm/fatfs_vfs_open_flag_translation
pkg/fatfs/fatfs_vfs: fix flag translation in _open
2020-06-29 23:40:55 +02:00
benpicco
a92dac5701
Merge pull request #14329 from Nishchay-sopho/drivers/sdp3x
driver/sdp3x : Add driver for sdp3x sensor
2020-06-29 21:16:39 +02:00
Dirk Ehmen
05980765f2 drivers/sdp3x: Driver for sensirion sdp3x sensor 2020-06-29 20:50:41 +02:00
Leandro Lanzieri
cc7afa748a
tests/kconfig_features: Add slwstk6220a to whitelist 2020-06-29 14:03:02 +02:00
Sven Herrmann
05352b63e4 tests/pkg_fatfs_vfs: add tests
* vfs_open with `O_WRONLY | O_CREAT` if file exists
* of fopen etc. with newlib
2020-06-29 10:06:28 +00:00
benpicco
f372beb405
Merge pull request #12363 from maribu/dfplayer
drivers/dfplayer: New driver for the DFPlayer Mini MP3 player
2020-06-28 23:24:36 +02:00
1987a29773
tests/pkg_emlearn: exclude low memory boards 2020-06-28 21:50:51 +02:00
b5dd94d223
tests/pkg_emlearn: add sample application 2020-06-28 21:50:51 +02:00
Marian Buschsieweke
2f17c1cd97
tests: Added test for the dfplayer driver 2020-06-28 21:06:49 +02:00
Gunar Schorcht
1ee0b8ccf4 tests: application for ATWINC15x00 driver test 2020-06-26 12:33:38 +02:00
279f2aebed
Merge pull request #14224 from kaspar030/cortexm_remove_idle_thread
core: make idle thread optional
2020-06-26 11:04:19 +02:00
1988a34c7b
Merge pull request #14359 from miri64/unittests/fix/const-str
unittests: Qualifier cast for pktsnip test initializers
2020-06-26 09:38:58 +02:00
benpicco
3665e40726
Merge pull request #14242 from HendrikVE/pr/driver/pca9633
driver/pca9633: add new driver
2020-06-26 00:44:24 +02:00
Hendrik van Essen
ad0418e50e tests/driver_pca9633: add test for pca9633 driver 2020-06-25 22:31:19 +02:00
f85f78211f tests/unittests: increase main stacksize to THREAD_STACKSIZE_LARGE 2020-06-25 16:12:57 +02:00
Joakim Nohlgård
ce5141ace6
unittests: Qualifier cast for pktsnip test initializers 2020-06-25 16:08:39 +02:00
0ccf94fa23 tests/shell: don't expect idle thread in ps output 2020-06-25 16:02:29 +02:00
22d44d0763
Merge pull request #14357 from bergzand/pr/unittests/hashes/static_const
unittests/hashes: Mark input strings as static const
2020-06-25 16:01:52 +02:00
Francisco
903ad1e888
Merge pull request #14354 from miri64/drivers/cleanup/rm-NETOPT_IPV6_IID
netdev: remove NETOPT_IPV6_IID support for network devices
2020-06-25 15:53:33 +02:00
9210630e1a
unittests/hashes: Mark input strings as static const 2020-06-25 15:05:26 +02:00
Martine S. Lenders
1399f6f2ff
tests/gnrc_ipv6_nib_6ln: remove NETOPT_IPV6_IID support in mock-device
This option is handled in the `gnrc_netif`-layer without any access to
the driver's option since 7ae90564d9.
2020-06-25 13:41:33 +02:00
Martine Lenders
49ab078c03
Merge pull request #14349 from miri64/lwip/enh/dual-stack
pkg/lwip: enable IPv4/IPv6 dual stack mode
2020-06-25 13:30:07 +02:00
Francisco
c0d171a0a2
Merge pull request #14343 from leandrolanzieri/pr/kconfig/cc2538_based_symbols
boards/cc2538-based: Model features in Kconfig
2020-06-25 13:20:58 +02:00
Martine S. Lenders
efbac9f1f7
tests/lwip: adapt for IPv4/6 dual-stack usage 2020-06-25 12:45:37 +02:00
benpicco
b13085defb
Merge pull request #14110 from fabian18/mtd_at24cxxx
drivers/at24cxxx: MTD wrapper for at24cxxx
2020-06-24 18:46:36 +02:00
Leandro Lanzieri
aa152e37fc
tests/kconfig_features: Add cc2538-based boards to whitelist 2020-06-24 15:18:55 +02:00
Francisco
b49bd9ffe5
Merge pull request #14276 from jue89/fix/samr30-xpro_ztimer_rtt_underflow
cpu/saml21: adjust RTT_MIN_OFFSET
2020-06-24 13:41:06 +02:00