1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
Commit Graph

3677 Commits

Author SHA1 Message Date
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