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

4421 Commits

Author SHA1 Message Date
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
Leandro Lanzieri
cd3b1515a0
Merge pull request #14338 from aabadie/pr/cpu/fe310_kconfig
cpu/fe310: boards/hifive1*: model features in Kconfig
2020-06-24 13:34:40 +02:00
Kevin "Tristate Tom" Weiss
2d5901dd69
Merge pull request #14340 from leandrolanzieri/pr/kconfig/msp430_boards_symbols
boards/msp430-based: Model features in Kconfig
2020-06-24 12:53:42 +02:00
Francisco
af80e863b3
Merge pull request #13197 from HendrikVE/shell-tokenizer-refactor
sys/shell: refactor tokenizer code
2020-06-24 12:32:51 +02:00
5e71c55f87
tests/kconfig_features: add hifive1 and hifive1b boards 2020-06-24 11:13:45 +02:00
Francisco
816d7c4d28
Merge pull request #14206 from leandrolanzieri/pr/kconfig/atmega256rfr2_based_boards
boards/atmega256rfr2-based: Model features in Kconfig
2020-06-24 11:06:04 +02:00
Leandro Lanzieri
b3ce577dd5
tests/kconfig_features: Add msp430 boards to whitelist 2020-06-24 09:33:24 +02:00
Benjamin Valentin
1e127e1ba8 tests/periph_timer_periodic: use TIMER_CHANNEL_NUMOF 2020-06-24 00:45:35 +02:00
Leandro Lanzieri
c58d2ce264
tests/kconfig_features: Add atmega256rfr2-based boards to whitelist 2020-06-23 14:37:30 +02:00
Hendrik van Essen
cbf5cc5327 tests/shell: refactor test file and add several new test cases
Divide test cases in to groups and add test cases for:
- multiple spaces between arguments
- tabs between arguments
- leading/trailing spaces
- more simple variations for escaping
- multiple tests for correct quoting

A second occurence of the test case "('help', EXPECTED_HELP),"
was removed.
2020-06-23 13:51:19 +02:00
Juergen Fitschen
897b63afa4 tests/ztimer_underflow: initial commit 2020-06-23 11:57:28 +02:00
Leandro Lanzieri
1d278de6c1
tests/kconfig_features: Add arduino-leonardo to whitelist 2020-06-23 09:57:22 +02:00
Leandro Lanzieri
819efea0ec
tests/kconfig_features: Add atmega128x-based boards to whitelist 2020-06-22 17:10:08 +02:00
Leandro Lanzieri
8f8bcdaeeb
tests/kconfig_features: Add atmega128rfa1-based boards to whitelist 2020-06-22 16:10:41 +02:00
Peter Kietzmann
332ae60e04
Merge pull request #14211 from leandrolanzieri/pr/kconfig/atmega2560_boards_symbols
boards/arduino-mega2560: Model features in Kconfig
2020-06-22 15:04:43 +02:00
02578cfbd3
Merge pull request #14317 from fjmolinas/pr_fix_od_werror
sys/od/od: fix -Werror=char-subscripts
2020-06-22 14:59:44 +02:00
Francisco Molina
df3f10a963
tests/od: always include od_string in test
This test removes the test case for od_string not being included,
it instead keeps the second test script that rested od and od_string.
2020-06-22 13:33:41 +02:00
Martine Lenders
2b90d9b833
Merge pull request #12907 from miri64/tinydtls/enh/async-sock
tinydtls: add `sock_async` support for `sock_dtls`
2020-06-22 08:25:16 +02:00
Martine S. Lenders
155953fd60
tests: provide test for tinydtls with sock_async 2020-06-21 23:08:41 +02:00
Benjamin Valentin
bd7acf4adf tests/periph_spi: add test for periph_spi_reconfigure feature 2020-06-21 21:21:39 +02:00
Leandro Lanzieri
a2e06df1b6
tests/kconfig_features: Add efm32-based boards to whitelist 2020-06-18 16:39:59 +02:00
Leandro Lanzieri
03ee4617e2
tests/kconfig_features: Add check for common variable values
This verifies that the following variables have the same value in the
Kconfig counterpart:
- BOARD
- CPU
- CPU_MODEL
- CPU_FAM
- CPU_CORE
- CPU_ARCH
2020-06-18 15:21:07 +02:00
Leandro Lanzieri
3ce8efd4cb
Merge pull request #14138 from akshaim/Kconfig_mac
gnrc/mac : Expose configurations to Kconfig
2020-06-17 18:12:40 +02:00
Benjamin Valentin
e89d9c05c3 tests: don't set VFS params by the application 2020-06-17 15:58:33 +02:00
Leandro Lanzieri
7201fdfaad
Merge pull request #14019 from akshaim/Kconfig_at
drivers/at : Expose Configurations to Kconfig
2020-06-17 15:42:39 +02:00
Leandro Lanzieri
16a0452742
tests/kconfig_features: Add arduino-mega2560 to whitelist 2020-06-17 12:44:30 +02:00
Francisco
112ff81f3e
Merge pull request #14176 from leandrolanzieri/pr/kconfig/atmega_boards_symbols
boards/atmega328p-based: Model features in Kconfig
2020-06-17 12:22:31 +02:00
07c78efc83
Merge pull request #14285 from fjmolinas/pr_uart_nb_race
sam0/stm32: fix possible uart_nonblocking deadlock
2020-06-17 12:14:25 +02:00
Akshai M
f9741b3ed5 drivers/at : Add CONFIG_
Add CONFIG_ prefix to AT_SEND_EOL,  AT_SEND_SKIP_ECHO,
CONFIG_AT_RECV_OK, CONFIG_AT_RECV_ERROR
2020-06-17 14:52:21 +05:30
Leandro Lanzieri
4a1f6e5946
test/kconfig_features: Add atmega328p-based boards to list 2020-06-17 10:59:31 +02:00
benpicco
0d8fea429e
Merge pull request #13126 from basilfx/feature/mh-z19
drivers/mhz19: initial support
2020-06-17 10:15:40 +02:00
Francisco Molina
f7d124e141
tests/periph_uart_nonblocking: test print with disabled irq 2020-06-17 10:01:20 +02:00
a94155bc11 tests/mhz19: add test application 2020-06-17 08:41:41 +02:00
Bas Stottelaar
35920a205e tests/pkg_ucglib: updated tests 2020-06-17 00:47:54 +02:00
Leandro Lanzieri
649017f0b2
cpu/cortexm_common: Rename arch_cortexm feature to cpu_core_cortexm 2020-06-16 12:05:41 +02:00
Leandro Lanzieri
4d65bc8e0a
cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
818dc09a24
Merge pull request #14270 from keestux/fix-test-thread_msg_seq
tests/thread_msg_seq: better guarantee sequence of output lines
2020-06-16 10:31:26 +02:00
f93ba336e8
Merge pull request #12730 from keestux/add-sodaq-sff
boards/sodaq-sff: add support for SODAQ SFF
2020-06-16 08:47:48 +02:00
benpicco
471b0e2a5a
Merge pull request #14283 from bergzand/pr/tests/periph_spi_dma/initial
tests/periph_spi_dma: Add test for SPI with DMA
2020-06-16 00:52:46 +02:00
Kees Bakker
c062b7f33d tests/unittests: add sodaq-sara-sff to BOARD_INSUFFICIENT_MEMORY 2020-06-15 21:58:17 +02:00
Kees Bakker
370e166f31 tests/thread_msg_seq: better guarantee sequence of output lines
This also changes to expectations of the test script. It does not rely
on fixed thread IDs anymore, because boards with CDC ACM as stdio have
a different first thread then boards with "normal" stdio via UART.

This resolves issue #14256
2020-06-15 21:53:56 +02:00
Kees Bakker
c307c3946b tests/bench_xtimer: add sodaq-sara-sff to LOW_MEMORY_BOARDS 2020-06-15 21:13:14 +02:00
ed827cb453
tests/periph_spi_dma: Add test for SPI with DMA
This new test inherits everything from the regular periph_spi test, but
with DMA enabled
2020-06-15 19:28:12 +02:00
Leandro Lanzieri
78f8cef88b
Merge pull request #14290 from fjmolinas/pr_lwip_bl_nucleo_f302r8
tests/lwip: blacklist nucleo-f302r8
2020-06-15 17:39:24 +02:00
Francisco Molina
e2dac2f23d
tests/lwip: add nucleo-f302r8 to BOARD_INSUFFICIENT_MEMORY 2020-06-15 14:45:04 +02:00
f013993b19
Merge pull request #14284 from keestux/fix-test-posix_semaphore
tests/posix_semaphore: better guarantee sequence of output lines
2020-06-15 09:51:01 +02:00
57809d65a0
Merge pull request #14271 from keestux/fix-test-xtimer_mutex_lock_timeout
tests/xtimer_mutex_lock_timeout: don't assume number of threads at start
2020-06-15 09:50:18 +02:00
Akshai M
414a0b0fa5 tests/unittests/mac : Added check for macro if set via Kconfig 2020-06-15 12:29:00 +05:30
Akshai M
9ddc9e0633 gnrc/mac : Move GNRC_MAC_NEIGHBOR_COUNT to 'CONFIG_' 2020-06-15 12:19:37 +05:30
Kees Bakker
8369f42d5e tests/posix_semaphore: better guarantee sequence of output lines
As suggested by @kaspar030 the THREAD_CREATE_WOUT_YIELD flag was removed.
Now the sequence of output lines is identical in two cases: stdio via UART,
and stdio via CDC ACM (which needs a thread for that).

The expects have been changed to match the new situation, which is what
was already given in the CDC ACM case.
2020-06-14 20:03:32 +02:00
Benjamin Valentin
ce338dec3d tests/pkg_cryptoauthlib_internal: blacklist atmega256rfr2 boards
The test is right on the edge with these boards, so slight toolchain changes
make it overflow the RAM, causing CI issues.
2020-06-12 13:08:34 +02:00
Kees Bakker
2da9d200c8 tests/xtimer_mutex_lock_timeout: don't assume number of threads at start
When CDC ACM is used as stdio the number of threads-in-use at the start of
the test is not always 2, as it used to be.
2020-06-11 21:20:48 +02:00
Francisco
cbf7f78879
Merge pull request #14255 from kaspar030/tests/lwip_blacklist_blackpill
tests/lwip: add blackpill to BOARD_INSUFFICIENT_MEMORY
2020-06-11 17:10:39 +02:00
Akshai M
6450d9989e gnrc/pktbuf : Set Kconfig defaults and conditions
Set Kconfig defaults for CPU and conditions to avoid
conflict with CFLAGS

Co-authored-by: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-06-11 14:47:27 +05:30
Akshai M
5523d119b6 gnrc/pktbuf : Move 'GNRC_PKTBUF_SIZE' to 'CONFIG_' 2020-06-11 14:46:36 +05:30
Francisco
89095d6e0f
Merge pull request #14225 from PeterKietzmann/pr_sha2xx_common
sys/hashes: add sha224 and reuse sha256 code
2020-06-11 09:07:39 +02:00
7a5ab96f69
Merge pull request #14254 from keestux/fix-test-rmutex_cpp
tests/rmutex_cpp: refactor the test to avoid having to know the thread IDs
2020-06-11 08:57:25 +02:00
666313ae35
Merge pull request #14205 from kaspar030/add_trace_module
sys/trace: add trace module
2020-06-11 00:07:10 +02:00
benpicco
f75c971297
Merge pull request #14119 from benpicco/cpu/stm32_usb_bootloader
cpu/stm32: implement reset to bootloader
2020-06-10 23:13:50 +02:00
f80f784b17 tests/lwip: add blackpill to BOARD_INSUFFICIENT_MEMORY 2020-06-10 21:42:16 +02:00
3dea09894d tests/trace: add sys/trace test application 2020-06-10 21:21:34 +02:00
Kees Bakker
6d2b624851 tests/rmutex_cpp: refactor the test to avoid having to know the thread IDs
When CDC ACM is used as stdio the first thread in the test may have a
different ID than #3. The test code will now look at the printed thread
information (id, prio) as they are created. This avoids the need for a
table with ID/prio.
2020-06-10 21:08:45 +02:00
Leandro Lanzieri
58cd126517
Merge pull request #14210 from btcven/2020_06_04-cc26xx_cc13xx_kconfig
boards/cc26xx_cc13xx-based: model features in Kconfig
2020-06-10 11:27:31 +02:00
d62bcc238c
Merge pull request #14230 from keestux/fix-test-rmutex
tests/rmutex: refactor the test to avoid having to know the thread IDs
2020-06-10 11:04:04 +02:00
31e22d9e00
Merge pull request #14229 from keestux/fix-test-mutex-order
tests/mutex_order: refactor the test to avoid knowing the thread IDs
2020-06-10 10:28:15 +02:00
6b14267f3c
Merge pull request #14243 from keestux/fix-test-cpp11-thread
tests/cpp11_thread: use sched_num_threads instead of const 2
2020-06-10 09:51:51 +02:00
PeterKietzmann
454d1fe4cf unittests/tests-hashes: add tests for sha224 2020-06-10 09:40:13 +02:00
PeterKietzmann
e5e3724a45 unittests/tests-hashes: add two FIPS test cases fot sha256 2020-06-10 09:40:03 +02:00
PeterKietzmann
d9c73bef51 unittests/tests-hashes: add tests for sha256 wrapper 2020-06-10 09:39:07 +02:00
Kees Bakker
f19ca87ee7 tests/cpp11_thread: use sched_num_threads instead of const 2
When CDC ACM is used as stdio the first thread in the test may have a
different ID than #3.
2020-06-09 23:09:18 +02:00
Kees Bakker
b9efe4e0c2 tests/rmutex: refactor the test to avoid having to know the thread IDs
When CDC ACM is used as stdio the first thread in the test may have a
different ID than #3. The test code will now look at the printed thread
information (id, prio) as they are created. This avoids the need for a
table with ID/prio.
2020-06-09 23:05:30 +02:00
Kees Bakker
fd01fde531 tests/mutex_order: refactor the test to avoid knowing the thread IDs
When CDC ACM is used as stdio the first thread in the test may have a
different ID than #3. The test code will now look at the printed thread
information (id, prio) as they are created. This avoids the need for a
table with ID/prio.
2020-06-09 22:54:27 +02:00
aba42a847d tests/xtimer_now32_overflow: fix active timers going out of scope 2020-06-09 21:21:45 +02:00
28b558ec2d
Merge pull request #14228 from keestux/fix-test-cond-order
tests/cond_order: refactor the test to avoid knowing the thread IDs
2020-06-09 21:13:03 +02:00
Francisco
d58c29d06f
Merge pull request #14238 from kaspar030/disable_tests/netstats_l2_for_esp32
tests/netstats_l2: disable test run for esp32-wroom-32
2020-06-09 18:15:35 +02:00
85a385e6d4
Merge pull request #14227 from kaspar030/dummy_thread
sys/test_utils/dummy_thread: initial commit
2020-06-09 17:34:50 +02:00
1ed0d659ed
Merge pull request #13320 from bergzand/pr/stdio/semihosting
stdio_semihosting: Initial include of Semihosting-based STDIO
2020-06-09 16:52:44 +02:00
Francisco
6c65fa72d7
Merge pull request #14204 from kaspar030/rename_native_trace
cpu/native: rename trace -> backtrace
2020-06-09 16:37:26 +02:00
Kees Bakker
765c216f6d
tests/cond_order: refactor the test to avoid knowing the thread IDs
When CDC ACM is used as stdio the first thread in the test may have a
different ID than #3. The test code will now look at the printed thread
information (id, prio) as they are created. This avoids the need for a
table with ID/prio.
2020-06-09 16:29:32 +02:00
Jean Pierre Dudey
ea931ef0ff
tests/kconfig_features: add cc26xx_cc13xx-based
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-06-09 07:55:41 -05:00
135b7d0d43 tests/netstats_l2: disable test run for esp32-wroom-32 2020-06-09 13:41:09 +02:00
2be5cd50f6 tests/test_tools: include dummy_thread 2020-06-09 13:25:14 +02:00
11ee5ff2cf
stdio_semihosting: Add shell-based test application 2020-06-09 10:15:49 +02:00
3e39eb851b
Merge pull request #14181 from keestux/fix-test-thread-flood
tests/thread_flood: account for all threads already in use
2020-06-08 17:18:06 +02:00
Kees Bakker
bbd7c435c7 tests/thread_flood: use sched_num_threads to know the first thread ID
Before there were only two: "main" and "idle". But now there can also be
a thread for "usbus". The code will now use sched_num_threads and it
subtracts that number from MAXTHREADS.

This resolves issue #14180
2020-06-08 11:22:04 +02:00
Kees Bakker
de31aadf0d tests/periph_uart_nonblocking: relax time requirement a bit
With SAMD21 + CDC ACM the test reports
    == printed in 2103454/2100000 µs ==
Which failed to match the requirement of <1.0015.

This commit relaxes the requirement to <1.002
2020-06-07 16:48:55 +02:00
Benjamin Valentin
43585804b7 tests/stm32_bootloader: add test for STM32 bootloader mode 2020-06-05 18:41:06 +02:00
benpicco
cb11b2d33f
Merge pull request #14198 from maribu/wemos-zero
boards: Add support for the wemos-zero board
2020-06-05 17:55:43 +02:00
Marian Buschsieweke
8ae3e5c29f
tests/bench_xtimer: Add wemos-zero, serpente to LOW_MEMORY_BOARDS 2020-06-05 17:19:50 +02:00
Ken Bannister
f8dfa52b2d
Merge pull request #14075 from mjurczak/bugfix/nanocoap-token-overflow
nanocoap: bugfix token overflow
2020-06-04 22:01:18 -04:00
Leandro Lanzieri
f708571617
tests/kconfig_features: Add out.config as dependency for features check 2020-06-04 15:31:40 +02:00
9210017a52 tests: rename tests/trace -> tests/backtrace 2020-06-04 14:37:41 +02:00
benpicco
3a1ee4983c
Merge pull request #14010 from benpicco/at86rf215-mr-ofdm
drivers/at86rf215: implement MR-OFDM
2020-06-03 16:39:04 +02:00
Benjamin Valentin
8a63ca5088 tests/driver_at86rf215: update Makefile.ci
With the added features, the driver doesn't fit onto those
ATmega boards anymore.
2020-06-03 15:58:50 +02:00
Kevin "Tristate Tom" Weiss
972d9441ce
Merge pull request #13404 from leandrolanzieri/pr/boards/samr21-xpro/features_kconfig
boards/samr21-xpro: Model features in Kconfig
2020-06-03 09:39:41 +02:00
Leandro Lanzieri
7262b1d4d9
Merge pull request #14126 from akshaim/Kconfig_tcp
gnrc/tcp : Expose configurations to Kconfig
2020-06-03 08:32:26 +02:00
Jose Alamos
6ef44dcb74
tests/Kconfig: add samr21-xpro to whitelist 2020-06-02 17:42:17 +02:00
Jose Alamos
c39f94ba88
tests/kconfig: add features check 2020-06-02 17:42:17 +02:00
Akshai M
611231cc3c tests/gnrc_tcp/ : Set 'CONFIG_' if not Kconfig
Set CONFIG_GNRC_TCP_MSL and
CONFIG_GNRC_TCP_CONNECTION_TIMEOUT_DURATION if not set via Kconfig
2020-06-02 15:46:44 +05:30
Akshai M
0b3e0de03e gnrc/tcp : Move GNRC_TCP_MSL to 'CONFIG_' 2020-06-02 15:46:44 +05:30
Akshai M
01dd8e4fa8 gnrc/tcp : Move GNRC_TCP_CONNECTION_TIMEOUT_DURATION to 'CONFIG_' 2020-06-02 15:46:44 +05:30
8ed6f18ee8
tests/periph_rtt: fix invalid RTT_FREQUENCY set for non stm32f1 2020-05-30 19:07:50 +02:00
Benjamin Valentin
96a3e91c3d tests/periph_timer_periodic: add test for periodic timer 2020-05-28 17:37:42 +02:00
Martine Lenders
a38428b8f2
Merge pull request #13701 from miri64/lwip_sock/enh/recv_buf
lwip_sock: provide implementation for `sock_*_recv_buf()`
2020-05-26 21:33:09 +02:00
b44b8201df
Merge pull request #14134 from benpicco/drivers/edbg_eui
drivers/edbg_eui: add driver to get MAC address from Atmel EDBG
2020-05-26 11:36:18 +02:00
Benjamin Valentin
616ebf9cfb drivers/edbg_eui: add driver to get MAC address from Atmel EDBG
The EDBG debugger on the `samr21-xpro` contains a unique 64 bit address
intended to be used as a MAC address for the internal radio.

This adds a driver to read that EUI-64 from the debugger, it should match
with the MAC address printed on the label on the board.
2020-05-26 10:44:11 +02:00
Maciej Jurczak
edf016a6cb nanocoap: Added token length validation.
Implemented a check in coap_parse() to verify if TKL value is within valid range as specified by RFC7252. The token length must be within 0-8 range, any other value should be considered as invalid and the packet should produce message format error.
A test case was added to tests-nanocoap.c to verify correct behavior in case of TKL in range and out of range.

Update sys/net/application_layer/nanocoap/nanocoap.c

Prefixed debug message with module name and abbreviations expanded.

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>

Update sys/net/application_layer/nanocoap/nanocoap.c

Prefixed debug message with module name and abbreviations expanded.

Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2020-05-25 22:44:50 +02:00
00bca8c57d
tests/buttons: remove unused xtimer dependency 2020-05-25 18:14:41 +02:00
Martine Lenders
0ba2df9b4e
Merge pull request #7271 from haukepetersen/add_phydat_tojson
sys/phydat: added phydat to JSON converter
2020-05-22 09:08:18 +02:00
ba20272fb3
Merge pull request #14108 from benpicco/tests/periph_spi-enhance
tests/periph_spi: add benchmark for acquire / release
2020-05-20 20:18:40 +02:00
fabian18
074d53f9fe tests/mtd_at24cxxx: add test for at24cxxx MTD wrapper 2020-05-20 19:45:37 +02:00
Benjamin Valentin
a57bd08a11 tests/periph_spi: add benchmark for acquire / release 2020-05-20 19:34:07 +02:00
Leandro Lanzieri
2a8d6920e6
Merge pull request #13989 from akshaim/Kconfig_tmp00x_1
drivers/tmp00x : Expose Configurations to Kconfig
2020-05-20 17:48:18 +02:00
Benjamin Valentin
1178c82a98 tests/periph_spi: introduce _xtimer_diff_usec()
Don't repeat yourself.
2020-05-20 17:48:15 +02:00
Akshai M
94d6b898fc drivers/tmp00x : Add CONFIG_
Add CONFIG_ prefix to compile configurations
2020-05-20 19:09:48 +05:30
Hauke Petersen
3c07a3f751 tests: added unittests for phydat 2020-05-20 15:29:24 +02:00