1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-15 23:32:59 +01:00
Commit Graph

4830 Commits

Author SHA1 Message Date
benpicco
2284c48175
Merge pull request #13757 from benpicco/pm_unblock_rtc
tests/periph_pm: introduce set_rtc
2020-05-01 14:14:53 +02:00
benpicco
c754e0ab3c
Merge pull request #13739 from Ciusss89/_dev
test: conn_can: add remote request test
2020-05-01 14:11:41 +02:00
Francisco
919249f361
Merge pull request #13862 from maribu/extra_boards
Makefile*: Allow multiple external board dirs
2020-04-29 20:12:06 +02:00
Marian Buschsieweke
93f8f8cd84
tests/external_board_native: Extended readme
Added a note to explain why the deprecated variable BOARDSDIR is still used.
2020-04-29 18:32:39 +02:00
Marian Buschsieweke
b0964675f1
tests,examples: Use EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
Marian Buschsieweke
cf379660e9
tests/external_board_dirs: Test app for EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
Benjamin Valentin
bb3995b462 tests/periph_pm: introduce set_rtc
Similar to unblock_rtc, but uses `pm_set()` instead of `pm_unblock()`.
2020-04-29 18:06:36 +02:00
Benjamin Valentin
ffdb115ffe tests/periph_pm: drop use of mktime()
The RTC implementation are expected to normalize the input struct.
2020-04-29 18:04:27 +02:00
9a4537eef6
Merge pull request #13976 from maribu/pm_get_blocker
sys/pm: Add pm_get_blocker()
2020-04-29 12:37:15 +02:00
2af3ea586a
Merge pull request #13947 from benpicco/riot-bus_multibus
core/msg: add message bus
2020-04-29 12:24:12 +02:00
Marian Buschsieweke
f6873dbac3
sys/pm: Add pm_get_blocker()
Provide access to pm_blocker via a well-defined API rather than hacks.
2020-04-29 11:21:03 +02:00
b04d354640
tests/periph_eeprom: use native as default board 2020-04-29 08:56:34 +02:00
decd73129c
tests/periph_eeprom: improve automatic test script
Reboot the application and verify data previously written on EEPROM by the test command are still there
2020-04-29 08:55:10 +02:00
Leandro Lanzieri
b543fbd69d
Merge pull request #13879 from aabadie/pr/sys/touch_dev
sys/touch_dev: add generic API for touch device
2020-04-28 18:58:25 +02:00
f22529ec71
Merge pull request #11731 from benemorius/tests-periph_pm-ux
tests/periph_pm: make usage more intuitive and move shell commands to sys/
2020-04-28 18:52:09 +02:00
804cc8cbd7
tests: add new boards in low memory blacklists 2020-04-28 18:35:17 +02:00
benpicco
96c638f2d1
Merge pull request #13949 from benpicco/MAKEFILEDIR-doc
Makefile.include: update the documentation of $(MAKEFILEDIR)
2020-04-28 18:30:44 +02:00
6778e34032
tests/touch_dev: add test application 2020-04-28 18:18:01 +02:00
Thomas Stilwell
325ab426d4
sys/shell/commands: pm: add set mode block mode unblock mode 2020-04-28 16:56:34 +02:00
Thomas Stilwell
aa97e7b49a
tests/periph_pm: be more verbose about what pm_set() is doing 2020-04-28 16:51:24 +02:00
Thomas Stilwell
90579e81c9
tests/periph_pm: print current PM blockers on startup 2020-04-28 16:51:24 +02:00
Thomas Stilwell
100390cdca
tests/periph_pm: print block/unblock error instead of assertion failure 2020-04-28 16:51:23 +02:00
Benjamin Valentin
d5dce87e1b Makefile.include: rename MAKEFILEDIR to LAST_MAKEFILEDIR
Rename the variable to make it clearer that it refers to the last Makefile
included.
Usually this is the current file, but when another Makefile is included this
changes.
2020-04-28 15:45:27 +02:00
Benjamin Valentin
950c18db42 tests/thread_msg_bus: add test application for message bus 2020-04-28 13:35:05 +02:00
Martine S. Lenders
53b5f37295
tests/lwip_sock_{ip,udp}: extend tests for new function 2020-04-28 09:46:07 +02:00
Leandro Lanzieri
de789169b2
tests/gnrc_dhcpv6_client: Increase timeout 2020-04-27 11:31:48 +02:00
Leandro Lanzieri
153f04f534
tests/gnrc_dhcpv6_client: Fix TERMPROG 2020-04-27 11:27:47 +02:00
Benjamin Valentin
aac593a7c9 tests/periph_uart: fix for !stdio_uart
Only include `stdio_uart.h` if stdio over UART is used.
This makes it possible to use the default stdio UART0
for the test.

This is needed if e.g. the default stdio of a board is USB CDC ACM.
2020-04-26 20:31:28 +02:00
Giuseppe Tipaldi
73ae19e043 test: conn_can: add remote request test example 2020-04-25 10:04:19 +02:00
Giuseppe Tipaldi
1acb24b13e test: conn_can: add remote request test 2020-04-25 10:04:17 +02:00
Cenk Gündoğan
0121ff13b8 tests-nanocoap: test adding and retrieving the proxy-uri option 2020-04-23 22:41:46 +02:00
Cenk Gündoğan
c0f4a2c085 tests-nanocoap: add missing full stop in doc 2020-04-23 22:41:12 +02:00
Marian Buschsieweke
9f75501322
tests/ztimer_msg: Use %lu to print times 2020-04-23 21:18:48 +02:00
Marian Buschsieweke
1b44066dbd
tests/xtimer_msg: Use %lu to print times 2020-04-23 21:16:57 +02:00
Marian Buschsieweke
60aabbec25
tests/event_wait_timeout: Use C11 atomics for IPC
The test currently uses static globals for communication without any protection.
This could lead optimizing C compilers to deduce that access to those are not
needed (e.g. with LTO enabled). Using C11 atomics is the easiest way to tell
the compiler that those accesses are used for communication between two
different threads of execution (here: between the ISR and the main thread).
2020-04-23 21:16:03 +02:00
Cenk Gündoğan
ecc4932d22 unittests/nanocoap: test for adding an unterminated string path 2020-04-22 12:50:50 +02:00
Leandro Lanzieri
46507ff247
Merge pull request #13894 from kb2ma/gcoap/ping
net/gcoap: add CoAP ping request
2020-04-21 12:23:54 +02:00
5293e5400c
Merge pull request #13210 from kaspar030/add_xtimer_left
sys/xtimer: remove uses of xtimer internal struct members
2020-04-21 12:15:41 +02:00
1492dc0655 tests/gnrc_ipv6_nib: memory-blacklist msb-430h 2020-04-21 11:26:57 +02:00
9800b7bf2c tests/bench_timers: remove explicit zeroing of xtimer members 2020-04-21 11:26:57 +02:00
c1f93647a9 tests/rng: remove explicit zeroing of xtimer members 2020-04-21 11:26:56 +02:00
Francisco
3d8f71768c
Merge pull request #13846 from benpicco/Makefile-THISDIR
Makefile.include: add $(MAKEFILEDIR) helper and use it
2020-04-21 11:00:52 +02:00
40cb065a45
Merge pull request #13839 from leandrolanzieri/pr/kconfig_migrate/sys/usbus_ecm
usbus/cdc/ecm: Expose configurations to Kconfig
2020-04-21 10:12:30 +02:00
Ken Bannister
6eae4ded84 net/gcoap: create CoAP ping request 2020-04-17 08:15:20 -04:00
Ken Bannister
2d3eb1a343 net/nanocoap: validate empty message length 2020-04-17 08:15:20 -04:00
Benjamin Valentin
6ca7ac949a tests/driver_at25xxx: adapt to change in driver API 2020-04-17 11:58:45 +02:00
Martine Lenders
94e08b9307
Merge pull request #13882 from miri64/tests/fix/emcute-samr21-xpro
tests/emcute: add small inter-packet gap between server replies
2020-04-16 23:34:09 +02:00
Martine S. Lenders
05b5db1a66
tests/emcute: add small inter-packet gap between server replies
On `samr21-xpro` not all UDP packets were received, leading to the
testing automaton to get into an invalid state and failing. This small
delay between `sendto()` fixes that issue.
2020-04-16 22:19:51 +02:00
Francisco
85cbc049ef
Merge pull request #13853 from kaspar030/simplify_xtimer_now32_overflow_test
tests/xtimer_now32_overflow: simplify
2020-04-16 18:03:51 +02:00
4ac5e5bd63 tests/xtimer_now32_overflow: simplify 2020-04-16 15:28:07 +02:00
Benjamin Valentin
bba2231d41 tests: use $(MAKEFILEDIR) 2020-04-15 11:51:15 +02:00
Hendrik van Essen
013af64a80 tests/shell: add test case for line editing
Test erasing characters using backspace. The test is not really testing
a lot right now, because the host is still line buffering.

Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-04-14 15:38:56 +02:00
Leandro Lanzieri
b4655f6c91
Merge pull request #13848 from fjmolinas/pr_ccm_no_plaintext
sys/crypto/modes/ccm: handle input_len = 0
2020-04-14 10:49:54 +02:00
Martine S. Lenders
4aa4a17071
tests/xtimer: add regression test for long_start_time update bug
Co-Authored-By: Julian Holzwarth <julian.holzwarth@fu-berlin.de>
2020-04-10 12:42:24 +02:00
Francisco Molina
7a39e2e875
tests/sys_crypto/tests-crypto-modes-ccm: add test for input_len=0 2020-04-10 10:41:01 +02:00
Leandro Lanzieri
4433b9bc7a
tests/usbus_cdc_ecm: Check if USB parameters are set via Kconfig
This also avoids running Kconfig by default, given that there is a
Kconfig file in the application folder.
2020-04-08 18:15:09 +02:00
Leandro Lanzieri
037f746120
Merge pull request #13836 from miri64/tests/enh/gnrc_rpl_srh-asyncsniffer
gnrc_rpl_srh: use AsyncSniffer for sniffing
2020-04-08 15:56:47 +02:00
Martine S. Lenders
bb947f750a gnrc_rpl_srh: use AsyncSniffer for sniffing
The sniffer in `tests/gnrc_rpl_srh` always had stability issues, since
it uses some badly synchronized threading of mine. Since v2.4.3 scapy
has its own [asynchronous sniffer] (which is already used in
`tests/gnrc_dhcpv6_client_6lbr`), so I ported my sniffer implementation
to use that instead.

[asynchronous sniffer]: https://scapy.readthedocs.io/en/latest/usage.html#asynchronous-sniffing
2020-04-08 15:36:34 +02:00
Martine Lenders
6ef0bf9410
Merge pull request #13835 from miri64/tests/fix/gnrc_netif_single
tests: fix for `GNRC_NETIF_SINGLE`
2020-04-08 12:03:55 +02:00
Martine S. Lenders
9bf0a2253a
tests/gnrc_sock_dns: set GNRC_NETIF_SINGLE 2020-04-08 11:11:41 +02:00
14706d7423
Merge pull request #13243 from leandrolanzieri/pr/kconfig_migrate/net/nanocoap
net/nanocoap: Expose configurations to Kconfig
2020-04-08 10:51:54 +02:00
Leandro Lanzieri
1f24698a2a
Merge pull request #13792 from benpicco/pkg/nanopb-fixes
pkg/nanopb: fix for proto files with includes
2020-04-08 10:37:20 +02:00
04f890fa8b
tests: handle cases for bootloader_nrfutil blacklist 2020-04-08 09:35:08 +02:00
Leandro Lanzieri
4052c01e85
net/nanocoap: Move NANOCOAP_URI_MAX to 'CONFIG_' namespace 2020-04-07 17:00:53 +02:00
Leandro Lanzieri
c84576ef6e
net/nanocoap: Move NANOCOAP_NOPTS_MAX to 'CONFIG_' namespace 2020-04-07 17:00:52 +02:00
067b324645
Merge pull request #11945 from benpicco/EEPROM-m95m01
drivers: add driver for AT25xxx family of EEPROMs
2020-04-07 13:19:21 +02:00
Ken Bannister
b32fcd28d1
Merge pull request #13815 from kb2ma/nanocoap/add_canonical_uri_query
net/gcoap: add canonical uri query function names
2020-04-07 06:32:13 -04:00
Benjamin Valentin
5ef52c7dc2 tests: add test for at25xxx EEPROM driver 2020-04-07 12:31:46 +02:00
Ken Bannister
7369fac944 tests/nanocoap: use canonical function name to add Uri-Query option 2020-04-06 06:19:44 -04:00
Cenk Gündoğan
abd399b934
Merge pull request #13804 from chrysn-pull-requests/uri-test-isabsolute
uri_parser: Fix and test non-relative recognition
2020-04-05 13:42:11 +02:00
Martine Lenders
6e27a8e4a7
Merge pull request #13734 from miri64/tests/enh/rdnss-option
tests: add test to test RDNSS option handling
2020-04-05 01:43:52 +02:00
Martine Lenders
94edc5a4e6
tests: add test to test RDNSS option handling 2020-04-05 01:16:40 +02:00
benpicco
e626c520d3
Merge pull request #13814 from gschorcht/cpu/esp32/temp_newlib_fix
tests/libc_newlib: blacklist esp32 boards temporarily
2020-04-04 18:23:40 +02:00
Gunar Schorcht
ec2fed4ae3 Revert "tests/libc_newlib: blacklist esp32 boards temporarily"
This reverts commit c7dd22efde.
2020-04-04 13:37:56 +02:00
Gunar Schorcht
c7dd22efde tests/libc_newlib: blacklist esp32 boards temporarily
ESP32 boards must be blacklisted for `tests/libc_newlib` to avoid CI compilation errors until the toolchain is updated on all nodes.
2020-04-04 13:33:00 +02:00
Martine Lenders
81f3fddc1f
tests/gnrc_tcp: set GNRC_NETIF_SINGLE 2020-04-03 23:42:52 +02:00
Martine Lenders
e62066813d
tests/emcute: set GNRC_NETIF_SINGLE 2020-04-03 23:32:47 +02:00
Francois Berder
d45196e28d tests: buttons: Fix build failure if BTN0_PIN is not declared
On some boards, button 0 does not exist so BTN0_PIN is not defined, but
these boards may define other buttons.

Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-04-03 18:48:13 +01:00
Martine Lenders
942c63eb39
Merge pull request #13665 from leandrolanzieri/pr/dist/testrunner_check_unittests_fix_regex
dist/testrunner: Capture number of unittests that passed
2020-04-03 16:53:55 +02:00
chrysn
2ec0fee1fa uri_parser: Adjust test expectations on relative references with colon
This fixes the contested case, and adds the example of RFC3986 Section
4.2[1] to the should be relative cases.

[1]: https://tools.ietf.org/html/rfc3986#section-4.2
2020-04-03 15:21:33 +02:00
chrysn
3d6d27374c uri_parser: Add test for absolute function
One value in the output is possibly wrong, was left in the passing state
as the rest of the expected state reflects the same misconception, and
commented thusly.
2020-04-03 14:54:38 +02:00
Leandro Lanzieri
8ce1bcd4d0
tests: Use returned value of 'check_unittests' 2020-04-03 14:52:48 +02:00
Martine Lenders
d00bde7750
Merge pull request #13789 from cgundogan/pr/uri_parser/remove_check_for_zero
sys/uri_parser: check for uri_end instead of 0
2020-04-03 13:13:18 +02:00
Benjamin Valentin
7fd329b3a1 pkg/nanopb: fix for proto files with includes
Proto files can include other proto files.
E.g. nanopb comes with a `nanopb.proto` include that contains some
nanopb-specific extensions.

This patch makes it possible to include this file as well as specifying
additional proto include folders.

I added the include to `simple.proto` so it gets exercised by the test.
2020-04-02 17:21:25 +02:00
Cenk Gündoğan
1bfc1fbcb3 uri_parser: unittests: add validity check for unterminated string 2020-04-02 15:11:34 +02:00
Leandro Lanzieri
c74544c9ec
Merge pull request #13349 from maribu/dependency-or
build system: Restructure dependency resolution
2020-04-02 10:40:44 +02:00
Marian Buschsieweke
af21f15b02
makefiles: Minor clean ups
- Add FEATURES_REQUIRED_ANY to dependency-debug:
  Now `make dependency-debug` by default also stores the contents of
  `FEATURES_REQUIRED_ANY`.
- makefiles/features_check.inc.mk: Break long lines
- {tests/minimal,tests/unittests,bootloaders/riotboot}:
  Disable auto_init_% in addition to auto_init.

This works around weird behavior due to the USEMODULE being recursively expended
in the first iteration of dependency resolution: Modules added to DEFAULT_MODULE
get automatically added to USEMODULE during the first run, but not for
subsequent. This should be iron out later on.
2020-04-02 09:56:39 +02:00
Martine Lenders
76acde0984
Merge pull request #13779 from miri64/sock/enh/sock_buf_recv-iterate-chunks
sock: amend API to iterate over stack-internal buffer chunks
2020-04-01 16:59:03 +02:00
Martine S. Lenders
e4c43200ba
tests/gnrc_sock_{ip,udp}: adapt tests for sock_*_recv_buf API change 2020-04-01 15:50:51 +02:00
benpicco
660b1a9b5f
Merge pull request #10083 from gschorcht/drivers_hmc5883l
drivers: add driver for Honeywell HMC5883L magnetometer
2020-04-01 14:49:34 +02:00
Gunar Schorcht
e9c0f76934 tests: add hmc5883l driver test 2020-04-01 13:37:22 +02:00
Benjamin Valentin
5b74024bfe tests: add arduino-nano to Makefile.ci
Somehow this board is sometimes skipped by Murdock.
2020-04-01 11:05:37 +02:00
Marian Buschsieweke
007ac492ff
drivers/ws281x: Use FEATURES_REQUIRED_ANY 2020-04-01 09:12:50 +02:00
Martine Lenders
004126a5e9
tests/unittests/uri_parse: generate more sophisticated error message 2020-04-01 08:42:25 +02:00
Martine Lenders
413153704a
tests/unittests/uri_parse: use less confusing assert message
Also use `strncmp()` instead of `memcmp()`
2020-04-01 00:56:08 +02:00
Martine Lenders
21399ccade
tests/unittests/uri_parse: add array index as parameter to VEC_CHECK 2020-04-01 00:55:20 +02:00
Martine Lenders
d9b9426a86
Merge pull request #13758 from cgundogan/uri_parser
sys/uri_parser: minimal and non-destructive URI parsing
2020-04-01 00:40:27 +02:00
Cenk Gündoğan
ed30450fcf tests/unittests: add tests for uri_parser 2020-03-31 23:54:40 +02:00
Martine Lenders
32d4b7eea5
Merge pull request #13755 from benpicco/base64-urlsafe
sys/base64: Implement Base 64 Encoding with URL and Filename Safe Alphabet
2020-03-31 20:15:23 +02:00
Benjamin Valentin
64d4713301 tests/unittests/base64: add test case for urlsafe_encode 2020-03-31 19:01:05 +02:00
Leandro Lanzieri
64dde8f317
gnrc/nib: Move GNRC_IPV6_NIB_ABR_NUMOF to 'CONFIG_' namespace 2020-03-31 18:07:13 +02:00
Leandro Lanzieri
a77d0dd9c5
gnrc/nib: Move GNRC_IPV6_NIB_OFFL_NUMOF to 'CONFIG_' namespace 2020-03-31 18:07:13 +02:00
Leandro Lanzieri
f6ee712e98
gnrc/nib: Move GNRC_IPV6_NIB_DEFAULT_ROUTER_NUMOF to 'CONFIG_' namespace 2020-03-31 18:07:12 +02:00
Leandro Lanzieri
07771de08f
gnrc/nib: Move GNRC_IPV6_NIB_NUMOF to 'CONFIG_' namespace 2020-03-31 18:07:11 +02:00
Leandro Lanzieri
1f20ffc150
gnrc/nib: Move GNRC_IPV6_NIB_CONF_NO_RTR_SOL to 'CONFIG_' namespace
Also evaluate using IS_ACTIVE macro.
2020-03-31 18:07:10 +02:00
Leandro Lanzieri
53a522d642
gnrc/nib: Move GNRC_IPV6_NIB_CONF_MULTIHOP_P6C to 'CONFIG_' namespace
Also evaluate using IS_ACTIVE macro.
2020-03-31 18:07:10 +02:00
Leandro Lanzieri
3ec296400d
gnrc/nib: Move GNRC_IPV6_NIB_CONF_DC to 'CONFIG_' namespace
Also evaluate using IS_ACTIVE macro.
2020-03-31 18:07:09 +02:00
Leandro Lanzieri
e52b93cef0
gnrc/nib: Move GNRC_IPV6_NIB_CONF_ARSM to 'CONFIG_' namespace
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:07 +02:00
Leandro Lanzieri
ce931f179c
gnrc/nib: Move GNRC_IPV6_NIB_CONF_SLAAC to 'CONFIG_' namespace
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:05 +02:00
Leandro Lanzieri
49ec28867c
gnrc/nib: Move GNRC_IPV6_NIB_CONF_ROUTER to 'CONFIG_' namespace
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:05 +02:00
Leandro Lanzieri
40c78f1c75
gnrc/nib: Move GNRC_IPV6_NIB_CONF_6LBR to 'CONFIG_' namespace
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:03 +02:00
benpicco
e7c1605119
Merge pull request #13691 from benpicco/tests/driver_netdev_common
tests/driver_netdev_common: add compile-test for network drivers
2020-03-31 14:50:28 +02:00
Hendrik van Essen
e38e3c5db9
tests/driver_pca9685: add atmega32u4 boards to Makefile.ci
fixed shell is too big for atmega32u4 based boards
2020-03-30 12:32:57 +02:00
Hendrik van Essen
a9b21ed911
tests/shell: remove redundant parentheses 2020-03-30 12:26:23 +02:00
Hendrik van Essen
68a35f53de
tests/shell: add test case for exceeding lines
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:23 +02:00
Hendrik van Essen
8a8416a6f6
tests/shell: fix test case for line cancelling
The test for the line cancellation (ctrl-c) functionality was unable to
detect error because of the way pexpect matches output.

While working on the long line shell bug, a regression was about to be
introduced because of this. This commit fixes the test by directly reading from
the child process and expects an exact response.

Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:22 +02:00
Hendrik van Essen
c1e3e613a5
tests/shell: check for shell prompt
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:22 +02:00
Hendrik van Essen
32d7c9b6b8
tests/shell: check for startup message
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
Hendrik van Essen
393eadcfb9
tests/shell: avoid sending an extra empty line on native
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
Hendrik van Essen
c8daf596c9
tests/shell: add test case for shell's buffer size
Co-authored-by: Juan Carrano <j.carrano@fu-berlin.de>
2020-03-30 12:26:21 +02:00
c526b11195 tests: add pkg_libbase58 test 2020-03-29 23:18:34 +02:00
Benjamin Valentin
3ec0acde8a tests/driver_w5100: add compile-test for w5100 2020-03-28 19:23:19 +01:00
Benjamin Valentin
732cd51a52 tests/driver_xbee: use common netdev test 2020-03-28 18:02:09 +01:00
Benjamin Valentin
f71226c016 tests/driver_dose: add compile-test for DOSE 2020-03-28 18:02:09 +01:00
Benjamin Valentin
e02dffe5f8 tests/driver_mrf24j40: add compile-test for mrf24j40 2020-03-28 18:02:09 +01:00
Benjamin Valentin
b775475d1b tests/driver_netdev_common: add compile-test for netif drivers 2020-03-28 18:02:09 +01:00
benpicco
8024380f7b
Merge pull request #13700 from miri64/gnrc_sock/enh/recv_buf
gnrc_sock: provide implementation for `sock_*_recv_buf()`
2020-03-27 16:34:57 +01:00
benpicco
b535c66ba1
Merge pull request #13729 from fjmolinas/pr_tests_usbus
test/usbus: disable auto_init_usbus
2020-03-26 22:56:33 +01:00
Francisco Molina
c2d5f6e8d9
test/usbus: disable auto_init_usbus 2020-03-26 15:56:21 +01:00
Martine Lenders
061eb88c05
Merge pull request #12994 from jia200x/pr/gnrc_netif_desc_alloc
gnrc_netif: implementation of dynamic GNRC_NETIF_NUMOF approach
2020-03-26 14:30:44 +01:00
Jose Alamos
124b7ae406 tests/gnrc_ipv6_nib_6ln: blacklist boards with insufficient memory 2020-03-26 14:19:03 +01:00
Jose Alamos
3b1c3426cb tests/gnrc_ipv6_nib: blacklist boards with insufficient memory 2020-03-26 14:19:03 +01:00
Jose Alamos
e451570219 gnrc_netif: remove GNRC_NETIF_NUMOF macro 2020-03-26 11:12:23 +01:00
Jose Alamos
67ed9defbe gnrc_netif_xxx_create: use external netif allocation 2020-03-26 11:12:23 +01:00
Marian Buschsieweke
937361856d
Merge pull request #13702 from ccoors/feature/esp32-ws281x
drivers/ws281x: Add support for esp32
2020-03-25 21:39:40 +01:00
Christian Friedrich Coors
08703766fc drivers/ws281x: Add ESP32 support 2020-03-25 17:25:35 +01:00
Francisco
12b47452dc
Merge pull request #13697 from bergzand/pr/libcose/disable_monocypher
pkg/libcose: Remove monocypher crypto mode
2020-03-25 10:41:31 +01:00
bf2b495d34
Merge pull request #13703 from fjmolinas/pr_usbus_autoinit
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE
2020-03-25 10:19:04 +01:00
Gunar Schorcht
11b5503aa6
Merge pull request #13705 from benpicco/tests-rtt_rtc-fix
unittests/tests-rtt_rtc: blacklist test on esp32
2020-03-25 09:53:05 +01:00
bf703a70c3
tests/pkg_libcose: remove the monocypher crypto option 2020-03-25 09:37:06 +01:00
Francisco
ddf763c9da
Merge pull request #13696 from fjmolinas/pr_tests_fixes
tests: fixes for evtimer_msg and bench_runtime_coreapis
2020-03-25 08:52:34 +01:00
Benjamin Valentin
9c4eb8918f tests/unittests: rtt_rtc: blacklist esp32
On esp32, pm_layered pulls in periph_rtc.
This results the real rtc functions being called, which of course
can't be fast-forwarded - all the tests fail.
2020-03-24 23:15:55 +01:00
7cc1529755
Merge pull request #13549 from kaspar030/add_tests_xtimer_overhead
tests/xtimer_overhead: initial commit
2020-03-24 21:55:33 +01:00
Martine S. Lenders
42f9e1953c
tests/gnrc_sock_{ip,udp}: extend tests for new function 2020-03-24 17:15:17 +01:00
Francisco Molina
15ab36409f
Makefile.dep: add auto_init_usbus as usbus DEFAULT_MODULE 2020-03-24 14:33:09 +01:00
Francisco Molina
62ff10fc54
bench_runtime_coreapis/tests: multiple fixes 2020-03-24 14:15:50 +01:00
Francisco Molina
865b975c3d
tests/evtimer_msg: fix assert range 2020-03-24 14:15:25 +01:00
6faae9a9c9
Merge pull request #13657 from aabadie/pr/boards/backlight_common_defines
boards/pinetime: add defines for controlling the backlight pin
2020-03-24 13:52:57 +01:00
Leandro Lanzieri
877db8c00e
Merge pull request #13557 from gschorcht/doc/fix_url
doc: fix broken links
2020-03-24 13:08:18 +01:00
6202e2da71
tests: use backlight defines instead of board module 2020-03-24 12:02:50 +01:00
Gunar Schorcht
2afc32099a tests/pkg_tensorflow-lite: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
206d6651fd tests/pkg_wolfcrypt-ed25519-verify: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
0d8fb5a463 tests/pkg_semtech-loramac: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
6ab0d8bf99 tests/driver_si114x: fix broken links 2020-03-24 10:39:49 +01:00
Gunar Schorcht
64dd27a679 tests/driver_bmx280: fix broken links 2020-03-24 10:39:49 +01:00
Francisco Molina
ec33b3eee4
tests: remove uneeded blacklist
With #12941 and #13613 some of the blacklisting introduced in #12461
are no longer needed, since `test_interactive_test_util` is lighter
or adds no extra code.
2020-03-24 10:18:59 +01:00
benpicco
1e38a3da63
Merge pull request #13673 from fjmolinas/pr_cc2538_cleanups
cpu/cc2538: clock cleanups
2020-03-21 22:24:48 +01:00
Francisco Molina
4cc2457b4f
tests/periph_timer: TIMER_SPEED=CLOCK_CORECLOCK for cc2538 boards 2020-03-21 19:32:24 +01:00
edfbcb5a4c
tests/pkg_utensor/: exclude nucleo-l412kb 2020-03-20 18:48:31 +01:00
84941a2548
tests/unittests: exclude nucleo-l412kb 2020-03-20 18:48:31 +01:00
7d0c475113
Merge pull request #13486 from bergzand/pr/suit/ietf_v3
SUIT: Update to draft-ietf-v3
2020-03-20 14:44:29 +01:00
Francisco
b98e4bf0d1
Merge pull request #13658 from fjmolinas/pr_periph_timer_cc2538
cpu/cc2538: fix GPT3 IRQ definition
2020-03-20 14:31:05 +01:00
Marian Buschsieweke
09946a8618
tests/driver_at86rf215: Fix Makefile.ci 2020-03-20 11:06:41 +01:00
Francisco
cdbf0b2d69
Merge pull request #13583 from benpicco/at86rf215-minimal
drivers/at86rf215: add basic support for AT86RF215 dual-band radio
2020-03-20 09:33:50 +01:00
413b91326f
tests/suit_v3_manifest: Add draft-ietf-v3 manifest parser test
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2020-03-19 22:56:01 +01:00
Martine Lenders
a5fb39e1d6
Merge pull request #13659 from leandrolanzieri/pr/test/emcute_use_sync_shell
tests/emcute: Use test_utils_interactive_sync_shell to sync
2020-03-19 20:51:43 +01:00
Leandro Lanzieri
b8dd4f1005 tests/emcute: Use test_utils_interactive_sync_shell to sync 2020-03-19 17:42:49 +01:00
Gunar Schorcht
df19c6d1b4
Merge pull request #13519 from benpicco/rtt_rtc
drivers/rtt_rtc: add RTT based RTC implementation, enable it for cpu/cc2538, nrf5x_common
2020-03-19 17:18:43 +01:00
Francisco Molina
daab688998
tests/periph_timer: adapt to cc2538 boards 2020-03-19 16:31:58 +01:00
Benjamin Valentin
d632eb44b0 tests/unittests: add tests for rtt_rtc 2020-03-19 15:25:14 +01:00
Gunar Schorcht
4ac8f8df4c
Merge pull request #13646 from benpicco/BACKUP_RAM
cpu: add BACKUP_RAM attribute
2020-03-19 15:09:30 +01:00
Benjamin Valentin
8ac5bdc6c1 tests: added test app for the at86rf215 driver 2020-03-19 14:39:18 +01:00
Benjamin Valentin
aff99b64e9 tests/periph_backup_ram: use BACKUP_RAM attribute 2020-03-19 13:38:50 +01:00
10b7d5f922
tests/pkg_*: refactor some test scripts
in pkg_c25519, pkg_libcose and pkg_tweetnacl, use the check_unittests helper function and rework the way the test TIMEOUT value is determined
2020-03-19 10:39:35 +01:00
e9af310159
tests: use check_unittests func from testrunner 2020-03-19 10:39:34 +01:00
benpicco
df1719d2e8
Merge pull request #13655 from gschorcht/tests/button_int_flank_definition
tests: use button interrupt flank definition as optionally defined in board definitions
2020-03-19 10:30:01 +01:00
Gunar Schorcht
460c3e8274 tests/buttons: allow interrupt flank definition 2020-03-19 08:19:32 +01:00
Gunar Schorcht
c0c478a145 tests/periph_pm: allow interrupt flank definition 2020-03-19 08:19:10 +01:00
ae6382633a
tests: add LittlevGL test application 2020-03-18 15:02:33 +01:00
012567e0a8
tests/unittests: blacklist bootloader_arduino feature 2020-03-18 10:53:18 +01:00
4145c196b7
tests/ssp: blacklist bootloader_arduino feature 2020-03-18 10:53:17 +01:00
0e511a6892
tests/bench_xtimer: update low memory boards list
Samd21 based boards using the Arduino bootloader and stdio over usb by default doesn't have enough RAM to run the test in its default configuration (1000 timers)
2020-03-18 10:53:17 +01:00
7b17f6254f
Merge pull request #13643 from aabadie/pr/tests/ztimer_cleanup_unittests
tests/ztimer_mock: cleanup leftover debug messages
2020-03-18 10:33:36 +01:00
6538687a4c
Merge pull request #13613 from fjmolinas/pr_light_shell_interactive_sync
tests: add interactive_sync adapted to shell
2020-03-17 18:16:51 +01:00
Francisco Molina
e8be1f9856
tests: adapt to test_utils_interactive_sync_shell 2020-03-17 17:23:28 +01:00
Francisco Molina
9766c3e2f1
tests: remove shell commands added only for interactive_sync
Reverts parts of 416c048737
2020-03-17 17:23:27 +01:00
Francisco Molina
a31003a23c
tests: add interactive_sync adapted to shell 2020-03-17 17:23:27 +01:00
benpicco
796ae80ea2
Merge pull request #13478 from miri64/tests/fix/unittests-6ctx-prefix-match
unittests: tests-sixlowpan_ctx: fix prefix check
2020-03-17 13:31:49 +01:00
39d9d599cc
Merge pull request #13620 from kaspar030/add_pkg_yxml
pkg/yxml: add Yxml XML parser library package
2020-03-17 11:06:19 +01:00
329c1044bc
tests/ztimer_mock: cleanup leftover debug messages 2020-03-16 15:21:22 +01:00
francisco
55b11b7925
boards/im880b: add insufficient memory to tests 2020-03-13 14:36:51 +01:00
Martine Lenders
5defa1ae34
Merge pull request #13466 from gschorcht/fix_compilation_with_ndebug
tests: fix compilation problems with NDEBUG
2020-03-12 19:34:33 +01:00
Martine Lenders
20e30ec58b
Merge pull request #13622 from gschorcht/net/dhcpv6_fix_opt_len
sys/net/dhcpv6: fixes option length handling in client implementation
2020-03-12 18:56:43 +01:00
Martine S. Lenders
fcb8317d85 tests/gnrc_dhcpv6_client_6lbr: put IA_PD option first
In #13622 bugs in the option length handling were noted and fixed.
Putting the IA_PD option first (as the `isc-dhcp-server` does)
reproduces this bug.
2020-03-12 18:33:17 +01:00
Gunar Schorcht
953a4af0d9 tests/lwip: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
88cac0ff4b tests/gnrc_sock_async_event: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
bc071044d7 tests/cpp11_mutex: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
944fb3909e tests/gnrc_ndp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
fd5fb46336 tests/usbus: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
a7e0071c45 tests/thread_msg_block_race: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
85ce49680b tests/socket_zep: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
0cafa4ed61 tests/pkg_micro-ecc: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
89447ca68c tests/pkg_cn-cbor: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
fbd486bf2e tests/periph_eeprom: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
e77febff1d tests/nimble_l2cap_server: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
d92277a0f0 tests/nimble_l2cap: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
ad4f1993b2 tests/lwip_sock_udp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
e4909375b0 tests/lwip_sock_tcp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
831e2de56c tests/lwip_sock_ip: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
8af912b002 tests/lua_loader: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
72278d3463 tests/gnrc_sock_udp: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
d508b0ca09 tests/gnrc_sock_ip: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
e5508455c4 tests/gnrc_sock_async_event: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
1ed09f56a0 tests/gnrc_sixlowpan_iphc_w_vrb: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
d1167b2dbd tests/gnrc_sixlowpan: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
c7fdb5eeba tests/gnrc_netif: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
1757d5eae0 tests/gnrc_ipv6_nib_6ln: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
fff2d02378 tests/gnrc_ipv6_nib: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
c6b1d3216e tests/gnrc_ipv6_fwd_w_sub: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
0f0344eb54 tests/gnrc_ipv6_fwd_w_sub: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
535863b80a tests/gnrc_ipv6_ext_frag: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
a68c2f3008 tests/events: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
94aa7014cf tests/embunit: fix NDEBUG compile problem 2020-03-12 18:04:42 +01:00
Gunar Schorcht
83f1537562 tests/driver_motor_driver: fix NDEBUG compile problem 2020-03-12 17:44:41 +01:00
Gunar Schorcht
08706e771e tests/cpp11_condition_variable: fix NDEBUG compile problem 2020-03-12 17:40:46 +01:00
Gunar Schorcht
f4224890ae tests/bench_xtimer: fix NDEBUG compile problem 2020-03-12 17:40:46 +01:00
Gunar Schorcht
8fb7a29eab tests/bench_timers: fix NDEBUG compile problem 2020-03-12 17:40:46 +01:00
Gunar Schorcht
4f5dab16b7 tests/unittests/tests-gnrc_ipv6: fix NDEBUG compile problem 2020-03-12 17:40:46 +01:00
benpicco
1212165222
Merge pull request #13584 from kb2ma/nanocoap/add_uquery_improvements
net/nanocoap: add uquery improvements
2020-03-12 15:18:07 +01:00
benpicco
d5c7d28b38
Merge pull request #10745 from kaspar030/make_idle_stacksize_configurable
cpu: make default idle/main stacksizes configurable on all archs
2020-03-12 14:38:32 +01:00
f9e80f8b71 tests/pkg_yxml: add basic Yxml package test 2020-03-12 14:21:40 +01:00
Robert Hartung
dc6665d5cf
Merge pull request #12717 from dylad/pr/bme680_pkg_driver
driver/bme680: add I2C/SPI driver for BME680 device
2020-03-12 14:00:40 +01:00
Ken Bannister
2e0a5c053e tests/nanocoap: add test for coap_opt_add_uquery2() 2020-03-12 08:44:26 -04:00
f88fa2e3f2 tests/minimal: reduce main/idle stacksize 2020-03-12 13:01:13 +01:00
Gunar Schorcht
2338944a1c tests: add test application for BME680 driver 2020-03-12 08:42:59 +01:00
Martine Lenders
72d28d54e5
Merge pull request #13615 from miri64/sock_async/api/callback-arg
sock_async: add optional callback argument
2020-03-11 20:07:18 +01:00
benpicco
52cc02c9a9
Merge pull request #13387 from nmeum/mpu_noexec_ram_ng
Add optional support for executable space protections
2020-03-11 20:00:44 +01:00
Martine Lenders
086d0ac83e
Merge pull request #13152 from miri64/shell_commands/enh/version
shell_commands: provide command to print version
2020-03-11 18:36:43 +01:00
Martine S. Lenders
fe53525416
lwip: amend for async callback argument 2020-03-11 16:54:13 +01:00
Martine S. Lenders
f97e97555c
tests/gnrc_sock_async_event: amend for async callback argument 2020-03-11 16:54:12 +01:00
Martine S. Lenders
411e320b0c
sock_async_event: update for async callback argument support 2020-03-11 16:54:12 +01:00
Martine S. Lenders
6e6e435c65
sock_async: add optional callback argument 2020-03-11 16:54:11 +01:00
1e8037670b
Merge pull request #10420 from gschorcht/drivers_apds99xx
drivers: add driver for APDS99XX ambient light and proximity sensors
2020-03-11 16:27:53 +01:00
benpicco
d4e05edac0
Merge pull request #13524 from benpicco/openlabs-kw41z-mini-256kib
boards: add openlabs-kw41z-mini-256kib
2020-03-11 15:42:25 +01:00
Martine S. Lenders
f238dca044
tests/periph_wdt: provide Makefile.ci with too small boards 2020-03-11 15:30:09 +01:00
Schorcht
5f8508804b tests: add APDS99XX ALS and proximity 2020-03-11 14:21:47 +01:00
Benjamin Valentin
9573b2bba0 boards: add openlabs-kw41z-mini-256kib
Add the 256k version of the openlabs-kw41z-mini.
They are identical to the openlabs-kw41z-mini except that it uses
the mkw41z256vht4 instead of the mkw41z512vht4.
2020-03-11 13:50:37 +01:00
benpicco
008faef16a
Merge pull request #13581 from Scallog/olimexino-stm32-support
boards/olimexino-stm32: add support for olimexino-stm32 board
2020-03-11 11:40:53 +01:00
benpicco
bb025e46ac
Merge pull request #13360 from wosym/tests/candev_native4
Tests/candev: Initial version with native support
2020-03-11 11:40:24 +01:00
Corentin 'Kmikaz' Vigourt
54cafc5125 boards/olimexino-stm32: add support for olimexino-stm32 board 2020-03-11 10:59:57 +01:00
Martine S. Lenders
0434ff45c8
tests/lwip: stabalize test script
While running this test script, I encountered the problem, that the
process for the previous test was not finished, not allowing the next
test to use its TAP interface. This small timer should fix that.
2020-03-10 18:39:05 +01:00
Wouter Symons
a7880ab98d test/candev: add candev test app with native support
This test app bypasses candll and uses the candev abstraction directly.
This has the limitation that you can only use one can driver and one can
device, which is in most use cases sufficient.
2020-03-10 18:13:15 +01:00
Wouter Symons
9b829c99a9 tests/conn_can: make auto_init_can explicit
in other apps we might not want to automatically select the auto_init
2020-03-10 18:12:37 +01:00
90ca4f3b42 tests/ztimer_overhead: update to use signed ztimer_overhead() 2020-03-10 12:23:33 +01:00
Sören Tempel
9772f78a0e tests/mpu_noexec_ram: convert to an automated test 2020-03-10 11:16:22 +01:00
Sören Tempel
5bb3b3dfea tests: add test for the mpu_noexec_ram pseudomodule
The Makefiles have been copied from the mpu_stack_guard test.
2020-03-10 11:16:22 +01:00
benpicco
82b96ff831
Merge pull request #13592 from aydoganersoz/qcbor_pkg_add
pkg/qcbor: Add QCBOR package
2020-03-09 21:48:15 +01:00
Aydogan Ersoz
d66f35c31a add QCBOR package 2020-03-09 20:29:50 +01:00
benpicco
6f7293d7c3
Merge pull request #13559 from aabadie/pr/sys/crypto_modules_rework
sys/crypto: define cipher using a module instead of CFLAGS
2020-03-09 19:41:27 +01:00
Vincent Dupont
97cfd1e512 memarray: fix memarray init
If memarray data is not initialized to 0 (for instance during a
re-init). The last element of the array is not properly cleared thus
leading to returning an invalid pointer when everything is allocated.
2020-03-09 17:56:34 +01:00
Gunar Schorcht
b8777e9a9d tests: fix enumeration type usage in driver_sx127x 2020-03-09 13:53:57 +01:00
95f34e00b9
Merge pull request #13578 from benpicco/tests-auto_init
tests: clean up use of auto_init
2020-03-06 20:19:54 +01:00
Martine Lenders
c30f83ac3b
Merge pull request #13579 from jia200x/pr/gnrc_netif_send
gnrc_netif_send: add send function
2020-03-06 20:07:45 +01:00
5332ecec33
tests/crypto*: use crypto_% modules instead of CFLAGS 2020-03-06 19:49:58 +01:00
57985806c1
Merge pull request #13562 from jia200x/pr/netdev_irq_end
netdev: add netdev_trigger_event_isr() function
2020-03-06 15:37:24 +01:00
Jose Alamos
6143cd800b gnrc_netif: use gnrc_netif_send where possible 2020-03-06 15:22:58 +01:00
Benjamin Valentin
d31eedb831 tests/c11_atomics_cpp_compat: don't disable auto_init
There is no reason to disable auto_init for this test.
Since the test only uses stdout, nothing would get initialized
anyway.
2020-03-06 15:20:25 +01:00
Benjamin Valentin
57a0e3acc8 tests/irq: remove USEMODULE += auto_init
auto_init is a default module, no need to select it manually.
2020-03-06 15:15:38 +01:00
Gunar Schorcht
fc37d7bf81
Merge pull request #13427 from miri64/lwip/enh/sock_async
lwip: provide sock_async support
2020-03-06 14:37:54 +01:00
Jose Alamos
3ad574a822 drivers/netdev: use netdev_trigger_event_isr function 2020-03-06 14:03:43 +01:00
benpicco
7877ffdf2a
Merge pull request #13511 from fjmolinas/pr_auto_init_periph
drivers/periph_common: add periph_init% modules
2020-03-06 13:05:57 +01:00
Martine Lenders
37df4ea7e2
tests/lwip: add regression test for multiple simultaneous connect case 2020-03-06 11:29:46 +01:00
Martine S. Lenders
ba2dd2cf44
tests/lwip: adapt test to use sock_async 2020-03-06 11:29:44 +01:00
Francisco Molina
740a386b17
tests/periph_rtt: only disable periph_init_rtt 2020-03-06 11:21:28 +01:00
ed316309c8
Merge pull request #11874 from kaspar030/ztimer
sys/ztimer: initial import
2020-03-06 09:46:27 +01:00
JulianHolzwarth
110c725321 tests/xtimer_mutex_lock_timeout: minimal xtimer_mutex_lock_timeout test
This test checks if the function works when the timeout is smaller than XTIMER_BACKOFF and the mutex is already locked.
This means the timer will spin and the timer will shoot before the mutex lock was called.
Then the mutex lock gets called and the timer will not remove the thread from the mutex.
Checking if this case is handled correctly.
2020-03-05 18:45:28 +01:00
Jan Mohr
aa5ffe5a6d drivers/lis2dh12: added interrupt function 2020-03-04 17:01:58 +01:00
Francisco
9b1ab4aebd
Merge pull request #13553 from kaspar030/disable_softdevice_test
tests/nordic_softdevice: disable CI testing
2020-03-04 15:59:13 +01:00
e6bfba670d tests/nordic_softdevice: disable CI testing 2020-03-04 14:15:17 +01:00
4d3c103a0d tests/xtimer_drift: ztimer_xtimer_compat fix 2020-03-04 12:44:03 +01:00
779e47966a tests: add ztimer test applications 2020-03-04 12:44:02 +01:00
Joakim Nohlgård
39980d5ea3 unittests: Add ztimer test suite 2020-03-04 12:44:02 +01:00
1298ae828a
Merge pull request #13202 from bergzand/pr/mtd/mapper
MTD: Add module for remapping MTD sectors
2020-03-04 11:51:39 +01:00
34e03a0c7f tests/xtimer_overhead: initial commit 2020-03-04 11:32:12 +01:00
d2c3362c88
mtd_mapper: add test 2020-03-04 10:47:54 +01:00
68ec8b2c2b
Merge pull request #13391 from kaspar030/mpu_feature
cpu/cortex-m: turn MPU support into a feature
2020-03-04 07:09:40 +01:00
cbca43bf6c tests/mpu_stack_guard: update Makefile.ci 2020-03-03 22:58:21 +01:00
b154784421 tests/mpu_stack_guard: error unless __MPU_PRESENT 2020-03-03 22:58:21 +01:00
Gunar Schorcht
9e372104f0
Merge pull request #13284 from benpicco/rtc_mktime
periph_common/rtc: add rtc_mktime() & rtc_localtime() helper functions for RTC implementations
2020-03-03 14:12:50 +01:00
Benjamin Valentin
6581d43337 tests/periph_rtc: don't set time in the past 2020-03-03 11:01:02 +01:00
Benjamin Valentin
5b64ae4ef5 periph_common/rtc: add rtc_localtime()
Add function to convert a RTC timestamp (non-UNIX) to a time struct.
2020-03-03 11:01:02 +01:00
ede7836b16
tests/sys_disp_dev: add disp_dev test application 2020-03-03 10:25:55 +01:00
Benjamin Valentin
becff61e20 periph_common/rtc: add rtc_mktime()
Add a function to convert a time struct to an unsigned timestamp (non-UNIX).
2020-02-29 17:42:50 +01:00
Gunar Schorcht
db04bc1af4 tests: add phydat dump test 2020-02-29 12:36:55 +01:00
benpicco
23c5d34284
Merge pull request #10846 from benemorius/kw41z-mini
boards: add support for kw41z-mini
2020-02-28 07:40:25 +01:00
Thomas Stilwell
ef6024cf1a boards: add kw41z-mini 2020-02-27 21:34:04 -06:00
benpicco
244c7da050
Merge pull request #13026 from brummer-simon/gnrc_tcp-prepare_for_sock_integration
gnrc_tcp: Prepare for sock integration.
2020-02-26 23:22:58 +01:00
Simon Brummer
10872d9a85 gnrc_tcp: Add Endpoints for connection specification 2020-02-26 21:24:06 +01:00
Martine Lenders
079b3abd6a
Merge pull request #13343 from miri64/tests/cleanup/ws281x-arch-feature
tests/driver_ws281x: resolve weird feature dependencies
2020-02-26 17:06:19 +01:00
426b0d70d7
Merge pull request #13462 from dylad/pr/saml1x/fix_unittests
tests/unittests: fix GCC compiler bug in core-atomic for SAML1X
2020-02-26 12:38:22 +01:00
dylad
fd984439a3 tests/unittests: fix GCC compiler bug in core-atomic for SAML1X
Co-Authored-By: benpicco <benpicco@googlemail.com>
2020-02-26 10:56:15 +01:00
dylad
841140ad88 tests/unittests: remove the temporary fix from #13456 2020-02-26 10:56:15 +01:00
benpicco
99f3f67e67
Merge pull request #13317 from benpicco/arm7-event_thread
tests/event_threads: remove arch_arm7 from blacklist
2020-02-26 08:39:00 +01:00
462f320aaf
tests/driver_srf08: update with new init scheme
+ cleanup not needed export of variables
2020-02-25 21:24:02 +01:00
benpicco
aa1c23d4bd
Merge pull request #11929 from fabian18/driver-at24cxxx-eeprom
Driver for AT24CXXX EEPROM
2020-02-25 18:16:45 +01:00
Martine S. Lenders
2929b1ba20
unittests: tests-sixlowpan_ctx: fix prefix check
The result must be checked for being greater or equal to the targeted
value. So for the [Yoda conditions] in those unittests the comparison
mast be lesser or equal.

[Yoda conditions]: https://en.wikipedia.org/wiki/Yoda_conditions
2020-02-25 17:49:47 +01:00
13a6cfb9ba tests/unittests: temporarily disable for saml1[01]-xpro 2020-02-24 14:56:04 +01:00
fabian18
cd817277d3 tests/driver_at24cxxx: test for at24cxxx EEPROM 2020-02-24 14:00:25 +01:00
63f805c5b7
Merge pull request #13268 from kaspar030/add_expect_header
sys/test_utils: add expect() header
2020-02-24 13:34:16 +01:00
870083375b
Merge pull request #13453 from aabadie/pr/tests/driver_srf08_cppcheck_fix
tests/driver_srf08: reduce scope of range_array
2020-02-24 12:36:35 +01:00
3ef7f38fb3 tests/bench_xtimer: change SUPER_LOW_MEMORY_BOARDS to 12 timers 2020-02-24 11:45:33 +01:00
981cdeaa47 tests/README.md: add paragraph explaining expect() 2020-02-24 11:45:33 +01:00
fc0ac42ba1 tests/bench_xtimer: use "expect()" instead of "assert()" 2020-02-24 11:45:33 +01:00
c152151204
tests/driver_srf08: reduce scope of range_array
The issue is reported by cppcheck when modifying this file
2020-02-24 10:39:36 +01:00
1e74280308
Merge pull request #13270 from wosym/conn_cann_native
tests/conn_can: fix build error on native
2020-02-24 10:39:29 +01:00
Benjamin Valentin
5256f061dd tests/gnrc_sock_dns: add a message queue
Without it I get the following error when I try to use ping6

    !!!! gnrc_netreg: initialize message queue of thread 2 using msg_init_queue() !!!!
    Stack Pointer: 0x22ef
    *** RIOT kernel panic:
    FAILED ASSERTION.

So copy the message queue from examples/gnrc_networking
2020-02-22 00:18:01 +01:00
benpicco
aa00191384
Merge pull request #13256 from MichelRottleuthner/pr_sps30
Add driver for SPS30 particulate matter sensor
2020-02-21 18:58:56 +01:00
benpicco
336bfe54a9
Merge pull request #13366 from bergzand/pr/littlefs2/add_pkg
pkg/littlefs2: Add package for LittleFS v2.x.y
2020-02-20 16:23:59 +01:00
9e11e28686
tests/littlefs2: Add test for LittleFS v2.x.y
Intentionally a copy of the LittleFS v1.x.y test
2020-02-20 14:51:45 +01:00
Michel Rottleuthner
b5658e61a5 tests: add test application for Sensirion SPS30 sensor driver 2020-02-20 14:26:55 +01:00
Martine Lenders
ea3296df62
Merge pull request #11823 from miri64/tests/enh/emcute
tests: provide tests for emcute
2020-02-20 11:20:07 +01:00
benpicco
030e7ebc06
Merge pull request #13307 from miri64/dhcpv6-client-6lbr/feat/init
gnrc_dhcpv6_client_6lbr: initial import of a 6LBR DHCPv6 client
2020-02-20 11:00:35 +01:00
Martine Lenders
c6331bfc77
Merge pull request #13379 from cgundogan/pr/gnrc_rpl_p2p
gnrc_rpl_p2p: several compilation fixes
2020-02-20 10:25:55 +01:00
Cenk Gündoğan
ab414ce813 tests: add simple compile test for gnrc_rpl_p2p 2020-02-19 22:54:09 +01:00
Martine S. Lenders
8cafcc3ebf
tests: provide tests for 6LBR DHCPv6 client 2020-02-19 18:26:46 +01:00
Martine S. Lenders
5507b1b4a2
tests: provide tests for emcute 2020-02-19 17:28:20 +01:00
Leandro Lanzieri
196345928f tests: Remove pkg_oonf_api tests
The OONF package has been deprecated and is being removed
2020-02-19 15:04:21 +01:00
950a206bad cpu/cortex-m: MPU: turn into feature "cortexm_mpu" 2020-02-18 16:41:36 +01:00
Leandro Lanzieri
7cacc594cd test: Remove nhdp tests
NHDP module has been deprecated and is being removed.
2020-02-18 13:20:05 +01:00
db7d8a58e8
tests/pkg_cmsis-nn: add cifar10 example application 2020-02-14 16:23:41 +01:00
Hauke Petersen
2c41f762b0
Merge pull request #13373 from haukepetersen/add_event_timeout64
sys/event: add event_wait_timeout64()
2020-02-13 17:21:50 +01:00
benpicco
f9f222c907
Merge pull request #12746 from benpicco/at25mac
drivers: add driver for the AT24MAC unique ID chip
2020-02-13 16:39:10 +01:00
Hauke Petersen
a574a67ca4 tests/event_wait_timeout: test 64-bit variant 2020-02-13 16:18:32 +01:00
Benjamin Valentin
ecd084781a tests: add test for at24mac driver 2020-02-13 15:58:43 +01:00
Hauke Petersen
0bcef73067 tests/thread_flags: add call to set_timeout_flag64 2020-02-13 15:37:30 +01:00
e694708bbb
tests/driver_stmpe811: add test application 2020-02-13 09:14:51 +01:00
Francisco Molina
e0855dedfd
tests: remove uneeded DISABLE_MODULE+=auto_init 2020-02-12 16:51:34 +01:00
benpicco
f5b6544123
Merge pull request #13329 from wosym/pr/bh1900nux
Add bh1900nux driver
2020-02-12 11:16:23 +01:00
95d451da95
Merge pull request #12982 from kaspar030/xtimer_bench_load
tests/bench_xtimer_load: initial commit
2020-02-12 10:11:48 +01:00
Wouter Symons
a2d9389373 Add bh1900nux driver 2020-02-12 07:34:22 +01:00
Martine S. Lenders
8a53e9bf37
tests/driver_ws281x: resolve weird feature dependencies 2020-02-11 16:03:21 +01:00
47527e5a00 tests/bench_xtimer_load: initial commit 2020-02-11 15:49:23 +01:00
benpicco
628aa1197e
Merge pull request #13331 from btcven/2020_02_10-sram-size
cc26x2_cc13x2: use correct RAM value
2020-02-11 15:43:38 +01:00
Benjamin Valentin
6666e1d2df tests/event_threads: remove arch_arm7 from blacklist
Now that ISR_STACKSIZE is hard-coded, there is no reason to blacklist
the architecture anymre.
2020-02-11 15:39:34 +01:00
c30df3cac9
Merge pull request #7572 from kaspar030/zptr
core: add pointer compression header
2020-02-11 15:25:24 +01:00
benpicco
33291ad675
Merge pull request #13306 from fjmolinas/pr_samr21_use_xosc
boards/sam[r/d]21-xpro: prefer XOSC32K for RTC/RTT (GCLK2)
2020-02-11 15:18:36 +01:00
f3874edd14 tests/unittests: add basic zptr test 2020-02-11 13:59:59 +01:00
Jean Pierre Dudey
de50518146
cc26x2_cc13x2: use correct RAM value
Previous value was 20 K, now it's 80 K. The older family of these MCUs
(cc13x0, cc26x0) had that size, currently for cc13x2 and cc26x2 it's
80 K.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-02-10 18:38:15 -05:00
Benjamin Valentin
720eff3416 tests/driver_ws281x: allow build on native
Also add an additional newline before each test title to improve
the rendering on native console output.
2020-02-10 14:45:26 +01:00
Francisco Molina
dd4f6600b8
tests/periph_wdt: wait for prompt 2020-02-07 15:54:58 +01:00
Wouter Symons
7f4ce0b63d test/conn_can: blacklist arch_msp430 2020-02-07 13:44:38 +01:00
Wouter Symons
e823099fc1 tests/conn_can: add boards to BOARD_INSUFFICIENT_MEMORY 2020-02-07 13:35:21 +01:00
Gunar Schorcht
3514eecf9d
Merge pull request #12474 from kaspar030/add_event_threads
sys: add shared event threads
2020-02-07 13:29:29 +01:00
benpicco
5a4d39e2ee
Merge pull request #13288 from catcombo/fix-ds18-temperature-conversion
Fix ds18 temperature conversion
2020-02-07 13:09:22 +01:00
9a93805bee tests/event_threads: initial event threads test application 2020-02-07 12:17:56 +01:00
Evgeniy Krysanov
234313a9f1 drivers/ds18: add arduino-nano to BOARD_WHITELIST in ds18 driver test 2020-02-07 12:55:43 +03:00
Wouter Symons
a4f602b01d tests/conn_can: remove feature requirements from Makefile 2020-02-07 10:54:17 +01:00
Peter Kietzmann
b339b1c134
Merge pull request #13254 from maksim-ka/pr-relic-branch
pkg/relic: use random module for seeding relic PRNG
2020-02-06 23:48:43 +01:00
maksim-ka
d3d181c5a8 pkg/relic: use random module for seeding relic PRNG 2020-02-06 21:11:39 +01:00
Einhornhool
8c1246d6a5 tests/pkg_cryptoauthlib_internal: add unsupported device handling 2020-02-06 15:09:38 +01:00
Lena Boeckmann
23aa05126d pkg/cryptoauthlib: make atca dev type configurable 2020-02-05 16:51:43 +01:00
benpicco
f760625cd0
Merge pull request #13035 from gschorcht/tests/periph_rtc_fix
tests/periph_rtc: fix system locks in ISR
2020-02-02 15:57:43 +01:00
Gunar Schorcht
46dbd867f2 tests/periph_rtc: fix system locks in ISR
`tests/periph` calls the functions `rtc_get_alarm` and `rtc_set_alarm` from an ISR. Depending on the implementation of `periph_rtc`, however, these functions use `newlib` functions such as `localtime` and `mktime`, which in turn call the `newlib` lock function `__tz_lock`. This can lead to a system lock if the `newlib`  with real lock functionality is used instead of the `newlib_nano`.
2020-02-02 15:04:22 +01:00
Hauke Petersen
1506ed3d22
Merge pull request #13249 from haukepetersen/fix_test_periphuartshellbufsize
tests/periph_uart: fix shell buffer size
2020-01-31 19:42:18 +01:00
Hauke Petersen
98478f0514 tests/periph_uart: fix shell buffer size 2020-01-31 13:57:08 +01:00
benpicco
c7b0483549
Merge pull request #12879 from miri64/gnrc_sixlowpan_iphc/feat/nhc-ext
gnrc_sixlowpan_iphc: add support for IPv6 extension header compression
2020-01-31 12:02:47 +01:00
Peter Kietzmann
92c7a7a452
Merge pull request #13014 from Einhornhool/cryptoauthlib_implementation
pkg: add library for Microchip CryptoAuth devices as package
2020-01-31 00:28:30 +01:00
Einhornhool
83de1cf0c8 tests: add pkg_cryptoauthlib_internal-tests 2020-01-30 23:51:48 +01:00
Einhornhool
7842c3dc6f tests: add pkg_cryptoauthlib_compare_sha256 2020-01-30 23:51:48 +01:00
Martine S. Lenders
0300fb4bfd
tests: extend list of BOARD_INSUFFICIENT_MEMORY for IPHC+VRB test 2020-01-30 17:59:59 +01:00
Leandro Lanzieri
6481076866 tests/gnrc_ipv6_ext_frag: Add Kconfig default configurations
This test needs the pool size for limit objects set to 3 by default so
it does not fail. As this is done with the 'app.config' file, we
explicitly disable Kconfig by default.
2020-01-30 17:42:42 +01:00
Leandro Lanzieri
e1e302f8d1 tests/gnrc_ipv6_ext_frag: Set limits pool size if not set by Kconfig 2020-01-30 17:42:42 +01:00
Leandro Lanzieri
5602bd55ed gnrc/ipv6/ext/frag: Move configurations to 'CONFIG_' namespace
Macros that changed:
GNRC_IPV6_EXT_FRAG_SEND_SIZE -> CONFIG_GNRC_IPV6_EXT_FRAG_SEND_SIZE
GNRC_IPV6_EXT_FRAG_RBUF_SIZE -> CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_SIZE
GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE -> CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE
GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US -> CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US
2020-01-30 17:42:41 +01:00
Ken Bannister
b354722574 net/gcoap: remove test migrated to nanocoap 2020-01-29 09:24:46 -05:00
Ken Bannister
22ce1c140b net/nanocoap: use new function in query test 2020-01-29 09:23:47 -05:00
Leandro Lanzieri
bab6f4737c net/gcoap: Move config macros to 'CONFIG_' namespace
Macros that changed:
GCOAP_MSG_QUEUE_SIZE -> CONFIG_GCOAP_MSG_QUEUE_SIZE
GCOAP_NO_AUTO_INIT -> CONFIG_GCOAP_NO_AUTO_INIT
GCOAP_NO_RETRANS_BACKOFF -> CONFIG_GCOAP_NO_RETRANS_BACKOFF
GCOAP_NON_TIMEOUT -> CONFIG_GCOAP_NON_TIMEOUT
GCOAP_OBS_CLIENTS_MAX -> CONFIG_GCOAP_OBS_CLIENTS_MAX
GCOAP_OBS_OPTIONS_BUF -> CONFIG_GCOAP_OBS_OPTIONS_BUF
GCOAP_OBS_REGISTRATIONS_MAX -> CONFIG_GCOAP_OBS_REGISTRATIONS_MAX
GCOAP_OBS_VALUE_WIDTH -> CONFIG_GCOAP_OBS_VALUE_WIDTH
GCOAP_PDU_BUF_SIZE -> CONFIG_GCOAP_PDU_BUF_SIZE
GCOAP_PORT -> CONFIG_GCOAP_PORT
GCOAP_RECV_TIMEOUT -> CONFIG_GCOAP_RECV_TIMEOUT
GCOAP_REQ_OPTIONS_BUF -> CONFIG_GCOAP_REQ_OPTIONS_BUF
GCOAP_REQ_WAITING_MAX -> CONFIG_GCOAP_REQ_WAITING_MAX
GCOAP_RESEND_BUFS_MAX -> CONFIG_GCOAP_RESEND_BUFS_MAX
GCOAP_RESP_OPTIONS_BUF -> CONFIG_GCOAP_RESP_OPTIONS_BUF
GCOAP_TOKENLEN -> CONFIG_GCOAP_TOKENLEN
2020-01-28 11:59:52 +01:00
65f0391b1e
Merge pull request #13184 from nmeum/pr/ssp_feature
Add CPU feature for stack smash protections
2020-01-22 16:47:08 +01:00
Sören Tempel
5ef5ab7e4b Add CPU feature for stack smash protections 2020-01-22 15:59:02 +01:00
Marian Buschsieweke
dbb9fd0db9
Merge pull request #13137 from PeterKietzmann/pr_puf_opt_softreset
sys/puf_sram: counter based seed after soft reset
2020-01-21 13:20:11 +01:00
Leandro Lanzieri
881f17a816
Merge pull request #13123 from PeterKietzmann/pr_kconf_6lo
Kconfig: Expose gnrc/sixlowpan configurations
2020-01-20 17:41:52 +01:00
PeterKietzmann
ecc7ee8255 tests/puf_sram: disable interactive sync 2020-01-20 14:14:25 +01:00
696071de09
Merge pull request #13167 from fjmolinas/pr_disable_sync
tests/Makefile.tests_common: interactive_sync only with testrunner
2020-01-20 09:45:16 +01:00
97cb4c5707
Merge pull request #13134 from jeandudey/2020_01_15-cc1312-launchpad
boards: add cc1312-launchpad board.
2020-01-20 07:39:38 +01:00
Francisco Molina
33da57eac1 tests/Makefile.tests_common: interactive_sync only with testrunner 2020-01-19 20:38:39 +01:00
Jean Pierre Dudey
633aa8cd41
boards: add cc1312-launchpad board.
This is mostly based on the cc1352-launchpad boards, is essentially the same
buttons and leds pins, what changes is the CCXML files used to flash with
`make flash` and the UART pins.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-01-19 11:36:31 -05:00
Gunar Schorcht
15b7f64db3 tests/pkg_semtech_loramac: fix i-nucleo-lrwan1 board name
Fixes i-nucleo-lrwan1 board name in the BOARD_WITHOUT_LORAMAC_RX which disables the RX function of pkg/semtech_loramac and saves 1302 bytes RAM and about 2 kByte of code.
2020-01-19 15:11:31 +01:00
PeterKietzmann
55282a1b1d net/gnrc/sixlowpan/frag/vrb:Move timeout macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
cc6bee4986 net/gnrc/sixlowpan/frag/vrb:Move size macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
811facfa15 net/gnrc/sixlowpan/frag/rb:Move timeout macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
PeterKietzmann
9389d5b90f net/gnrc/sixlowpan/frag/rb:Move size macro to 'CONFIG_' namespace 2020-01-17 18:09:19 +01:00
Sebastian Meiling
48fbd446fe
Merge pull request #8796 from miri64/dhcpv6c-pd/feat/initial
dhcpv6: Initial implementation of a client (with IA_PD support)
2020-01-16 13:32:51 +01:00
Martine Lenders
f13a2b6b99
tests: add dhcpv6_client test application 2020-01-16 12:36:10 +01:00
5fd981b2e2
Merge pull request #12402 from ant9000/pr/usbus_cdc_acm_stdio_fix
Fix to avoid lost characters on USBUS CDC ACM STDIO
2020-01-15 19:52:13 +01:00
Francisco
43d2ca4771
Merge pull request #12602 from miri64/sock_async_event/feat/initial
sock_async: initial import of event-based implementation
2020-01-15 14:32:05 +01:00
fcde7a1c0c
Merge pull request #12962 from fjmolinas/pr_sys_arduino_fix
tests/sys_arduino: fix test synchronization issues
2020-01-15 12:18:21 +01:00
Antonio Galea
d1cc563ccf USBUS CDC ACM STDIO: test for the buffering code
fixes #12384
2020-01-15 11:38:04 +01:00
Hauke Petersen
8b408fc828
Merge pull request #12724 from aabadie/pr/stdio_rtt_blacklist
make: improve handling of the stdio_rtt module, improve dependency management at application level
2020-01-15 10:12:13 +01:00
Francisco Molina
b581223c0e tests/sys_arduino: fix test synchronization issues
The test currently doesn't wait for synchronization of the serial
terminal the second time it is setup with `Serial.begin`. This results
in the test commands being sent before the terminal is ready which
causes the test to fail. To fix this add an expect_exact on "Hello
arduino". (NOTE: this is different form `interactive_sync` which
synchronizes the start of the test, here we want `uart` to properly
re-init)
2020-01-15 10:05:46 +01:00
Martine Lenders
2687b24cd8
tests/gnrc_sock_async: adapt to use sock_async_event 2020-01-15 09:56:11 +01:00
fcec59261c
Merge pull request #12552 from kaspar030/add_pinetime_support
boards: add initial support for the PINE64 PineTime smartwatch
2020-01-15 09:51:40 +01:00
91f39c5836
tests/pkg_tensorflow-lite: exclude boards with too few memory 2020-01-14 22:23:08 +01:00
d213ee381a
tests/pkg_tensorflow-lite: adapt README to mnist_mlp example 2020-01-14 22:23:08 +01:00
26f3307d87
tests/pkg_tensorflow-lite: add mnist_mlp complete example 2020-01-14 22:23:07 +01:00
b376c7c5de
tests/pkg_tensorflow-lite: add sample application 2020-01-14 22:23:07 +01:00
4c0f4da40c tests/driver_ili9341: enable backlight on PineTime 2020-01-14 21:06:43 +01:00
petr
8fee219dc0 tests/pkg_u8g2: update tests 2020-01-14 13:23:25 +01:00
Martine Lenders
350b33b023
Merge pull request #12936 from leandrolanzieri/pr/kconfig_migrate/usb
Kconfig: Expose USB configurations
2020-01-14 12:39:30 +01:00
Leandro Lanzieri
37f228e08a tests/usbus_cdc_acm_stdio: Default to RIOT peripheral PID 2020-01-14 11:27:37 +01:00
Leandro Lanzieri
a5ef1b4876 tests/usbus: Default to RIOT peripheral PID 2020-01-14 11:27:12 +01:00
Leandro Lanzieri
59fed6f7e7 tests/usbus_cdc_ecm: Default to RIOT peripheral PID 2020-01-14 11:24:16 +01:00
Francisco
f76f7c73ce
Merge pull request #12957 from aabadie/pr/cpu/fe310_spi
cpu/fe310: add spi peripheral driver
2020-01-14 10:54:47 +01:00
Leandro Lanzieri
15bd4897c1 usb: Move configuration macros to 'CONFIG_' namespace
Macros that changed:
USB_CONFIG_VID -> CONFIG_USB_VID
USB_CONFIG_PID -> CONFIG_USB_PID
USB_CONFIG_MANUF_STR -> CONFIG_USB_MANUF_STR
USB_CONFIG_PRODUCT_STR -> CONFIG_USB_PRODUCT_STR
USB_CONFIG_CONFIGURATION_STR -> CONFIG_USB_CONFIGURATION_STR
USB_CONFIG_PRODUCT_BCDVERSION -> CONFIG_USB_PRODUCT_BCDVERSION
USB_CONFIG_SPEC_BCDVERSION -> CONFIG_USB_SPEC_BCDVERSION
USB_CONFIG_SELF_POWERED -> CONFIG_USB_SELF_POWERED
USB_CONFIG_MAX_POWER -> CONFIG_USB_MAX_POWER
USB_CONFIG_DEFAULT_LANGID -> CONFIG_USB_DEFAULT_LANGID
2020-01-14 10:34:53 +01:00
Francisco
a6cf5cf3f9
Merge pull request #12946 from aabadie/pr/cpu/fe310_i2c
cpu/fe310: add i2c peripheral driver
2020-01-14 10:20:11 +01:00
01d7384b7d
tests/gnrc_*: remove useless BOARD_BLACKLIST
chronos is indirectly blacklisted because of missing periph_uart feature.
hamilton doesn't provide periph_uart when stdio_rtt is disabled (because
of ethos dependency to stdio_uart) and ruuvitag/thingy52 provide the
periph_uart feature so stdio_uart can work on these boards.
2020-01-14 07:48:08 +01:00
Leandro Lanzieri
8e6f6ee460
Merge pull request #13065 from PeterKietzmann/pr_kconf_netif
Kconfig: Expose gnrc/netif configurations
2020-01-13 13:25:17 +01:00
PeterKietzmann
9e83d12bc0 net/gnrc/netif: Move GNRC_NETIF_IPV6_ADDRS_NUMOF to 'CONFIG_' namespace 2020-01-13 12:28:37 +01:00
PeterKietzmann
b28a586702 net/gnrc/netif: Move GNRC_NETIF_DEFAULT_HL to 'CONFIG_' namespace 2020-01-13 12:28:37 +01:00
1b4d8bbd2b
tests/pkg_flattbuffers: add sample application 2020-01-13 09:41:23 +01:00
MichelRottleuthner
53cb3b087c
Merge pull request #9530 from Hyungsin/forupstream_xtimer
sys: xtimer concurrency/robustness improvement
2020-01-13 08:24:15 +01:00
benpicco
1c148ba2f2
Merge pull request #10092 from gschorcht/drivers_itg320x
drivers: add driver for InvenSense ITG-320X 3-axis gyroscope
2020-01-11 17:37:48 +01:00
8dd35365e5
tests/driver_cc110x: exclude hifive1* boards 2020-01-11 17:30:19 +01:00
d313febef3
tests/driver_ph_oem: add missing stdio.h include 2020-01-11 17:28:12 +01:00
d609469f56
tests/driver_ina3221: add missing stdio.h include 2020-01-11 13:32:01 +01:00
Hyungsin
992afd9017 tests/pkg_semtech-loramac: add more unsupported boards 2020-01-11 03:55:27 -08:00
Schorcht
00ec1f9e9e tests: add driver for ITG320X 3-axis gyroscope 2020-01-11 08:02:34 +01:00
benpicco
5f1b09bd2f
Merge pull request #12727 from benpicco/color_util
sys/color: add color_rgb_set_brightness() and color_rgb_shift()
2020-01-10 23:27:45 +01:00
Hyungsin
35b6ed41f4 tests/bench_timers: reflecting xtimer's member change 2020-01-10 10:08:42 -08:00
Hyungsin
ca1ddeb919 tests/rng: reflecting xtimer's member change 2020-01-10 10:07:56 -08:00
Michel Rottleuthner
3ece2766a7 tests/bench_xtimer: decrease mem usage for some boards 2020-01-09 22:53:40 +01:00
Francisco
98e96a35a3
Merge pull request #13058 from kaspar030/bench_xtimer_sizeof
tests/bench_xtimer: add printing of sizeof(xtimer_t)
2020-01-09 13:42:52 +01:00
c5ddc685b9 tests/bench_xtimer: add printing if sizeof(xtimer_t) 2020-01-09 11:23:23 +01:00
Gaëtan Harter
4eb0538e74 tests/sys_crypto: test that the whole plaintext_len is written 2020-01-08 19:49:15 +01:00
a018df68cd
Merge pull request #12364 from mtausig/ccm_msglen
Fix CCM mode encryption when length of message > 256
2020-01-08 15:28:31 +01:00
7480642776
Merge pull request #13043 from aabadie/pr/tests/pkg_cmsis_tests_cleanup
tests: cleanup tests/lua_loader, tests/pkg_cmsis-dsp Python test scripts
2020-01-08 10:56:43 +01:00
MichelRottleuthner
4fb8de579e
Merge pull request #12942 from kaspar030/xtimer_bench_listop
tests/bench_xtimer: initial import
2020-01-08 09:53:51 +01:00
330b2b6e58
tests/lua_loader: cleanup Python test script 2020-01-08 09:46:09 +01:00
9988d98929
tests/pkg_cmsis-dsp: cleanup Python test script 2020-01-08 09:43:16 +01:00
Mathias Tausig
44281269e1 crypto: Add testcase for CCM mode with message length > 256 2020-01-07 23:31:35 +01:00
Francisco
4c4cb8a14f
Merge pull request #12362 from mtausig/ccm_aadlen
Fix CCM mode when length of AAD is > 24
2020-01-07 22:26:24 +01:00
d89debd183 tests/bench_xtimer: initial import 2020-01-07 21:58:05 +01:00
Mathias Tausig
c817bc9a11 sys/crypto: Add unit test for CCM mode with AAD length > 24 2020-01-07 21:25:48 +01:00
Francisco
d94cd6d71d
Merge pull request #12921 from miri64/sock_async/fix/header-foobar
sock_async: fix cyclic include problem
2020-01-07 13:40:15 +01:00
Francisco
56ed36f3e3
Merge pull request #13034 from MyCodeMyMoney/master
core/ringbuffer: compensate 'ringbuffer_remove' underflow error
2020-01-07 13:39:47 +01:00
MyCodeMyMoney
4167d4dd9b tests/unittests/tests-core/tests-core-ringbuffer: test underflow 2020-01-07 12:56:17 +01:00
8a9ded984d
tests/pkg_utensor: set boards without enough memory 2020-01-07 11:22:38 +01:00
390f51091a
tests/pkg_utensor: add example application with test 2020-01-07 11:22:38 +01:00
Martine S. Lenders
82180a8bb6
test/gnrc_sock_async: include net/sock/async.h 2020-01-07 10:13:02 +01:00
Francisco
d4c3476669
Merge pull request #12944 from leandrolanzieri/pr/kconfig_migrate/net/sock_util
Kconfig: Expose net/sock/util configurations
2020-01-03 11:41:20 +01:00
e937815d6e
test/libfixmath: remove use of export for LINKFLAGS 2020-01-02 09:52:30 +01:00
68210feb54
Merge pull request #12972 from fjmolinas/pr_boardsdir_riotboard
Makefile.include: default to RIOTBOARD when BOARD not in BOARDSDIR
2019-12-31 10:51:27 +01:00
Francisco Molina
33dbf9dfcd tests/external_board_native: require arch_native 2019-12-30 17:15:08 +01:00
Martine Lenders
f7d6dd2337
Merge pull request #12966 from gschorcht/tests/lwip_ipv4
tests/lwip: enable IPv4
2019-12-20 09:29:25 +01:00
Gunar Schorcht
d536235f05 tests/lwip: enable IPv4 2019-12-20 06:51:34 +01:00
Martine S. Lenders
13d5f6e6b4
tests: provide test for vfs+fmt corner-case
On `native` when using `vfs` the `fmt` print functions do not work.
This is because the `fmt` module uses the `write()` system call which
is bend by the `native_vfs` module to use `vfs_write()`. However,
`native` does not use a `stdio` module to print. Instead, it just
writes to the hosts standard I/O directly. As such, STDIN, STDOUT, and
STDERR are never initialized for `vfs` so `vfs` does not recognize
`STDIN_FILENO`, `STDOUT_FILENO` and `STDERR_FILENO` as valid file
descriptors.

This test case showcases this bug.
2019-12-18 14:15:40 +01:00
Hauke Petersen
5350b79a1e
Merge pull request #12775 from haukepetersen/opt_nimble_vernov19andlldatalenfornetif
pkg/nimble: ver bump + config  improvement
2019-12-17 09:32:43 +01:00
Dylan Laduranty
c839bb809a
Merge pull request #12183 from cladmi/pr/boardsdir
Makefile.include: introduce 'BOARDSDIR' for boards directory
2019-12-16 21:06:00 +01:00
f43cec76dd
Merge pull request #12961 from kaspar030/make_shell_test_wait_for_prompt
tests/shell: wait for prompt at beginning
2019-12-16 19:48:07 +01:00
Hauke Petersen
20af6616d6 tests/nimble_l2cap: fix type passing AD to bluetil 2019-12-16 16:00:36 +01:00
Gaëtan Harter
633f050d1f
tests/external_board_native: show an example of external board
Add an example that implements an external board based on native.
It relies on 'BOARDSDIR' and uses common files from 'RIOT/boards'
through 'RIOTBOARDS'.

This application also works with the docker integration.
2019-12-16 15:35:05 +01:00
steffen
fa05cf0c5d Driver/shtc1: add saul integration
- add saul integration
- uncrustified
- SAUL/DRIVER tests
2019-12-16 15:29:04 +01:00
8aca5c2f40 tests/shell: wait for prompt at beginning
Previously, the test would start sending the first test commands right
at the beginning. This fails on boards whose UART is not ready at that
point.

This PR makes the test script explicitly wait for the prompt to be
ready.
2019-12-16 14:12:45 +01:00
Martine Lenders
61a78cf817
Merge pull request #12926 from benpicco/sys-hashes-crc8
sys/checksum: move crc8 implementation from sht3x to common code.
2019-12-13 17:47:07 +01:00
Francisco
c58232aebf
Merge pull request #12844 from aabadie/pr/make/base_ext
Makefile.base: add variables for customizing C++ builds
2019-12-13 15:39:36 +01:00
Benjamin Valentin
5d8aa6ad9a tests/checksum: add tests for crc8
Taken from tests-checksum-crc16-ccitt.c
2019-12-13 14:50:33 +01:00
a88306088d
Merge pull request #12677 from JulianHolzwarth/pr/thread_status_t/zombie
core: add zombie thread state
2019-12-13 13:37:10 +01:00
Leandro Lanzieri
c74fa5367c net/sock/util: Move configuration macros to 'CONFIG_' namespace
Macros that changed:
SOCK_SCHEME_MAXLEN -> CONFIG_SOCK_SCHEME_MAXLEN
SOCK_HOSTPORT_MAXLEN -> CONFIG_SOCK_HOSTPORT_MAXLEN
SOCK_URLPATH_MAXLEN -> CONFIG_SOCK_URLPATH_MAXLEN
2019-12-13 12:04:54 +01:00
Martine Lenders
26a1348a9a
Merge pull request #12867 from fjmolinas/pr_tests_no_reset_dep
tests: adapt tests so they can use `tests_utils_interactive_sync`
2019-12-12 15:47:21 +01:00
Francisco Molina
341a4b5bfd tests/gnrc_%: use tests_utils_interactive_sync 2019-12-12 10:13:34 +01:00
Francisco Molina
eb9d27db69 tests/gnrc_rpl_srh: run unittests through shell
Using the shell to run unittests allows not needing
to wait for a string at the start of the test which
makes the test independent having the application reset
after the terminal is open.
2019-12-12 10:13:34 +01:00
Francisco Molina
5bf1a22472 tests/gnrc_ipv6_ext_frag: refactor to not depend on reset
Using the shell to run unittests allows not needing
to wait for a string at the start of the test which
makes the test independent having the application reset
after the terminal is open. The same goes for triggering
sending UDP test pkts.
2019-12-12 10:13:33 +01:00
Francisco Molina
4117b459af tests/shell: fix reset dependency 2019-12-12 10:13:33 +01:00
JulianHolzwarth
cc0243f585 tests/thread_zombie/: new test for zombie state threads
ps is optional
2019-12-11 16:48:31 +01:00
a9bf69146b
Merge pull request #9948 from bergzand/pr/ili9341
ili9341: Initial import of ili9341 LCD driver
2019-12-11 16:43:46 +01:00
9c520fd793
ili9341: Add simple test application 2019-12-11 16:18:40 +01:00
Martine Lenders
f38f974d86
Merge pull request #12629 from miri64/gnrc_sixlowpan_iphc/enh/vrb-creation
gnrc_sixlowpan_iphc: add fragment forwarding stubs
2019-12-10 14:58:01 +01:00
Martine S. Lenders
3273602f24
tests: provide test application for IPHC+VRB behavior 2019-12-10 13:59:41 +01:00
Francisco
20d89af043
Merge pull request #12755 from aabadie/pr/application_dep
make: add possibility to provide board specific application dependencies in a separate Makefile
2019-12-09 16:52:19 +01:00
Martine Lenders
7b13781cd2
Merge pull request #12625 from miri64/gnrc_sock/enh/async-support
gnrc_sock: provide asynchronous event implementation
2019-12-09 12:39:58 +01:00
Martine S. Lenders
23428ab775
tests: provide tests for gnrc_sock_async 2019-12-09 12:11:57 +01:00
418d00d0ea
Merge pull request #9283 from gebart/pr/frac
sys/frac: Integer fractions
2019-12-09 09:09:10 +01:00
b7a786394f
tests/gnrc_sock_dns: move board specific deps in Makefile.board.dep 2019-12-06 21:19:49 +01:00
b58c5afb2c
tests/gnrc_tcp: move board specific deps in Makefile.board.dep 2019-12-06 21:19:35 +01:00
f184c7daf2
tests/gnrc_rpl_srh: move board specific deps in Makefile.board.dep 2019-12-06 21:19:22 +01:00
805907ee0f
tests/gnrc_ipv6_ext_frag: move board specific deps in Makefile.board.dep 2019-12-06 21:18:48 +01:00
a06ac2afc0
tests/gnrc_ipv6_ext: move board specific deps in Makefile.board.dep 2019-12-06 21:18:21 +01:00
f88d55cf9d tests/driver_hd44780: disable CI for esp32-wroom-32 2019-12-06 12:42:51 +01:00
Joakim Nohlgård
e4e860a20a frac: Integer fraction scaling library 2019-12-06 09:36:33 +01:00
Benjamin Valentin
81e9603981 tests/periph_backup_ram: disable test_utils_interactive_sync
The `periph_backup_ram` test expects the CPU to enter Deep Sleep, wake up
(causing a CPU reset) increment a counter and go back to sleep.

Introducing a requirement on interaction after reset breaks the test.
2019-12-05 22:44:46 +01:00
c7a534e42a
Merge pull request #12878 from haukepetersen/add_fmt_isnumber
sys/fmt: add fmt_is_number()
2019-12-05 20:32:47 +01:00
Hauke Petersen
fd34b5cfd8 test/kw2xrf: use fmt_is_number() 2019-12-05 15:39:24 +01:00
Hauke Petersen
ca1fd87c9b unittests: add tests for fmt_is_x() functions 2019-12-05 15:39:24 +01:00
benpicco
bcacd8e4c3
Merge pull request #12710 from benpicco/tests/periph_pm-button
tests/periph_pm: use button as a wake-up source
2019-12-05 15:08:16 +01:00
8ae7201962
Merge pull request #12550 from aabadie/pr/sys/progress_bar
sys/progress_bar: add module for managing a progress bar in stdout
2019-12-05 15:03:26 +01:00
Francisco
2b934dea5f
Merge pull request #12816 from aabadie/pr/tests/stdin_fix_avr
tests/stdin: fix automatic test on slow platforms
2019-12-05 14:09:56 +01:00
a4c3d7342a
tests/stdin: refactor test application
The test application now prints in a loop the input character. In case
stdin is not ready yet after startup this lets the possibility to try to
send several time a character before failing.
The automatic test is now more robust on platforms where stdin takes
time before it gets in a ready state (some AVR, hifive).
2019-12-05 12:27:00 +01:00
5fab9ea623
tests: add test for custom cpp file extensions 2019-12-04 20:10:55 +01:00
37f2d32914
tests: add test for cpp files exclude 2019-12-04 20:10:55 +01:00
Benjamin Valentin
05db5c64bd tests/periph_pm: use button as a wake-up source
To test if GPIO interrupts can wake the CPU from sleep, configure
BTN0 (if availiable) as a wake-up source.

Pressing the buttong should wake up the CPU.
2019-12-04 16:18:16 +01:00
Leandro Lanzieri
1977b8683c tests: Add Kconfig test application 2019-12-04 15:23:52 +01:00
bd254dfc63
Merge pull request #10741 from basilfx/feature/stdio_null
sys: stdio_null: add null driver
2019-12-03 18:08:26 +01:00
Cenk Gündoğan
3c99481bc1
Merge pull request #12856 from MichelRottleuthner/pr_fix_test_short_relative_set
tests/periph_timer_short_relative_set: fix diff for non 32 bit timers
2019-12-02 19:32:41 +01:00
Martine Lenders
09c46e273d
Merge pull request #12845 from miri64/gnrc_sixlowpan_frag_rb/fix/rm-by-datagram-pkt-release
gnrc_sixlowpan_frag_rb: fix memory-leak in _rm_by_datagram()
2019-12-02 19:20:55 +01:00
7e165678fe
Merge pull request #12851 from leandrolanzieri/remove-ubjson
sys/ubjson: Remove module
2019-12-02 18:45:35 +01:00
96d90201ad
Merge pull request #11843 from fjmolinas/pr_tests_riotboot_py
tests/riotboot: migrate to full python test script
2019-12-02 18:28:14 +01:00
Francisco Molina
e41cebbaba tests/riotboot: add shell_commands
Add shell_commands to use shell version on `test_utils_interactive_sync`
2019-12-02 17:27:35 +01:00
Francisco Molina
12761934bc tests/riotboot: migrate to full python test script 2019-12-02 17:27:35 +01:00
3f1ac65b95
tests/progress_bar: add test application 2019-12-02 16:48:16 +01:00
Michel Rottleuthner
29c11c9963 tests/periph_timer_short_relative_set: fix diff calculation for non 32 bit timers 2019-12-02 11:28:26 +01:00
Juan Carrano
bea30c3f89 sys/ubjson: remove module.
The ubjson module has a number of quality defects and is unsafe.
Considering CBOR is popular, standarized and supported in RIOT and that
the ubjson implementation is a home-grown one whose API will likely be
unfamiliar to new users, I propose to delete it.

This removal, of course, dows not have to be NOW. We can deprecate it for
one or two releases before.

What's wrong with this module?

- Unsafe: the parsing is done recursively. This is embedded in the API, so it
  is not possible to fix it without changing the API. A document with too much
  nesting can cause a stack overflow.
- Does not validate writing: it is possible to produce invalid output. From
  the docs:
  > The library won't complain if you write multiple values that are not
  > inside an array or object. The result will just not be properly serialized.
- Poorly tested. As shown by #11702, #11703 the tests were not even detecting
  that a False was stored as True.
- In line with the previous remark, see
  68dc5b0d6e/tests/unittests/tests-ubjson/tests-ubjson.c (L66-L77)
  Why is the following code in the unit tests??
  ```c
    irq_disable();
    sched_set_status(data->main_thread, STATUS_PENDING);
  ```
- #2175 is still unfixed after 3.5 years.
- Code quality. The code has multiline macros that assign variables and
  return. See c332514875/sys/ubjson/ubjson-write.c (L34-L41)

Can we mark it as deprecated this release and sweep it in the following one?
2019-12-01 23:44:39 +01:00
81f113ba05 tests/periph_timer_short_relative_set: initial commit 2019-12-01 14:14:44 +01:00
benpicco
4df6bb425f
Merge pull request #12830 from benpicco/lpc2387-ldfix
cpu/lpc2387: clean up lpc2387.ld, fixes tests/cpp_ctors
2019-11-29 17:44:58 +01:00
Martine S. Lenders
e1d171b50e
tests/gnrc_sixlowpan_frag: check packet buffer in test_rbuf_rm_by_dg
gnrc_sixlowpan_frag_rm_by_datagram() currently doesn't release the
packet in the reassembly buffer entry removed, meaning it puts a leak
into the packet buffer. This changes the tests to check for that error.
2019-11-29 15:35:55 +01:00
Benjamin Valentin
533e83ad2d tests/cpp_ctors: remove avsextrem & msba2 from blacklist
The test should be passing now.
2019-11-29 12:13:21 +01:00
Leandro Lanzieri
cb28400bce tests/gnrc_netif: Adapt test to new interface names 2019-11-29 10:22:00 +01:00
f5252bf482
Merge pull request #12832 from aabadie/pr/tests/ps_schedstatistics_enh
tests/ps_schedstatistics: fix test on AVR + improve Python test script
2019-11-28 13:58:39 +01:00
benpicco
e81d040a26
Merge pull request #12799 from chudov/derfmega-PR
boards/derfmega*: initial support
2019-11-28 13:57:56 +01:00
9eac4b8b75
Merge pull request #12825 from JannesVolkens/ncv7356_doc
drivers/ncv7356: Add documentation
2019-11-28 12:32:10 +01:00
benpicco
b9b7e652e2
Merge pull request #12833 from dylad/pr/tests/adc_fix_printf
tests/periph_adc: fix printf content on failure
2019-11-28 11:57:38 +01:00
Francisco
a0783afe6d
Merge pull request #12632 from aabadie/pr/tests/memarray_autotest
tests/memarray: add python script for automatic testing
2019-11-28 11:52:56 +01:00
Dylan Laduranty
6a4259e48a
Merge pull request #12064 from benpicco/sam0-buffered_uart
cpu/sam0_common/periph/uart: implement non-blocking write
2019-11-28 10:07:11 +01:00
Benjamin Valentin
0c08abd19a tests/periph_uart_nonblocking: add simple test application
The application is mainly to compile-test non-blocking UART
functionality, but some functional testing is also possible.

With non-blocking UART the total runtime of the program is 2100735 µs
on same54-xpro.
With blocking UART the total runtime is 2152407 µs.
2019-11-28 09:26:58 +01:00
Francisco
372ae95d28
Merge pull request #12628 from aabadie/pr/make/develhelp_cleanup
make/develhelp: make usage consistent + add ci check
2019-11-28 09:26:52 +01:00
Dylan Laduranty
3f1027d0c2 tests/periph_adc: fix content printf on failure 2019-11-28 09:07:52 +01:00
ae223308bf
tests/memarray: add automatic test script 2019-11-28 08:47:57 +01:00
60c922df1a
tests/memarray: allow overridable macros and print them
MAX_NUMBER_BLOCKS and NUMBER_OF_TESTS can be overriden via CFLAGS
2019-11-28 08:47:57 +01:00
f885b90bd9
tests/ps_schedstatistics: improve automatic test script
- Ensure the whole ps output is displayed in the terminal before exiting the script
- Escape parenthesis in line regexp
2019-11-28 08:31:11 +01:00
c9fccbc34d
tests/ps_schedstatistics: use lower load in background threads
On slow platforms, such as AVR, the main thread could never run and the shell would remain stuck.
2019-11-28 08:05:00 +01:00
15d58760a9
Merge pull request #12822 from fjmolinas/pr_fix_eol
tests: fix tests matching varied sized group regex
2019-11-28 08:01:30 +01:00
benpicco
7c9f2e1794
Merge pull request #12791 from maribu/test_isr_yield_higher
tests/isr_yield_higher: Make use of US_PER_MS
2019-11-27 23:21:12 +01:00
chudov
0a151a78da boards/derfmega*: initial support 2019-11-27 20:53:14 +01:00
1271274964
Merge pull request #12824 from fjmolinas/pr_pexpect_doc
tests/README: add automated tests guidelines
2019-11-27 18:52:09 +01:00
Francisco Molina
264b323c66 tests/README: add automated tests guidelines 2019-11-27 15:26:08 +01:00
Francisco Molina
175c48f8d4 tests/gnrc_ndp: add z1 to insufficient memory 2019-11-27 15:07:43 +01:00
Francisco Molina
0996fb87fd tests: insufficient mem. atmega328p based boards
- When using test_interactive_sync_utils, stdin and many more
  prints/puts are included. These all go into .bss/.data which
  quickly fills up RAM.
2019-11-27 15:07:43 +01:00
Francisco Molina
34c6063520 tests/README.md: add automated test guideline 2019-11-27 15:07:43 +01:00
Francisco Molina
416c048737 tests: add test_utils_interactive_sync when possible
- Define test_utils_interactive_sync as DEFAULT_MODULE in Makefile.tests_common
- For tests disabling autoinit, add test_utils_interactive_sync to main
- Add DISABLE_MODULE += test_utils_interactive_sync for tests requiring
  sudo,  `tests/shell`, `tests/minimal` and `tests/stdin`
- Add shell_commands to tests/periph_wdt and tests/struct_tm_utility to
  pull `r` and `s` commands
- Remove includes and usage in `tests/main.c` for tests that where
  already using test_utils_interactive_sync
2019-11-27 15:07:42 +01:00
Francisco Molina
3db9eab6d9 tests: expect match \r\n or \s
- Since `printf()` is buffered it might not arrive in a single
  read to pexpect. Regex which terminate in a group match might
  match only some elements, this might break tests that depend
  on exact group matching.
2019-11-27 14:12:12 +01:00
Jannes
675bb0fe57 tests/conn_can: Edit README 2019-11-27 13:35:57 +01:00
fb8428cb6d tests/malloc: fix test regexp to consider whole line 2019-11-27 10:41:33 +01:00
Bas Stottelaar
05bdab80e0 tests: minimal: use stdio_null 2019-11-26 21:12:41 +01:00
561daaab81
tests/malloc: reduce defaut chunk size
This allows to automatically run the test on very constrained platforms such as arduino-uno (2KB RAM)
2019-11-26 15:21:47 +01:00
bcf39adb36 tests/periph_cpuid: fix test script regex 2019-11-26 12:54:06 +01:00
Marian Buschsieweke
b12292603b
Merge pull request #12797 from maribu/tests_micro-ecc
tests/pkg_micro-ecc: Cleanup and AVR fixes
2019-11-25 17:57:27 +01:00
Marian Buschsieweke
0bb31590e6
tests/pkg_micro-ecc: Cleanup and AVR fixes
- Moved huge allocations from stack to data / bss
- Increased verbosity of messages (one line per round)
- Adapted test script to new output format
2019-11-25 16:36:23 +01:00
benpicco
a21fe4ae87
Merge pull request #12259 from daexel/dcf77
drivers/dcf77:Inital Support DCF77
2019-11-25 16:20:51 +01:00
d0d6e53ff4
Merge pull request #11960 from fjmolinas/pr_msp430_flashpage_raw
cpu/msp430_common: add flashpage_raw
2019-11-25 12:48:48 +01:00
Benjamin Valentin
0da8c8f094 tests/puf_sram: add newline in printf
puts() will already print the newline itself, but for printf()
we'll have to include it manually.
2019-11-25 02:08:59 +01:00
Benjamin Valentin
fc94abfadb tests/driver_ws281x: use color_rgb_set_brightness()
Use function from color.h to manipulate the brightness of the LEDs.
2019-11-24 23:28:18 +01:00
Francisco Molina
1abeb21bce tests/mtd_flashpage: adapt test for msp430
- msp430 holds the ISR vector in the last page, avoid
  erasing that page during test.
2019-11-24 13:19:20 +01:00
Francisco Molina
0a68323570 tests/periph_flashpage: use before last page for msp430
- msp430 holds the isr vector on the last page so avoid erasing
  that page when testing.
2019-11-24 13:19:20 +01:00
fjmolinas
f0bbcef987 drivers/mtd_flashpage: add 16bit compatibility 2019-11-24 13:19:19 +01:00
fjmolinas
b9b01ac57e tests/periph_flashpage: adapt to 16 bits msp430 2019-11-24 13:19:19 +01:00
90d2e6ac8b tests/unittests: fix typos 2019-11-23 22:39:37 +01:00
1d15fc5ddd tests/thread_priority_inversion: fix typos 2019-11-23 22:39:37 +01:00
ab7c0c941c tests/sys_irq_handler: fix typos 2019-11-23 22:39:37 +01:00
243ee05bee tests/pthread_tls: fix typos 2019-11-23 22:39:37 +01:00
5df7c9ea59 tests/ps_schedstatistics: fix typos 2019-11-23 22:39:37 +01:00
6158da2ade tests/pkg_ucglib: fix typos 2019-11-23 22:39:37 +01:00
21b978259f tests/pkg_u8g2: fix typos 2019-11-23 22:39:36 +01:00
762eafcd75 tests/pkg_tinycrypt: fix typos 2019-11-23 22:39:36 +01:00
5120719789 tests/pkg_tiny-asn1: fix typos 2019-11-23 22:39:36 +01:00
e1a8188f00 tests/lua_loader: fix typos 2019-11-23 22:39:36 +01:00
9f2884acb3 tests/libc_newlib: fix typos 2019-11-23 22:39:36 +01:00
2e48e1cab1 tests/float: fix typos 2019-11-23 22:39:36 +01:00
e78cf493bc tests/driver_lc709203f: fix typos 2019-11-23 22:39:36 +01:00
d3810708a8 tests/driver_io1_xplained: fix typos 2019-11-23 22:39:36 +01:00
09999a29eb tests/driver_dsp0401: fix typos 2019-11-23 22:39:36 +01:00
1254fe5a23 tests/cortexm_common_ldscript: fix typos 2019-11-23 22:39:36 +01:00
fec66ab5ae tests/bench_timers: fix typos 2019-11-23 22:39:36 +01:00
Francois Berder
4a31f94cfc many typo fixes
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Marian Buschsieweke
ab94b7c8ad
Merge pull request #12795 from aabadie/pr/tests/pkg_jsmn_cleanup
tests/pkg_jsmn: replace use of "%.*s" string formatter
2019-11-23 22:00:20 +01:00
d75650737b
tests/pkg_jsmn: don't use '%.*s' string formatter
This is not compatible with avr-libc
2019-11-23 20:57:19 +01:00
9af59196da
tests/pkg_jsmn: use kernel define ARRAY_SIZE macro 2019-11-23 15:08:59 +01:00
a081fb693d
tests/pipe: cleanup application
The string formatter initially used doesn't seem to be supported by the AVR toolchain. Correctly closing the buffer with a null byte and using plain %s formatter works in all cases
2019-11-23 15:06:54 +01:00
benpicco
d244b0fe59
Merge pull request #12787 from gschorcht/cpu/esp32/netdev_default
cpu/esp*: define esp_now as default netdev
2019-11-23 14:59:54 +01:00
Gunar Schorcht
500c5f45f3 tests/netstat_l2: add esp8266 boards to BOARD_PROVIDES_NETIF 2019-11-23 14:26:37 +01:00
1f55cffcee
Merge pull request #12645 from aabadie/pr/tests/sys_crypto_remove_board_blacklist
tests/sys_crypto: remove use of BOARD_BLACKLIST variable
2019-11-23 06:48:29 +01:00
8a76acf060
Merge pull request #12706 from fjmolinas/pr_fix_flake8
RIOT: fix PEP8 errors
2019-11-23 06:47:34 +01:00
Marian Buschsieweke
16ee7aed32
Merge pull request #11350 from maribu/ina2xx
drivers/ina220: Changed to comply with RIOT's driver design goals & SAUL adaption
2019-11-22 23:36:50 +01:00
Marian Buschsieweke
235fc60938
tests/isr_yield_higher: Make use of US_PER_MS 2019-11-22 23:29:13 +01:00
benpicco
d86ca37ed9
Merge pull request #12759 from miri64/bitfield/fix/bitorder
bitfield: unify order
2019-11-22 22:37:39 +01:00
benpicco
09f647eee2
Merge pull request #12693 from maribu/neopixel-atmega
drivers: Added WS281x RGB LED driver for ATmega platform
2019-11-22 22:36:36 +01:00
Marian Buschsieweke
a6476bd813
drivers/ina2xx: Match RIOT's driver design goals
- Use standard RIOT style `ina2xx_params_t` on initialization as explained in
  [1] instead of a custom API
- Provided a default configuration via `ina2xx_params_t` as required by [1] that
  works fine for the INA219 breakout board and with an optimal resolution that
  still covers the whole range of USB high-power devices (500 mA @ 5V) with a
  comfortable safe margin.
- Changed initialization procedure to include a device reset and connectivity
  test, as required by [1]
- The calibration value is now calculated by the driver
    - This simplifies using the driver a lot
    - The user can still choose a trade-off between range and resolution that
      matches the application requirements, but now among predefined values
    - This allows the driver to easily convert the raw data into meaningful
      physical data, as the resolution of the raw data is known
- All measurements are provided as meaningful physical data as required by [1]

[1]: https://github.com/RIOT-OS/RIOT/wiki/Guide:-Writing-a-device-driver-in-RIOT
2019-11-22 20:28:57 +01:00
Marian Buschsieweke
f424421f79
drivers: Renamed ina220 --> ina2xx
The INA219 has the exact same interface as the INA220 (including values and
semantics of the configuration register). Thus, this driver can be used for
both. The ina220 has been renamed to ina2xx to reflect this and pseudo modules
for the ina220 and ina219 have been added.
2019-11-22 19:53:51 +01:00
d9ca9f3ef2
tests/crypto: remove useless BOARD_BLACKLIST 2019-11-22 19:21:06 +01:00
608fee8852
tests/crypto: add new 8/16 bit boards to insufficient memory 2019-11-22 19:21:05 +01:00
2d9612b116
tests/sys_crypto: exclude some test for 8 and 16 bit arch
The tests doesn't work when length_encoding is above the maximum uint16
value.

Also add a set that checks the right error code is returned with too
small length_encoding.
2019-11-22 19:21:05 +01:00
Marian Buschsieweke
16ef0a7f30
Merge pull request #8383 from haukepetersen/opt_driver_bmx280spi
drivers/bmx280: reworked driver and added SPI mode
2019-11-22 17:06:12 +01:00
c7cd3d869e
Merge pull request #12180 from gschorcht/sys/arduino/lib
sys/arduino: Using Arduino libraries
2019-11-22 15:29:52 +01:00
49e8c736d9
Merge pull request #12765 from fjmolinas/pr_improvee_pthread_barier
tests/pthread_barrier: improve test script
2019-11-22 14:32:12 +01:00
Hauke Petersen
5e51030eab tests/driver_bmx280: add Makefile.ci 2019-11-22 14:04:38 +01:00
Hauke Petersen
c83e197676 tests/driver_bmx280: adapted to driver rework
functional changes:
- enable test to test the driver in SPI mode

style changes and code simplification:
- enable SPI mode
- fixed typos in doxygen
- fixed line length issues
- simplified code
- use fmt for formatting numbers
- use US_PER_SEC instead of magic value
- use named return values provided by driver
- use puts where ever applicable
2019-11-22 14:04:37 +01:00
Gunar Schorcht
e90dd16347 tests/ssp: warning stringop-overflow has to be disabled
Newer gcc versions have an option to enable overflow warnings for string operations. This option is enabled by default. For this test, it is necessary to disable this warning if the compiler supports this option.
2019-11-22 13:56:41 +01:00
Gunar Schorcht
74c0cc3878 tests/ssp: prevent that memset is optimized out 2019-11-22 13:56:41 +01:00
Gunar Schorcht
eb47f1c537 tests/sys_arduino_lib: demo the use of Arduino library
This test application defines a packages which imports a very simple Arduino library that is used by test application to demonstrate how an Arduino library can be imported as package and used by an application.
2019-11-22 13:26:35 +01:00
Francisco Molina
4a2644da91 flake8: fix PEP8 F632 use ==/!= 2019-11-22 11:47:49 +01:00
Francisco Molina
41e9f06b85 flake8: fix PEP8 W608 invalid escape sequence 2019-11-22 11:47:49 +01:00
Francisco Molina
1ff9f7f631 tests/pthread_barrier: improve test script
Add intermediate child.expect to avoid timeout on platforms
where time between `start` and `done` is a little over 10s.
2019-11-22 11:19:52 +01:00
Michel Gerlach
2a14b6ceb8 Drivers/DCF77:First implementation 2019-11-22 10:27:01 +01:00
Gunar Schorcht
a05027cdba
Merge pull request #12523 from aabadie/pr/sys/arduino_pwm
sys/arduino: add implementation for analogWrite
2019-11-21 15:08:10 +01:00
Martine S. Lenders
27510b72f8
tests/unittests: add tests for missing bitfield functions 2019-11-21 12:38:31 +01:00
Martine S. Lenders
880a68c11f
tests/unittests: fix existing bitfield tests for new bit-order 2019-11-21 11:43:31 +01:00
Francisco Molina
2202b71f99 flake8: fix PEP8 overidentation E127 2019-11-21 10:11:56 +01:00
07f7ac5829
tests/pkg_libfixmath: refactor test and automatic script
Print the range of iterations for each subtests and catch the value in the Python script. The number of iterations is reduced on boards that are not native, this is because this test takes a lot of time on slow platforms
2019-11-20 22:27:41 +01:00
326f5f1d12
tests/pkg_libfixmath: fix PEP8 issues 2019-11-20 22:27:41 +01:00
19917f18b7
tests/libfixmath*: rename test applications
Use pkg_ prefix to have a consistent name with other pkg tests applications
2019-11-20 22:27:41 +01:00
e4bea426d5
tests/libfixmath_unittests: remove useless BOARD_BLACKLIST
The implementation of libfixmath is not compatible with architecture smaller than 32bit
2019-11-20 22:27:41 +01:00
benpicco
c4d905f518
Merge pull request #12668 from herjulf/avr-rss2-PR
Adding: boards/avr-rss2 and AtMega256RFR2 based board         See doc.txt for details.
2019-11-20 20:10:04 +01:00
Robert Olsson
c903bc8c1b boards/avr-rss2: add AtMega256RFR2 based board
Co-Authored-By: benpicco <benpicco@googlemail.com>
Support: Alexandre Abadie aabadie, Marian Buschsieweke maribu, Martine Lenders miri64
2019-11-20 11:57:02 +01:00
070c6603a0
tests/malloc: add Python script for automatic test 2019-11-20 06:50:34 +01:00
254f6ff9f9
tests/malloc: cleanup in test application
The idea is not fill the memory on the computer running a native instance and to be able to test on hardware. The test application is reworked similarly as the memarray test application. Macro are now overridable and printed at the beginnined of the test: this allows easier automatic testing
2019-11-20 06:44:30 +01:00
benpicco
cfcbb76cd2
Merge pull request #12729 from maribu/atmega1284p
boards/atmega1284p: Add ATmega1284P as board
2019-11-19 23:18:31 +01:00
Marian Buschsieweke
277bf803f8
tests/sys_crypto: Blacklist atmega1284p 2019-11-19 09:32:20 +01:00
Marian Buschsieweke
7c1f35daa4
tests/libfixmath_unittests: Blacklist atmega1284p 2019-11-18 23:50:54 +01:00
Marian Buschsieweke
74db50032f
tests: Added test for the ws281x driver 2019-11-18 22:45:40 +01:00
3091de3a50 tests/blob: add test application for blob.inc.mk 2019-11-18 17:53:48 +01:00
Marian Buschsieweke
edb03cceb7
tests: Added atmega1284p to Makefile.ci
Added the ATmega1284P on a breadboard to the Makefile.ci for tests that
require more RAM/ROM than provided.
2019-11-18 00:08:01 +01:00
1d20e9e1bb
tests/driver_pca9685: remove useless BOARD_BLACKLIST
The efm32 arch is blacklisted at driver dependency level.
2019-11-16 14:16:27 +01:00
550bd160ae
Merge pull request #12719 from aabadie/pr/pkg/spiffs_msp430
tests/pkg_spiffs: exclude msp430 boards because of missing memory
2019-11-15 20:42:20 +01:00
2f5f69e23a
tests/pkg_spiffs: exclude msp430 boards because missing memory
The build fails during link because of insufficient memory. No need to use BOARD_BLACKLIST for msp430 based boards
2019-11-15 19:11:37 +01:00
c3a647f15e
tests/pkg_semtech-loramac: remove useless BOARD_BLACKLIST
msp430 architecture is blacklisted at package level. pic32-clicker/wifire boards doesn't provided the some required features (SPI, GPIO_IRQ)
2019-11-15 18:14:25 +01:00
779e25bc7d
tests/sys_arduino_analog: add test application
The goal of this application is to test the analogRead and analogWrite Arduino function
2019-11-15 17:51:45 +01:00
Leandro Lanzieri
a78354c271 tests/unittests/ipv6_addr: Add tests for ipv6_addr_split_prefix 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
b5930af760 tests/unittests/ipv6_addr: Add tests for ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
ad4fc4b76e tests/nanocoap_cli: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
e64d327ea8 tests/gnrc_udp: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Leandro Lanzieri
c3a02d86df tests/gnrc_ipv6_ext_frag: Adapt to change in ipv6_addr_split_iface 2019-11-15 14:35:30 +01:00
Marian Buschsieweke
8854255d7a
tests/bitarithm_timings: Fix use of volatile
The tests used the volatile qualifier for two this:

1.  Prevent the compiler to optimize out calls to the inline-able functions
    bitarithm_msb, bitarithm_lsb, bitarithm_bits_set
2.  Communication between IRQ context and thread context

While the first use is valid, the second is dangerous, see [1], [2], [3], [4].
This commit replaces the second use with C11 atomics, which were explicitly
added to the C standard to address this use case.

[1]: https://www.kernel.org/doc/html/latest/process/volatile-considered-harmful.html
[2]: http://c.isvolatileusefulwiththreads.com/
[3]: https://web.archive.org/web/20181124154026/http://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming/
[4]: https://blog.regehr.org/archives/28
2019-11-15 09:22:18 +01:00
Marian Buschsieweke
a1be610c9d
tests/bitarithm_timings: Fixed hang
Prevent bitarithm_lsb() from being called with 0, as it loops forever then
2019-11-15 09:21:24 +01:00
Francisco
2adc5a23c2
Merge pull request #12361 from haukepetersen/add_nimble_autoconn
pkg/nimble: add simple BLE connection manager: autoconn
2019-11-14 14:02:24 +01:00
Kevin "Tristate Tom" Weiss
57e791fcc9
Merge pull request #12705 from fjmolinas/pr_fix_periph_timer_frdmk64f
tests/periph_timer: add frdm-k64f/k22f to 32kHz timers
2019-11-14 11:38:43 +01:00
Francisco Molina
f851a40098 tests/periph_timer: 32Khz as timer speed for frdm-k%f 2019-11-14 10:42:34 +01:00
Hauke Petersen
28acb901ab tests: add nimble_autoconn_ccnl test 2019-11-13 12:59:35 +01:00
Hauke Petersen
046c6f3e8e tests: add nimble_autoconn_gnrc test 2019-11-13 12:59:35 +01:00
Hauke Petersen
a49dada291 tests: add test for qmc5883l driver 2019-11-13 12:56:26 +01:00
a42bdaeecd
Merge pull request #12694 from miri64/tests/enh/periph_cpuid
tests/periph_cpuid: read CPUID_LEN from app instead of environment
2019-11-12 19:57:22 +01:00
Martine Lenders
b5465402b5
Merge pull request #12678 from miri64/tests/enh/gnrc_sock+gnrc_neterr
tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr
2019-11-12 19:29:02 +01:00
Martine S. Lenders
06f26146d0 tests/periph_cpuid: check if correct number of bytes was printed 2019-11-12 19:24:09 +01:00
Martine S. Lenders
a33857bf29 tests/periph_cpuid: read CPUID_LEN from app instead of environment 2019-11-12 19:24:09 +01:00
Martine Lenders
6b50db1713 tests: add a simple proof of concept test for gnrc_sock + gnrc_neterr 2019-11-12 11:45:08 +01:00
Martine S. Lenders
2f0187e076 tests/periph_cpuid: print CPUID_LEN 2019-11-12 10:42:23 +01:00
9b02b9d042
tests/periph_cpuid: add automatic test script 2019-11-11 21:18:13 +01:00
774a19621b
tests/pkg_lora-serialization: fix C-style comments 2019-11-11 17:31:49 +01:00
7e7c49a109
tests/pkg_lora-serialization: fix test 02 on AVR 2019-11-11 17:31:22 +01:00
benpicco
9ca9f07c04
Merge pull request #12592 from benpicco/luid-fix
sys/luid: add luid_get_eui48() / luid_get_eui64()
2019-11-07 18:34:37 +01:00
José Alamos
20ea18637f
Merge pull request #10485 from miri64/gnrc_netif/enh/default-init
gnrc_netif: assume `netif->ops->init()` to be set to at least a default
2019-11-07 11:41:05 +01:00
Martine Lenders
8eee53b7bd tests/gnrc_ipv6_ext_frag: add bl*pill to BOARD_INSUFFICIENT_MEMORY 2019-11-07 11:04:58 +01:00
Martine Lenders
14a2f6bc18 gnrc: use gnrc_netif_default_init() for all implementations 2019-11-07 11:00:36 +01:00
Martine Lenders
a1d402e015
Merge pull request #12559 from miri64/gnrc_sixlowpan_frag/enh/factor-out-frag-buf
gnrc_sixlowpan_frag: factor-out and rename fragmentation buffer
2019-11-07 09:47:46 +01:00
d5da6a7ac3
examples: tests: make use of DEVELHELP consistent 2019-11-06 16:31:53 +01:00
bd39ce3179
tests/periph_gpio: increase timeout for automatic test
periph_gpio requires more time to complete on slow platforms, like AVR
2019-11-06 12:46:28 +01:00
cab3cc473e
tests/periph_timer: add atmega256rfr2-xpro to boards with 25KHz timer 2019-11-06 12:46:28 +01:00
benpicco
035bac0bf4
Merge pull request #12639 from aabadie/pr/boards/atmega256rfr2
boards/atmega256rfr2-xpro: initial support
2019-11-05 19:03:49 +01:00
Marian Buschsieweke
4d279ae76e
Merge pull request #12055 from fabian18/driver-ina3221
Driver for INA3221 current and power and bus voltage monitor
2019-11-05 14:45:03 +01:00
benpicco
2390d494a9
Merge pull request #12640 from benpicco/rtc_tm_compare
periph_common/rtc: add rtc_tm_compare()
2019-11-05 13:20:49 +01:00
Benjamin Valentin
24ae298115 unittests: add rtc_tm_compare() to unittest 2019-11-05 12:52:45 +01:00
fabian18
5311de7131 tests/driver_ina3221: Test for INA3221 2019-11-05 12:33:06 +01:00
602f9d7f9c
tests: exclude atmega256rfr2-xpro where required 2019-11-05 10:40:59 +01:00
bf1b6b6f9c
tests/nhdp: remove useless BOARD_BLACKLIST
The corresponding arch features are blacklisted in oonf_api package which is a dependency of nhdp
2019-11-05 09:47:25 +01:00
e1db54c20a
tests/pkg_ubasic: remove useless BOARD_BLACKLIST
The corresponding arch features are blacklisted at package level
2019-11-05 08:45:12 +01:00
3b42755d84
tests/driver_sht2x: cleanup how required features are set 2019-11-05 07:59:57 +01:00
33982a965d
tests/Makefile.tests_common: fix indent 2019-11-05 07:59:57 +01:00
49f1f4a9e0
tests: don't define APPLICATION in application Makefile
The right way is to include the common test Makefile where the application is automatically defined.
2019-11-05 07:59:57 +01:00
Benjamin Valentin
7b60214d94 unittests: add test for luid module 2019-11-04 21:08:33 +01:00
Martine Lenders
8c3dc66ad8 gnrc_sixlowpan_frag: factor-out and rename fragmentation buffer
The name `fragment_msg` or `frag_msg`/`msg_frag` always to me was a bit
misplaced, as it basically implements an asynchronous fragmentation
buffer and doesn't necessarily have anything to do with messages.
This change

1. changes the name to `fb` (for fragmentation buffer)
2. factors its code out to its own sub-module so it can be re-used by
   other 6LoWPAN fragmentation schemes like [Selective Fragment
   Recovery]

[Selective Fragment Recovery]: https://tools.ietf.org/html/draft-ietf-6lo-fragment-recovery-05
2019-11-04 20:04:37 +01:00
b8b7606a7c
Merge pull request #12608 from aabadie/pr/pkg/hacl_arch_32bit
pkg: tests: handle arch requirements at pkg level, remove useless board blacklist
2019-11-04 15:20:03 +01:00
benpicco
865059fc66
Merge pull request #11230 from maribu/xtimer_msg_deps
sys/xtimer: Remove dependency to core_msg
2019-11-01 15:22:10 +01:00
Marian Buschsieweke
2c3712d55d
tests/xtimer_hang: Disabled module core_msg
Enforce that xtimer is usable without module core_msg
2019-10-31 19:55:50 +01:00
Martine Lenders
bf5b53392c
Merge pull request #12603 from jia200x/pr/link_up
netopt: redefine NETOPT_LINK_CONNECTED
2019-10-30 15:19:07 +01:00
Jose Alamos
f77eba2e53 gnrc_ipv6_ext_frag: add board to insufficient memory list 2019-10-30 14:23:34 +01:00
7a83364419
tests/pkg_micro-ecc: remove useless board blacklist
This is now automatically managed by the arch 16bit feature blacklist at pkg dependencies level
2019-10-30 11:43:41 +01:00
3a1a08fc4a
tests/pkg_qdsa: remove useless board blacklist
This is now automatically managed by the arch 16bit feature blacklist at pkg dependencies level
2019-10-30 11:43:40 +01:00
9a2f29ed83
tests/pkg_libhydrogen: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:40 +01:00
2cb3ab5b78
tests/pkg_tinycbor: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:40 +01:00
e40214f221
tests/pkg_monocypher: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:40 +01:00
c7acc5f31b
tests/pkg_libcose: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:40 +01:00
49f855bd81
tests/pkg_libcoap: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:39 +01:00
0654709246
tests/pkg_hacl: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:39 +01:00
b044e46207
tests/pkg_cn-cbor: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:39 +01:00
e61378781f
tests/pkg_cifra: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:38 +01:00
3440ecf706
tests/pkg_wolf*: remove useless board blacklist
This is now automatically managed by the arch 32 feature requirement at pkg dependencies level
2019-10-30 11:43:38 +01:00
Anton Gerasimov
6258713e5e boards/cc1352-launchpad: Add BOARD_INSUFFICIENT_MEMORY entries
Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2019-10-29 21:27:00 +01:00
14346dba26
tests/driver_hd44780: remove arduino feature requirement
Remove boards blacklisted because they don't provide the Arduino pin macros
2019-10-29 11:09:56 +01:00
04dc65f6ad
drivers/hd44780: move params header at the right place 2019-10-29 10:58:26 +01:00
Martine Lenders
05d338169d
Merge pull request #12367 from brummer-simon/gnrc_tcp-fix_recv_conn_closed
gnrc_tcp: return immediatly on gnrc_tcp_recv if a connection is closing
2019-10-29 09:54:43 +01:00
Marian Buschsieweke
4cf2151248
Merge pull request #12537 from benpicco/at86rfmega
drivers/at86rf2xx: add support for ATmegaRF MCUs
2019-10-28 09:22:02 +01:00
Martine Lenders
86ecc7064f
Merge pull request #12532 from benpicco/make-pan_id
makefiles: allow setting PAN ID like channel
2019-10-27 12:39:52 +01:00
Benjamin Valentin
d45b3d1cd3 makefiles: default-channel.inc.mk -> default-radio-settings.inc.mk
The scope of the file has changed, so change it's name.
2019-10-27 11:55:55 +01:00
Gunar Schorcht
b6b12527a9 tests/pkg_tinycbor: esp32 boards removed from blacklist 2019-10-27 09:58:29 +01:00
Benjamin Valentin
eeb75c08bd tests/examples: add microduino-corerf to Makefile.ci
Now that the radio is enabled, some tests do not fit onto the MCU
anymore.
2019-10-27 00:18:23 +02:00
Marian Buschsieweke
a770a919aa
tests/c11_atomics_cpp_compat: Added compile test 2019-10-24 23:08:36 +02:00
Marian Buschsieweke
707bacc1b7
tests/rmutex_cpp: Testing rmutex with C++
Copied test from tests/rmutex, but using C++ instead of C.
2019-10-24 23:08:36 +02:00
Francisco
0364c39694
Merge pull request #12408 from miri64/gnrc_netif/fix/src-addr-selection
gnrc_netif: only use prefix matching as tie-breaker in source selection
2019-10-24 17:14:17 +02:00
Martine Lenders
020af4145a tests: provide more test cases for source address selection
- ULA destination with global address on interface
- Deprecated addresses
2019-10-24 16:04:41 +02:00
Cenk Gündoğan
e0ab8776f3
Merge pull request #12547 from miri64/gnrc_netif/enh/warn-no-ARSM
gnrc_netif: warn when not joining solicited-nodes from non-6LN netif
2019-10-24 13:46:38 +02:00
Martine Lenders
796d6a3167 gnrc_sixlowpan: move garbage collect msg type to reassembly buffer 2019-10-24 12:41:29 +02:00
Martine S. Lenders
9103e5b98e tests: set log level to ERROR for gnrc_ipv6_nib_6ln test
This way it still fits on `z1`.
2019-10-24 11:42:35 +02:00
d22ddc1e95
usbus: Fix usb, initialization and detected spelling mistakes
This commit fixes a number of difficult words in the USB stack and
related test files.
2019-10-23 10:43:52 +02:00
Simon Brummer
1eb2969986 gnrc_tcp_recv: immediatly return on closed connection 2019-10-22 20:12:38 +02:00
e2049cce49
Merge pull request #12539 from fjmolinas/pr_isr_yield_relative_time
tests/isr_yield_higher: adapt TEST_TIME to start-up time
2019-10-22 16:50:53 +02:00
Francisco Molina
0d91e61dbb tests/isr_yield_higher: adapt TEST_TIME to start-up time 2019-10-22 16:20:48 +02:00
Benjamin Valentin
b5906c2aa4 tests/pthread*: blacklist boards with low RAM
The pthread tests dynamically allocate memory for the thread stacks.
Therefore while compilation succeeds, they will fail to run on these
low memory boards.

Static allocation of thread stacks is an option to make those tests work
for those boards (confirmed for `tests/pthread`), but it would
change the nature of the tests.
2019-10-21 15:33:48 +02:00
Benjamin Valentin
8f3d1eaf04 tests: reduce THREAD_STACKSIZE_DEFAULT for stm32f030f4-demo 2019-10-21 15:33:48 +02:00
Benjamin Valentin
58892fbbef tests: add stm32f030f4-demo to Makefile.ci 2019-10-21 15:33:11 +02:00
Martine Lenders
42968ccc6b
Merge pull request #12528 from benpicco/ifconfig_scope
shell_commands: gnrc_netif: print correct scope for IPv6 address
2019-10-21 15:16:47 +02:00
Benjamin Valentin
2ff7c474b7 shell_commands: gnrc_netif: print correct scope for IPv6 addr
Previously `ifconfig` would only know link-local addresses
(printed as 'local') and everything else would be 'global'.

This is wrong for site-local and unique local addresses which were
also denoted as global.

So use the already existing helper functions to determine the correct
type of IPv6 address when printing.
2019-10-21 14:47:34 +02:00
benpicco
ca7e82c312
Merge pull request #11090 from maribu/atmega328p
boards: Added standalone ATmega328p
2019-10-21 13:38:58 +02:00
Marian Buschsieweke
6441e3c178
tests: Updated BOARD_BLACKLIST
- Added atmega328p to BOARD_BLACKLIST where needed
- Adapted special timer frequency selection in tests/periph_timer to also
  select 25kHz for the atmega328p board
2019-10-21 12:54:46 +02:00
Marian Buschsieweke
06d560f408
tests: Added atmega328p to Makefile.ci
Added the atmega328p board to the BOARD_INSUFFICIENT_MEMORY list where needed.
2019-10-21 12:54:46 +02:00
Martine Lenders
05bcdba02e
Merge pull request #10499 from miri64/gnrc_netif/enh/split-6lo-6ln
gnrc_netif: introduce distinction if an interface supports 6Lo or if it performs ND according to RFC 6775
2019-10-21 11:47:30 +02:00
300c3abf2b
tests/lwip_sock_udp: fix sizeof address param in mempcy
Co-authored-by: Martine Lenders <m.lenders@fu-berlin.de>
2019-10-21 08:09:51 +02:00
Martine Lenders
c93b30268b tests/gnrc_ipv6_nib_6ln: add msb-430* to BOARD_INSUFFICIENT_MEMORY
The new fixed code paths with the 6LN/6Lo distinction make this
application too big for the given boards
2019-10-20 15:40:10 +02:00
798d3170d5
Merge pull request #12510 from gschorcht/tests/log_color
tests/log_color: fix string literal error
2019-10-19 19:31:44 +02:00
Gunar Schorcht
41e31c516c tests/log_color: fix string literal error
printf function requires a string literal as the format argument. Using a character pointer is not accepted as string literal by some compilers.
2019-10-19 16:59:11 +02:00
Martine Lenders
3cc8b912a2 tests/gnrc_sixlowpan_frag: fix comment typo 2019-10-19 16:30:45 +02:00
Martine S. Lenders
b715aee81d tests: add tests for new 6Lo reassembly buffer functions 2019-10-19 16:30:45 +02:00
Gunar Schorcht
855ef72202
Merge pull request #12503 from kaspar030/fix_tests/pkg_fatfs_format_overflow
tests/pkg_fatfs: fix sprintf format overflow warning
2019-10-19 10:41:17 +02:00
ea6c4a7f23 tests/pkg_fatfs: fix sprintf format overflow warning
Some platforms issue this:

    tests/pkg_fatfs/main.c: In function '_mkfs':
    tests/pkg_fatfs/main.c:355:26: error: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Werror=format-overflo
    w=]
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |                          ^~
    tests/pkg_fatfs/main.c:355:25: note: directive argument in the range [-2147483648, 0]
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |                         ^~~~~~
    tests/pkg_fatfs/main.c:355:5: note: 'sprintf' output between 4 and 14 bytes into a destination of size 8
      355 |     sprintf(volume_str, "%d:/", vol_idx);
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors

The cause is vol_idx being converted by atoi(), so it might be negative.
This commit increases the stack array so it cannot overflow.
2019-10-18 23:06:44 +02:00
f52bbd084c tests/pkg_nanopb: initial commit 2019-10-18 22:34:29 +02:00
04712dbcfc
Merge pull request #12446 from fjmolinas/pr_fix_tests_riotboot
tests/riotboot: fix test running test in docker.
2019-10-18 17:20:49 +02:00
Francisco Molina
57b09f1685 tests/riotboot: add SLOT_RIOT_ELFS:%.elf=%.bin to BUILD_FILES
- When running `BUILD_IN_DOCKER=1 make -C tests/riotboot test`
  new slot binaries (fw + hdr) need to be generated.
  `%.bin: %.elf` is no defined when building in docker, so the
  fw binaries $(SLOT_RIOT_ELFS:%.elf=%.bin) are added to
  BUILD_FILES
2019-10-18 15:56:48 +02:00
16aef163ca
Merge pull request #12497 from benpicco/tests-cpp_memory
tests: remove Makefile.ci from cpp11 tests
2019-10-18 15:12:36 +02:00
Benjamin Valentin
44d6cabd8a tests: remove Makefile.ci from cpp11 tests
The description states that the tests caused issues with an ancient
toolchain.
Building these tests locally worked fine.

So remove the obsolete BOARD_INSUFFICIENT_MEMORY lists.
2019-10-18 14:28:57 +02:00
Martine S. Lenders
f8d75d7add gnrc_sixlowpan_frag_rb: behavioral change to add()
Rather than dispatching the packet automatically once it is complete,
`gnrc_sixlowpan_frag_rb_add()` now only returns success, and leaves it
to the caller to dispatch the packet.
2019-10-18 09:02:32 +02:00
Martine S. Lenders
df484926a2 tests/gnrc_sixlowpan_frag: adapt for API change
These changes reflect adaptations for the following API changes:

- gnrc_sixlowpan_frag_rb: return pointer to entry on add()
2019-10-18 09:02:32 +02:00
Benjamin Valentin
c01eae3239 tests: add microduino-corerf to Makefile.ci 2019-10-17 20:38:47 +02:00
Benjamin Valentin
252f22bfe2 tests/driver_hih6130: replace SLEEP define
The SLEEP define collides with an Atmel header file.
Rename the define to resolve the conflict.
2019-10-17 19:20:31 +02:00
benpicco
ad81a9df8a
Merge pull request #12484 from maribu/pain_in_the_ass
tests: Moved BOARD_INSUFFICIENT_MEMORY to Makefile.ci
2019-10-17 18:25:41 +02:00
benpicco
bd0ba7f187
Merge pull request #12476 from basilfx/feature/efm32_uart_modes_cleanup
cpu/efm32: remove EFM32_UART_MODES
2019-10-17 18:22:37 +02:00
Marian Buschsieweke
fd6fedaab6
tests: BOARD_INSUFFICIENT_MEMORY -> Makefile.ci
- Moved the BOARD_INSUFFICIENT_MEMORY list into Makefile.ci
- Formatted the list to contain one board per line
- Sorted the lists alphabetically
2019-10-17 15:11:59 +02:00
Marian Buschsieweke
d9e4361246
tests/rng: Fixed abuse of BOARD_BLACKLIST
- BOARD_BLACKLIST has been used to blacklist boards with too little RAM/ROM
  according to the comment
  ==> Moved those entries to BOARD_INSUFFICIENT_MEMORY instead
- pic32-clicker does build fine, so RAM/ROM efficiency has improved since
  ==> Dropped pic32-clicker from the list
2019-10-17 15:10:42 +02:00
Jannes
2df5d6048d driver/mpu9x50: Rename mpu9150 to mpu9x50
Rename all files

Rename all variables, methods and methodcalls

Rename all folders

Add to the makefiles

Add to doc
2019-10-17 12:52:18 +02:00
Bas Stottelaar
b122a8863e tests/cpu_efm32_features: add test script 2019-10-16 22:09:37 +02:00
Bas Stottelaar
bbec8277b9 tests/cpu_efm32_features: remove EFM32_UART_MODES 2019-10-16 22:05:08 +02:00
MrKevinWeiss
2c2e1fcc16 tests/periph_uart: Remove obsolete python tests 2019-10-16 15:54:36 +02:00
MrKevinWeiss
26539eb3ec tests/periph_i2c: Remove obsolete python tests 2019-10-16 15:54:10 +02:00
Martine Lenders
eebf3709db
Merge pull request #12465 from aabadie/pr/tests/nordic_softdevice
tests/nordic_softdevice: cleanup test script and fix test
2019-10-16 13:28:39 +02:00
Sebastian Meiling
375687da50 tests/emb6: replace board blacklist
Replaces the board blacklist by a matching
feature blacklist or arch_msp430.
2019-10-16 09:49:26 +02:00
Sebastian Meiling
047104c1c9 tests/emb6: remove pic32 boards from blacklist
First the comment does not fit these two boards and
second they would work compiler wise but just do not
have an SPI to support the radio. Hence, won't be
used due to missing features.
2019-10-16 09:46:45 +02:00
98e17c2736
tests/nordic_softdevice: cleanup test script and fix test
Adding a 1s delay before sending ifconfig makes this test works reliably because it gives the softdevice enough time to get in a ready state.
2019-10-16 08:20:41 +02:00
benpicco
1ffca2b963
Merge pull request #12412 from benpicco/tests_no-SLEEP
tests: replace SLEEP define
2019-10-15 15:39:53 +02:00
Martine Lenders
18fc2c206f unittests: fix tests-pkt for non-32bit platforms 2019-10-15 10:40:07 +02:00
Martine Lenders
117ff2f862 unittests: remove board blacklist, fix doc for MCU architectures 2019-10-15 09:48:04 +02:00
8f0f28bd50 tests/ssp: make use of architecture features 2019-10-14 22:40:13 +02:00
8a1e78bf4d
Merge pull request #9081 from kaspar030/add_arch_features
make: add architecture features and feature blacklisting
2019-10-14 16:12:54 +02:00
Cenk Gündoğan
b4cb32a8ab
Merge pull request #12440 from miri64/tests/fix/gnrc_rpl_srh
tests/gnrc_rpl_srh: fix test assumption
2019-10-14 14:43:30 +02:00
Martine Lenders
3e7f25566f tests/gnrc_rpl_srh: fix unittests for gnrc_rpl_srh behavior change 2019-10-14 12:04:35 +02:00
Martine Lenders
ee2126a4e2 tests/gnrc_rpl_srh: fix test assumption
If the destination address or an address within the source route is
multicast within a RPL source routing header, a receiving node is
supposed to just discard the packets, but not to send an ICMPv6 error
message, as the test assumes at the moment.

Source: https://tools.ietf.org/html/rfc6554#section-4.2
2019-10-14 10:33:25 +02:00
9bc600a2e5
Merge pull request #12386 from keestux/sodaq-boards-arduino
Sodaq boards arduino
2019-10-14 07:47:58 +02:00
3eae2f7b79 pkg/lwip: add arch_32bit feature dependency 2019-10-13 21:03:41 +02:00
Martine Lenders
c94de51e03
Merge pull request #12414 from miri64/gnrc_ipv6_ext_frag/fix/n-th-with-full-rbuf
gnrc_ipv6_ext_frag: fix release on rbuf creation for n-th fragment
2019-10-13 15:10:50 +02:00
JulianHolzwarth
15349eab61 tests/xtimer_mutex_lock_timeout/main.c: shell command description
"(no-spin timeout)" instead of "long timeout" to make it consistent
2019-10-11 15:44:56 +02:00
JulianHolzwarth
d9aec38f1f tests/xtimer_mutex_lock_timeout/main.c: Function to terminate
The function will terminate the thread and send the message m to target_pid.
2019-10-11 15:44:56 +02:00
JulianHolzwarth
714ee17fab tests/xtimer_mutex_lock_timeout/ new test with thread
Two Functions cmd_test_xtimer_mutex_lock_timeout_low_prio_thread and thread_low_prio_test are added.

This testfunction will test xtimer_mutex_lock_timeout with two threads (main thread and lower prio than main thread).

The main thread creates another thread and sleeps. While the main thread sleeps the other thread takes the mutex
and wakes the main thread up.
Then the main thread calls xtimer_mutex_lock_timeout and the second thread unlocks the mutex and
the main thread gets it and waits for the created thread to end.

Has test messages showing the thread count. To make sure the created thread ends.
(test messages may be removed in the future)
2019-10-11 15:44:56 +02:00
JulianHolzwarth
f0da0121f4 tests/xtimer_mutex_lock_timeout/main.c: print empty line
printing emty line after each test function to make the test easier to read
2019-10-11 15:44:55 +02:00
JulianHolzwarth
1fe8d33416 tests/xtimer_mutex_lock_timeout/Makefile: adding ps for better testing 2019-10-11 15:44:55 +02:00
JulianHolzwarth
6183f50462 tests/xtimer_mutex_lock_timeout/main.c: remove unnecessary/wrong include 2019-10-11 15:44:55 +02:00
Jose Alamos
9727f325ff tests/gnrc_netif: adapt to new netif_t representation 2019-10-11 10:59:14 +02:00
Ken Bannister
9946e24bc9
Merge pull request #12375 from miri64/tests/enh/rs-i137
tests: prepare for RIOT-OS/Release-Specs#137
2019-10-10 13:57:54 -04:00
Martine S. Lenders
9e625841b7 tests/gnrc_udp: update BOARD_INSUFFICIENT_MEMORY 2019-10-10 19:02:24 +02:00
Martine S. Lenders
18597c4ab4 tests/gnrc_ipv6_ext_frag: update BOARD_INSUFFICIENT_MEMORY 2019-10-10 17:09:35 +02:00
Martine S. Lenders
07a6b5425e tests/gnrc_ipv6_ext_frag: add test for nth frag with full rbuf first
Adds a test case for when the following conditions cause a crash:

- a subsequent fragment is received before the first
- the reassembly buffer is currently filled up when another fragment of
  a different datagram arrives and thus needs to be cached out to make
  room for the new reassembly
2019-10-10 16:41:47 +02:00
Martine S. Lenders
40f721a4b8 tests/gnrc_ipv6_ext_frag: move static const to global space 2019-10-10 16:19:55 +02:00
Martine Lenders
f89e0b7b31 tests: prepare for RIOT-OS/Release-Specs#137 2019-10-10 14:57:31 +02:00
Benjamin Valentin
41745859bb tests: replace SLEEP define
The SLEEP define collides with an Arduino header file.
Rename the define to resolve the conflict.
2019-10-10 10:47:38 +02:00
Kees Bakker
57463d722a driver/hd44780: black list Sodaq boards
The Sodaq boards support Arduino, but there are no ARDUINO_PIN_* defines.
2019-10-09 20:16:22 +02:00
Martine Lenders
238ebe3d37
Merge pull request #12350 from haukepetersen/opt_nimble_verokt19
pkg/nimble: bump NimBLE version
2019-10-09 11:18:07 +02:00
7794c29650
Merge pull request #12396 from mtausig/codestyle
Fix code style of crypto code
2019-10-09 08:00:25 +02:00
Mathias Tausig
89db40b563 sys/crypto: Fix code style 2019-10-08 20:58:52 +02:00
Gaëtan Harter
589d7e5a46
applications: remove mentions of jiminy-mega256rfr2
Remove the deprecated board from BOARD_BLACKLIST and BOARD_INSUFFICIENT_MEMORY.
2019-10-08 18:37:32 +02:00
Francisco
94e00328c1
Merge pull request #12343 from cladmi/pr/board/slwstk6000b/split
boards/slwstk6000b-*: split one board for each module
2019-10-08 17:41:15 +02:00
Gaëtan Harter
1ab5a9390d
boards/slwstk6000b-*: split one board for each module
Define one board for each of the available modules.
2019-10-08 16:33:27 +02:00
4c8b6288ce
tests/unittests/base64: add test case for empty buffers 2019-10-08 15:38:27 +02:00
Hauke Petersen
88459f5a92 tests/nimble_l2cap_server: change order in _on_data
Printing the 'Received ...' string takes a short while and it is possible
that data is received while the string is printed. It seems however that
NimBLE does not like to be without a mbuf ready for taking data while
receiving something, as this seems to lead to a memory leak somehow. Now
changing the order of actions inside the _on_data() function fixes this.
2019-10-07 17:52:11 +02:00
Martine Lenders
c3a85bb9ca tests/gnrc_tcp: provide regression tests for fixed issues 2019-10-06 17:34:54 +02:00
Martine Lenders
e22084c420 tests/gnrc_tcp: prepare shared_func for scapy 2019-10-05 15:12:23 +02:00
Martine Lenders
00f7e52be6 tests/gnrc_tcp: fix sudo error message 2019-10-05 15:12:23 +02:00
Ken Bannister
033b60b2d0
Merge pull request #11189 from leandrolanzieri/gcoap_link_format_options
sys: Add Link Format module
2019-10-05 06:46:15 -04:00
Martine Lenders
55143bb017 tests: fix copyright attribution and doc
While looking at tests/gnrc_ipv6_ext_frag again while writing
RIOT-OS/Release-Specs#137, I noticed that several of tests that I
definitely wrote myself from scretch are attributed wrong (and
sometimes even documented wrong). I guess this was caused by just
copy-pasting the files...
2019-10-04 20:58:57 +02:00
Kevin "Tristate Tom" Weiss
4b7c5915ec
Merge pull request #10953 from gschorcht/sys/shell/heap_cmd/pr
sys/shell: add heap command
2019-10-04 13:49:57 +02:00
Leandro Lanzieri
3ca6a28e04 tests: Add unit tests for clif module 2019-10-04 11:35:52 +02:00
Martine Lenders
e9e0001239
Merge pull request #11930 from brummer-simon/gnrc_tcp-improve_tests
gnrc_tcp: test improvement
2019-10-03 15:40:16 +02:00
Simon Brummer
56998e822a gnrc_tcp: test improvement 2019-10-03 15:18:28 +02:00
30457e4134
tests/unittests: exclude arduino-mkrwan1300 2019-10-03 09:34:34 +02:00
630e7ba053
tests/pkg_ubasic: improve test output regex
The test application now correctly prints float value, with a 3 digits precision. The python test script now verifies the run time value printed for each test is following the x.xxx pattern.
2019-10-02 15:58:20 +02:00
0e7c3bd2b7
Merge pull request #12358 from kaspar030/tests_pkg_ubasic_add_float
tests/pkg_ubasic: add print_float dependency
2019-10-02 15:55:57 +02:00
5653e89a3a
Merge pull request #12357 from aabadie/pr/tests/pkg_ubasic
tests/pkg_ubasic: increase timeout value, per test
2019-10-02 14:37:46 +02:00
Gunar Schorcht
37debfd655 tests/heap_cmd: blacklist arduino-nano due to memory limit 2019-10-02 14:21:35 +02:00
Gunar Schorcht
edae6b5c09 tests/heap_cmd: shell-based heap function test app 2019-10-02 14:21:35 +02:00
b05173b5f7 tests/pkg_ubasic: add print_float dependency 2019-10-02 13:41:52 +02:00
74e6b73ecb
tests/pkg_ubasic: increase timeout value, per test
On samr30-xpro, the third test requires 150 seconds to complete
2019-10-02 13:07:58 +02:00
Jannes
33a98100a9 drivers/opt3001: Initial support 2019-10-02 10:06:28 +02:00
Dylan Laduranty
aed628f08b
Merge pull request #11486 from benpicco/saml21-lpram
cpu/saml21: Make Low-Power SRAM available to programs
2019-10-01 21:02:42 +02:00
Gunar Schorcht
02d81b717e
Merge pull request #12063 from maribu/i2c_release
drivers/periph/i2c: Updated i2c_release() to return void
2019-10-01 19:50:38 +02:00
Benjamin Valentin
2ff7e03a94 tests/periph_backup_ram: add test for the Backup RAM feature
The test will put a device to sleep, then wake it up to see if
the backup memory was retained.
2019-10-01 18:42:56 +02:00
Gaëtan Harter
66300b2f72
tests/README.md: add documentation about uart interaction
Add some documentation about tests using `cleanterm` and what guarantees
it gives.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
1fce298441
tests/test_tools: test receiving an empty line
Test receiving an empty line.
It was before not possible with `pyterm` but is fixed by previous
commit.
2019-10-01 14:13:02 +02:00
Gaëtan Harter
d33e2d215e
tests/test_tools: test to get a command return value
Get the output of a one line command without other garbage messages.
2019-10-01 14:13:02 +02:00
benpicco
3f0dfc14ac
Merge pull request #11085 from bergzand/pr/usb/cdcacm
usbus: Add CDC-ACM (Serial console) function
2019-10-01 11:22:54 +02:00
Martine Lenders
f4cca412de
Merge pull request #12303 from miri64/sixlowpan_sfr/feat/initial
sixlowpan_sfr: initial import Selective Fragment Recovery definitions
2019-10-01 09:46:25 +02:00
Martine S. Lenders
38571c66fe tests: add unittests for net/sixlowpan/sfr.h helpers 2019-10-01 08:45:19 +02:00
Martine Lenders
db8dcaee48
Merge pull request #12325 from miri64/gnrc_sixlowpan_frag_vrb/enh/rm-out_dst
gnrc_sixlowpan_frag_vrb: re-use now unused super::dst for out_dst
2019-10-01 07:55:49 +02:00
Frank Hessel
64ac490fc9
tests/driver_adt7310: Add explicit cast required for llvm 2019-09-30 22:31:15 +02:00
c6447b73dc
test/usbus_cdc_acm_stdio: USB CDC ACM STDIO test 2019-09-30 18:53:58 +02:00
Martine Lenders
04f59d6609 gnrc_sixlowpan_frag_vrb: re-use now unused super::dst for out_dst 2019-09-30 12:46:15 +02:00
Bas Stottelaar
acd9dfda01 tests/cpu_efm32_features: update test 2019-09-30 00:03:15 +02:00
benpicco
aebcef111d
Merge pull request #12300 from miri64/gnrc_sixlowpan_frag_vrb/fix/index
gnrc_sixlowpan_frag_vrb: fix for draft update
2019-09-29 19:27:20 +02:00
c72f286796
Merge pull request #12169 from maribu/blxxxpill
boards: Split off 128KiB version of bl*pill
2019-09-29 18:50:29 +02:00
Martine Lenders
a711852379 tests: unittests: remove duplicate static consts from VRB tests 2019-09-29 18:36:28 +02:00
Martine Lenders
99183da998 tests: unittests: adapt 6LoWPAN VRB tests 2019-09-29 18:31:43 +02:00
Marian Buschsieweke
5659d16a5a
tests: BOARD_WHITELIST, BOARD_INSUFFICIENT_MEMORY
Added new blackpill-128kib and bluepill-128kib to BOARD_INSUFFICIENT_MEMORY
and BOARD_WHITELIST where needed.
2019-09-29 17:06:01 +02:00
Marian Buschsieweke
ed85041a4b
examples/l2util: Updated BOARD_INSUFFICIENT_MEMORY
Linking works for both blackpill and bluepill
2019-09-29 17:00:28 +02:00
Martine Lenders
e9ff46b2ea gnrc_sixlowpan_frag_rb: unify naming scheme 2019-09-28 12:11:54 +02:00
Martine Lenders
178f4af108 gnrc_sixlowpan_frag_rb: remove legacy defines 2019-09-28 12:07:24 +02:00
Martine Lenders
972e4938bc gnrc_sixlowpan_frag_rb: use existing name scheme for private functions 2019-09-28 11:51:18 +02:00
Martine S. Lenders
49bd8678ed gnrc_sixlowpan_frag_rb: remove public around former private functions 2019-09-28 11:51:18 +02:00
Martine S. Lenders
ec495528fe gnrc_sixlowpan_frag: move private RB functions to RB module 2019-09-28 11:51:18 +02:00
68aae9c848
Merge pull request #12262 from cladmi/pr/cflags/fix_spaces_and_rebuild
makefiles: do not remove defines from CFLAGS
2019-09-28 09:42:56 +02:00
Martine S. Lenders
b5545fe334 gnrc_sixlowpan: include reassembly buffer only where needed 2019-09-27 21:11:36 +02:00
Gaëtan Harter
d6b109f720
tests/build_system_cflags_spaces: test CFLAGS macros handling
This tests passing CFLAGS with spaces to an application and also that
even if the CFLAGS are defined after Makefile.include, they trigger
a rebuild when modified.

This includes an example how to pass macros with spaces to a docker
build.

The test as both an automated part for the CFLAGS with spaces, and a
manual part for the two other features.
2019-09-27 19:29:07 +02:00
Martine Lenders
aa84406ac1
Merge pull request #9940 from miri64/tests/enh/rgb2hsv-black
tests/unittests: test black corner case for color_rgb2hsv()
2019-09-27 15:02:10 +02:00
Hauke Petersen
09faa328f9 tests: add distinct test app for nrfmin driver 2019-09-27 11:49:43 +02:00
Martine Lenders
2c9ac91903 tests/unittests: test black corner case for color_rgb2hsv()
Tests a (currently undocumented) behavior of `color_rgb2hsv()`, that a
black RGB value (all zero) causes the HSV value to be all zero.
2019-09-27 09:35:39 +02:00
Martine Lenders
ac9e80cfd0
Merge pull request #11401 from miri64/tests/enh/i11398-testcase
tests: provide test case for malformed IEEE 802.15.4 packets
2019-09-26 16:55:55 +02:00
Martine Lenders
aaaa8a21ed tests: provide testcase for issue 11398 2019-09-26 15:56:47 +02:00
Dylan Laduranty
9c8cfaa02a tests: add SAMR34 entry in BOARD_INSUFFICIENT_MEMORY
add samr34-xpro if test doesn't fit in its memory
2019-09-26 10:48:03 +02:00
0170d1c5da
Merge pull request #11969 from fjmolinas/pr_nucleo_f303k8_tests
tests: fix tests for nucleo-f303k8
2019-09-25 13:43:10 +02:00
f8922d80c3
tests/periph_wdt: fix upper limit format for print 2019-09-20 20:45:42 +02:00
Benjamin Valentin
a4baf45da1 tests/periph_wdt: only test powers of two
Some watchdog implementations do not support arbitrary precision
for timeouts.
Using powers of two seems like a good common denominator.
2019-09-20 19:04:41 +02:00
Francisco Molina
ce300ca6fd tests: fix tests for nucleo-f303k8
- Decrease default stack size for pthread_cooperation and
  cp11_condition_variable
- Reduce number of problems for thread cooperation and remove
  from insufficient memory list
2019-09-20 17:01:08 +02:00
661fdc6c1b
tests/nimble_l2cap: remove unused debug include 2019-09-20 09:00:32 +02:00
4d2d4c5bb3
tests/nimble_l2cap: fix not needed cast 2019-09-20 09:00:13 +02:00
f6dc8a3ea8
tests/periph_pwm: fix not needed cast 2019-09-20 08:59:43 +02:00
Dylan Laduranty
f276328491
Merge pull request #12267 from bergzand/pr/usbus/auto_tests
usbus: Add automated test
2019-09-19 09:52:48 +02:00
e3123f352e
tests/usbus: Add automated test for usbus init 2019-09-19 09:29:54 +02:00
Martine Lenders
5631b698db
Merge pull request #11623 from miri64/gnrc_ipv6_ext/feat/ipv6-frag
gnrc_ipv6_ext_frag: Initial import of IPv6 fragmentation
2019-09-17 19:27:38 +02:00
Martine Lenders
e62bb9c414 tests: provide tests for gnrc_ipv6_ext_frag fragmentation 2019-09-17 18:55:18 +02:00
Martine Lenders
1a89829cc7
Merge pull request #12254 from aabadie/pr/tests/useless_ci_whitelist
tests: remove remaining use of "TEST_ON_CI_WHITELIST += all"
2019-09-17 10:47:06 +02:00
Martine Lenders
269af28599 tests: provide initial tests for gnrc_ipv6_ext_frag 2019-09-16 19:13:19 +02:00
43717c7b2b
tests: remove useless global board test on ci whitelist 2019-09-16 19:02:02 +02:00
Gaëtan Harter
be7ce7ea99
tests: re-enable utf-8 tests on native
The docker image should now be configured with LC_ALL|LANG=C.UTF-8
and used in murdock.
2019-09-16 12:29:15 +02:00
benpicco
6c95081e42
Merge pull request #10556 from gschorcht/drivers_pca9685
drivers: support for NXP PCA9685 I2C 16-channel, 12-bit PWM controller
2019-09-15 19:20:29 +02:00
Juan I Carrano
75c47a8dc7
Merge pull request #12216 from benpicco/cleanup-test_malloc
tests/malloc: cleanup
2019-09-13 12:03:48 +02:00
ab8cdace12
Merge pull request #11996 from fjmolinas/pr_libcose_crypto_up
pkg/libcose: update crypto support
2019-09-13 10:10:49 +02:00
Francisco Molina
9e5416239b tests/pkg_libcose: adapt to c25519 and monocypher 2019-09-13 09:50:42 +02:00
aed12b4853
Merge pull request #11252 from fjmolinas/pr_wdg_stm32
cpu/stm32_common: add watchdog for stm32
2019-09-13 09:16:18 +02:00
Francisco Molina
8597952c10 tests: add periph_wdt test 2019-09-13 08:58:20 +02:00
Benjamin Valentin
769fe44f6d tests/malloc: cleanup
- make local functions / variables static
- adhere to the 80 column limit
- don't increment total if head could not be allocated
- allow to overwrite CHUNK_SIZE
2019-09-13 00:35:47 +02:00
benpicco
66ce29d94c
Merge pull request #12051 from OTAkeys/fix/isotp
can/isotp: fix closing connection and improve flow control handling
2019-09-12 23:01:58 +02:00
Schorcht
c6bbaac7bc tests: app for testing PCA9685 PWMs 2019-09-12 19:13:20 +02:00