Gerson Fernando Budke
553e968a00
tests/periph_timer/Makefile: Add xmega 500kHz board
...
Atmel XMEGA CPU don't have a timer prescaler div16 and div32 option.
This means that at full speed (32MHz) it is not possible have a 1MHz
clock tick. Define default tick to 500kHz and add atxmega-a1u-xpro
boards to test list.
Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2021-03-15 20:16:10 -03:00
Martine S. Lenders
6507d04a83
tests/unittests: extend tests for gnrc_netif_pktq_usage()
2021-03-15 15:13:59 +01:00
Martine Lenders
fd36c626a3
Merge pull request #15950 from MrKevinWeiss/pr/turo/initial
...
sys/test_utils/result_output: Initial implementations and API of turo
2021-03-15 11:35:01 +01:00
MrKevinWeiss
e7cc489b14
tests/turo: Add automated turo test for json
2021-03-15 10:36:46 +01:00
MrKevinWeiss
e9b65306ea
tests/unittests/turo: Add turo unittest
2021-03-15 10:36:46 +01:00
Marian Buschsieweke
42df56ff08
tests/periph_ptp_clock: fix bug in debug print
...
The API doc of ptp_clock_adjust_speed says regarding the correction
parameter:
1. A call with @p correction set to `0` restores the nominal clock speed.
2. A call with a positive value for @p correction speeds the clock up
by `correction / (1 << 32)` (so up to ~50% for `INT32_MAX`).
3. A call with a negative value for @p correction slows the clock down by
`-correction / (1 << 32)` (so up to 50% for `INT32_MIN`).
So we need to divide by 2^32, not 2^32 - 1 (or `UINT32_MAX`).
2021-03-12 20:43:01 +01:00
Leandro Lanzieri
5af48d2969
tests/netstats_neighbor: use gnrc_netdev_default module
2021-03-10 15:22:03 +01:00
Leandro Lanzieri
e47727fb16
treewide: remove unneeded ieee802154_radio_hal pseudomodule
2021-03-10 14:18:13 +01:00
010ba56174
Merge pull request #16061 from kaspar030/xfa_shell
...
sys/shell: add XFA support
2021-03-09 14:47:43 +01:00
Martine Lenders
d27ea0237e
Merge pull request #16119 from miri64/riotctrl_shell/feat/congure_test
...
riotctrl_shell: add ShellInteraction for `congure_test`
2021-03-09 12:27:10 +01:00
Kevin "Tristate Tom" Weiss
9d579a34d0
Merge pull request #16116 from leandrolanzieri/pr/sys/ztimer/kconfig_change_default_backend
...
sys/ztimer/kconfig: add defaults for backends
2021-03-09 12:22:10 +01:00
d31934223c
tests/periph_spi_dma: blacklist samd10-xmini
2021-03-09 11:50:46 +01:00
f454cb7a24
tests/shell: uncrustify main.c
2021-03-09 11:50:46 +01:00
Martine Lenders
5ceffde662
tests/congure_test: add tests for CongureTest ShellInteraction
2021-03-09 11:24:23 +01:00
Francisco
fc82e3916e
Merge pull request #15931 from haukepetersen/add_dbgpin3
...
sys: add `dbgpin` module for debugging and profiling (take 2)
2021-03-09 10:26:37 +01:00
benpicco
b09f799038
Merge pull request #16161 from madokapeng/nucleo722ze_CAN_support
...
boards/nucleo-f722ze: Add periph_can
2021-03-08 19:22:38 +01:00
madokapeng
905723be59
sys/include/can: Add loopback operation mode
...
tests/candev: Add loopback mode for testing purpose
2021-03-08 12:13:15 -05:00
benpicco
2614831c86
Merge pull request #16137 from maribu/stm32_rtt
...
drivers/periph_rtt: add periph_rtt_set_counter feautre
2021-03-08 16:53:57 +01:00
Marian Buschsieweke
c6e50adc6a
tests/periph_rtt: increase test coverage
...
Previously, the test didn't cover `rtt_set_counter()` and
`rtt_get_alarm`. This fixes the issue.
2021-03-08 14:16:46 +01:00
Leandro Lanzieri
9e2e99fafb
unittests/clif: add attribute test cases
...
- missing value in attribute with separator should fail
- single-quoted value in attribute should fail
- empty value in quoted attribute should fail
2021-03-05 16:47:48 +01:00
Francisco
d369dffb4f
Merge pull request #14339 from aabadie/pr/sys/auto_init_screen
...
drivers: sys/auto_init: pkg/lvgl: setup disp_dev, touch_dev and lvgl auto_init
2021-03-04 19:23:32 +01:00
benpicco
753c833109
Merge pull request #15871 from jan-mo/feat/20210120_lis2dh12_extension
...
driver_lis2dh12: functionality extension
2021-03-04 15:20:55 +01:00
Leandro Lanzieri
6a0240d04b
sys/ztimer/kconfig: add defaults for backends
2021-03-04 10:48:27 +01:00
Jan Mohr
4598602176
drivers/lis2dh12: functionality extension
2021-03-04 00:43:04 +01:00
Jean Pierre Dudey
f3adf7c4e5
Merge pull request #16131 from kaspar030/disable_wroom32_mtd_raw
...
tests/mtd_raw: disable for esp32-wroom-32
2021-03-03 22:00:46 +01:00
77021732db
tests/pkg_lvgl*: exclude stm32mp157c-dk2 from ci
2021-03-03 18:00:50 +01:00
832e9f8173
tests/pkg_lvgl*: exclude nucleo-f030r8
2021-03-03 18:00:50 +01:00
84c83b8025
tests/pkg_lvgl*: don't explicitly set concrete disp/touch drivers
2021-03-03 18:00:49 +01:00
830ea3c19c
tests/pkg_lvgl: adapt for auto_init
2021-03-03 18:00:49 +01:00
Martine Lenders
384df31946
congure_mock: add capability to provide actual methods
2021-03-03 13:30:35 +01:00
f44bc26c3f
tests/mtd_raw: disable for esp32-wroom-32
2021-03-03 08:27:18 +01:00
5975fabd9f
tests/shell: add tests for XFA shell commands
2021-03-02 14:57:29 +01:00
Martine Lenders
f19c8bad01
congure_test: make shell commands shorter
2021-03-01 14:41:31 +01:00
Simon Brummer
5dbeba4f12
gnrc_tcp: Update test documentation
2021-02-28 13:30:32 +01:00
Karl Fessel
f9649973d3
core/lifo: Remove lifo unittests
2021-02-27 11:59:36 +01:00
benpicco
c007b00951
Merge pull request #15932 from jeandudey/2021_02_04-ieee802154-phy
...
net/ieee802154: add PHY modes caps for HAL
2021-02-26 23:09:37 +01:00
Martine Lenders
fc6627606c
Merge pull request #15951 from miri64/congure/feat/initial
...
congure: initial import of a congestion control framework
2021-02-26 12:46:50 +01:00
Hauke Petersen
84660ed664
tests: initial import of dgbpin test
2021-02-26 11:34:52 +01:00
Jean Pierre Dudey
4ca37c96b3
net/ieee802154: add PHY mode capabilities
...
- Adds capabilities for each PHY mode. Converts the uint16_t caps field to an
uint32_t in order to hold all capability bits, size of the structure remains
unchanged due to alignment.
- Modifies the test application to configure the PHY mode using the shell
command. Also adds the PHY modes to the capabilities shell command.
- Updates the nrf802154 and cc2538 radio drivers to specify the PHY mode
supported.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-26 11:16:27 +01:00
Martine Lenders
90a1e4d5c5
tests: initial import of tests for CongURE and its test framework
2021-02-26 10:14:12 +01:00
Martine Lenders
6b827f497d
Merge pull request #16094 from kaspar030/reduce_tests_periph_spi_codesize
...
tests/periph_spi: compact help messages a bit to shave off some bytes
2021-02-25 14:48:01 +01:00
0f8c0c3f1a
tests/periph_spi: compact help messages a bit to shave off some bytes
2021-02-25 12:41:04 +01:00
a8d04ad502
tests/pkg_spiffs: make use hardware MTD optional
2021-02-25 12:25:29 +01:00
a8be37bbf0
tests/pkg_littlefs*: make use hardware MTD optional
2021-02-25 12:25:28 +01:00
43c84c616b
tests/pkg_littlefs*: increase timeout for test
...
It takes more that 2 minutes when run on the nrf52840dk
2021-02-25 12:25:21 +01:00
759d088ecc
tests/bench_xtimer: add sensebox to low memory boards
2021-02-24 18:47:53 +01:00
benpicco
9fc60da4ca
Merge pull request #15830 from benpicco/net/nanocoap_add_uri
...
nanocoap: add coap_opt_put_uri_pathquery()
2021-02-24 12:09:08 +01:00
Leandro Lanzieri
b8774009d0
Merge pull request #16009 from MrKevinWeiss/pr/sys/kconfig/simple
...
sys/*/Kconfig: Add simple sys modules to Kconfig
2021-02-24 10:27:01 +01:00
Leandro Lanzieri
d5fc632ef4
Merge pull request #16053 from fjmolinas/pr_kconfig_external_modules
...
Kconfig: source EXTERNAL_MODULES configurations
2021-02-24 08:56:56 +01:00
70d746dfc1
Merge pull request #16067 from aabadie/pr/ci/test-on-iotlab-skip-periph_timer_periodic
...
gh_action: exclude tests/periph_timer_periodic from test-on-iotlab
2021-02-23 20:12:24 +01:00
Francisco Molina
ab457abb38
tests/kcnfig: add external modules test
2021-02-23 19:16:34 +01:00
Benjamin Valentin
d4e5c25b70
nanocoap: add coap_opt_put_uri_pathquery()
2021-02-23 18:27:54 +01:00
Martine Lenders
afb027852d
Merge pull request #15992 from yarrick/more_lwip
...
Add lwIP ifconfig shell command
2021-02-23 16:59:41 +01:00
ca26a8fe6a
tests/periph_timer_periodic: add error tolerance in timings
...
On a lot of platforms the peripheral timer fires in advance, adding a precision factor of 15% makes the test more reliable
2021-02-23 15:19:09 +01:00
Francisco
c91499997e
Merge pull request #16030 from benpicco/drivers/mtd_flashpage-fix_native
...
drivers/mtd_flashpage: fixes for native (and stm32l0, stm32l4)
2021-02-23 15:12:06 +01:00
Francisco
cb87c418f4
Merge pull request #16068 from aabadie/pr/tests/xfa_fix_build_in_docker
...
tests/xfa: use BUILDDEPS instead of overriding the all target
2021-02-23 13:49:59 +01:00
Martine Lenders
b866d22062
Merge pull request #16032 from fjmolinas/pr_move_flashpage_unittest
...
tests/unittests/tests-flashpage: move out of unittests
2021-02-23 12:05:28 +01:00
Erik Ekman
88d2d2d030
tests/lwip: Update test to match new ifconfig
...
Removed custom ifconfig command.
2021-02-23 11:48:13 +01:00
62c7a9f13d
tests/xfa: fix parallel build with BUILD_IN_DOCKER
2021-02-23 10:39:39 +01:00
Francisco Molina
2bb8cb4b55
tests/unittests/tests-flashpage: move out of unittests
...
Co-authored-by: Martine Lenders <mlenders@inf.fu-berlin.de>
2021-02-23 09:08:57 +01:00
MrKevinWeiss
fd98105c94
tests/struct_tm_utility: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
MrKevinWeiss
03dc2ba09a
tests/shell: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
MrKevinWeiss
6a217ee34f
tests/eepreg: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
MrKevinWeiss
ea6716a7f9
tests/cb_mux_bench: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
MrKevinWeiss
8057273ab2
tests/cb_mux: Add Kconfig defaults
2021-02-22 14:58:09 +01:00
Leandro Lanzieri
9fb93af034
Merge pull request #15985 from MrKevinWeiss/pr/umorse/kconfig
...
pkg/umorse: Add Kconfig support
2021-02-22 09:37:12 +01:00
Martine Lenders
de4ee0f934
Merge pull request #15562 from benpicco/socket_zep_register
...
socket_zep: register with netdev, provide EUI-64 as command line parameter
2021-02-20 20:32:01 +01:00
MrKevinWeiss
ab92319f69
tests/pkg_umorse: Add Kconfig defaults
2021-02-19 15:32:20 +01:00
MrKevinWeiss
3c80faf6a8
tests/pkg_umorse: Remove xtimer dependency
2021-02-19 15:32:20 +01:00
7c1cb66fe2
Merge pull request #15246 from haukepetersen/add_example_i2cscanner
...
examples: add I2C scanner
2021-02-19 15:02:47 +01:00
Martine Lenders
6dd49ead83
Merge pull request #16037 from miri64/shell/enh/kconfig-dep-config
...
shell/Kconfig: make config options usable with dependency resolution
2021-02-19 14:49:47 +01:00
Martine Lenders
b7b1374916
tests/test_tools: add app.config.test to test shell config
2021-02-19 13:22:47 +01:00
Martine Lenders
455a607405
tests/gnrc_ndp: don't guess size of gnrc_pktsnip_t
in pktbuf
...
24 bytes is only the right size for `gnrc_pktsnip_t` on 32-bit systems
(and only if the struct does not change), on AVR e.g. it 9 bytes.
By using the internal alignment function of `pktbuf` we are able to
precisely tell the internal size of `gnrc_pktsnip_t` using the `sizeof`
operator.
2021-02-19 12:23:22 +01:00
15124e4769
Merge pull request #15002 from kaspar030/pr/xfa_v3
...
core: introduce crossfile arrays (xfa) v3
2021-02-18 14:49:22 +01:00
Benjamin Valentin
d98d6c1e7c
tests/mtd_flashpage: remove native from blacklist
2021-02-18 14:22:11 +01:00
Hauke Petersen
fe15192200
tests/periph_i2c: include I2C scanner per default
2021-02-18 13:22:54 +01:00
Gaëtan Harter
3099e02953
xfa: add a test script
...
Enable it for CI test
2021-02-18 10:46:08 +01:00
Benjamin Valentin
4291df0305
tests/mtd_flashpage: make use of FLASHPAGE_ERASE_STATE
2021-02-16 21:51:41 +01:00
Francisco Molina
1d8448d449
tests/unittests/tests-flashpage: require periph_flashpage
...
The test uses module functions, so require it.
2021-02-16 18:52:53 +01:00
Francisco Molina
227cd98050
tests/mtd_flashpage: blacklist native
...
https://github.com/RIOT-OS/RIOT/pull/15859 exposed a bug in the
handling of FEATURES_REQUIRED_ANY, so https://github.com/RIOT-OS/RIOT/pull/15935
did not run this test, native is currently failing, so blacklist while this
is still the case
2021-02-16 18:18:22 +01:00
Francisco Molina
34628c8fe8
tests/gnrc_tx_sync: add boards with insufficient memmory
2021-02-16 18:18:21 +01:00
Francisco Molina
5c1b959a24
tests/bench_xtimer: blacklist zigduino
2021-02-16 16:32:12 +01:00
Joakim Nohlgård
abca94b25d
tests/xfa: Add static check of XFA linking
2021-02-16 14:55:26 +01:00
Joakim Nohlgård
12a2243485
unittests: Add XFA tests
2021-02-16 14:55:26 +01:00
Joakim Nohlgård
97e1be0830
tests: Add xfa test
2021-02-16 14:21:33 +01:00
Marian Buschsieweke
bcca86b441
tests/gnrc_sixlowpan_frag*: Use NETOPT_MAX_PDU_SIZE
...
Replaces instances of deprecated NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE.
2021-02-16 14:08:00 +01:00
2dd49a0737
Merge pull request #15966 from aabadie/pr/make/gcc_10_riscv_failures
...
make: silence a couple of warnings raised with gcc 10 on riscv
2021-02-16 12:05:42 +01:00
Leandro Lanzieri
4172066ab3
Merge pull request #15984 from MrKevinWeiss/pr/posix_sleep/kconfig
...
sys/posix_sleep: Add Kconfig support
2021-02-15 16:01:09 +01:00
Leandro Lanzieri
85da504d2d
Merge pull request #15947 from nmeum/pr/clif_get_attr_empty
...
clif: Don't access any data if input is empty
2021-02-15 13:53:40 +01:00
MrKevinWeiss
d5a94d79a5
tests/posix_sleep: add Kconfig configuration file
2021-02-15 12:24:38 +01:00
benpicco
3e3c4d06fb
Merge pull request #15955 from aabadie/pr/boards/microbit-v2
...
boards: add support for microbit v2
2021-02-13 23:48:43 +01:00
Marian Buschsieweke
efb2adf27a
Merge pull request #15977 from maribu/ptp-api-fix-adjust
...
drivers/periph_ptp: fix clock adjustment API
2021-02-11 17:28:02 +01:00
MrKevinWeiss
f22dede3ce
test/periph_ptp_clock: Remove redundant function
2021-02-11 09:30:58 +01:00
MrKevinWeiss
73cd498dba
tests/fmt_print: improve test coverage
2021-02-10 13:40:40 +01:00
c6cae514d4
tests/board_microbit: add microbit-v2 in whitelist
2021-02-10 13:39:52 +01:00
6d0942a863
Merge pull request #15963 from aabadie/pr/tests/driver_bq2429_bug
...
tests/driver_bq2429x: fix implicit conversion in helper function
2021-02-10 10:55:07 +01:00
Marian Buschsieweke
f95f3bf99a
tests/periph_ptp_clock: update to new API
2021-02-10 10:13:47 +01:00
f515036c91
tests/ssp: silence array-bounds warning if present
...
This warning is triggered on gcc 10 with riscv and makes the build to fail
2021-02-10 09:17:34 +01:00
Leandro Lanzieri
609c9ada34
Merge pull request #15945 from nmeum/pr/clif_get_attr_bounds
...
clif: After incrementing pos, make sure it is still in bounds
2021-02-10 08:50:10 +01:00
Martine Lenders
1db480006c
Merge pull request #15939 from namib-project/dhcp-mud-fix
...
sys/net/dhcpv6: Fixes for MUD URL option
2021-02-10 08:30:06 +01:00
Martine Lenders
4e9980c804
Merge pull request #15838 from fjmolinas/pr_openwsn_sock_udp_fix
...
pkg/openwsn/sock: fix sock_udp_close handling
2021-02-10 08:28:43 +01:00
benpicco
a69da13d56
Merge pull request #15948 from jeandudey/2021_02_08-cc1350-launchpad
...
boards: add cc1350 launchpad
2021-02-09 23:34:58 +01:00
Jean Pierre Dudey
2bca4d3ac3
boards: add cc1350-launchpad
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-02-09 23:04:24 +01:00
698a09f29d
Merge pull request #15964 from aabadie/pr/tests/driver_hih6130_fix_integer_absolute
...
tests/driver_hih6130: fix 'absolute-value' error
2021-02-09 20:48:14 +01:00
Martine Lenders
7bb706356a
Merge pull request #15962 from miri64/pyterm/fix/space-after-prompt
...
pyterm: read space after prompt into prompt
2021-02-09 20:34:34 +01:00
Jan Romann
9af849387c
tests/gnrc_dhcpv6_client_6lbr: add test-as-root to README
2021-02-09 19:47:47 +01:00
Jan Romann
b382de1693
tests/gnrc_dhcpv6: add test-as-root to README
2021-02-09 19:47:47 +01:00
Jan Romann
6a2aa7ad52
sys/net/dhcpv6: Fix MUD URL option
2021-02-09 19:47:47 +01:00
benpicco
b25c63757e
Merge pull request #15884 from benpicco/boards/zigduino
...
boards: add zigduino
2021-02-09 18:40:48 +01:00
Martine Lenders
bd96e4b400
tests/shell: add command with empty output
2021-02-09 17:17:25 +01:00
Francisco Molina
75d53b0c46
tests/pkg_openwsn_sock_udp: add test for sock_udp_close
...
Basic sock_udp_close() functionality is tested durin teardown,
but teardown does not test that there are no messages lingering
for the closed sock.
2021-02-09 17:04:24 +01:00
2e3488154c
tests/driver_hih6130: fix 'absolute-value' error
2021-02-09 15:57:48 +01:00
eea04fd81f
tests/driver_bq2429x: fix implicit conversion in helper function
...
The parameter expects a bq2429x_chrg_fault_t but is declared as bq2429x_chrg_stat_t
2021-02-09 15:37:58 +01:00
Benjamin Valentin
ae4d7ee116
Makefile.ci: add zigduino
2021-02-09 15:26:03 +01:00
benpicco
5fba2c8387
Merge pull request #14448 from benpicco/l2-peerstats-rebased
...
net/netstats: L1/L2 per neighbor statistics
2021-02-09 14:54:53 +01:00
Benjamin Valentin
b7b6beb65c
tests/netstats_neighbor: add compile-test for netstats_neighbor
2021-02-09 12:27:58 +01:00
Francisco Molina
235e024483
tests/cpp11_condition_variable: reduce thread number
2021-02-09 10:16:01 +01:00
Francisco Molina
eb9d2fb5b4
tests/cpp11_condition_variable: nucleo-f334r8 reduce thread size
2021-02-09 10:16:01 +01:00
Martine Lenders
209b48e385
Merge pull request #15694 from maribu/gnrc_tx_sync
...
sys/net/gnrc/tx_sync: new module
2021-02-08 19:47:43 +01:00
Marian Buschsieweke
bd37457e14
tests/gnrc_tx_sync: add test for gnrc_tx_sync
2021-02-08 16:13:11 +01:00
Sören Tempel
0d141bf93a
clif: Don't access any data if input is empty
...
This is relevant as clif_decode_link may invoke clif_get_attr with
input_len == 0.
2021-02-08 13:42:18 +01:00
Sören Tempel
767e700a5f
clif: After incrementing pos, make sure it is still in bounds
...
While the for-loop condition does contain a bounds check, the pointer is
independently increment in the for-loop body. This increment therefore
requires a separate bounds check. Otherwise, the parsing loop may access
data outside the given buffer boundaries.
2021-02-08 11:29:44 +01:00
Cenk Gündoğan
6ef29d9b53
tests: uri_parser: new test to check empty host
2021-02-05 13:32:49 +01:00
Sören Tempel
333572e091
uri_parser: check if uri is long enough to even contain a ://
...
Before attempting to access these characters. This fixes an
out-of-bounds read on the provided URI buffer.
2021-02-04 20:08:26 +01:00
Leandro Lanzieri
f0762c5114
tests: check Kconfig before setting CFLAGS for shell configs
2021-02-04 12:46:26 +01:00
Leandro Lanzieri
67f36d78a9
sys/shell: document configs and add to Kconfig
2021-02-04 09:19:43 +01:00
Marian Buschsieweke
f685996cd0
Merge pull request #15405 from benpicco/boards/bluepill-stm32f030c8t6
...
boards/bluepill-stm32f030c8: add STM32F030C8 based bluepill board
2021-02-03 07:45:14 +01:00
Benjamin Valentin
d3ca85ad65
tests: add bluepill-stm32f030c8 to Makefile.ci
2021-02-02 23:47:40 +01:00
Marian Buschsieweke
e0f457663c
Merge pull request #15901 from OTAkeys/pr/ztimer_rmutex_lock_timeout
...
ztimer: add ztimer_rmutex_lock_timeout()
2021-02-02 20:47:53 +01:00
Vincent Dupont
fb4d2e509a
ztimer: add ztimer_rmutex_lock_timeout()
...
Similar to xtimer_rmutex_lock_timeout()
2021-02-02 10:51:50 +01:00
f5b6ebf1cb
unittests/flashpage: force uniform flashpage layout
...
The unittest for flashpage only checks the inline flashpage_ functions
with the assumption that the flashpage layout is uniform. This commit
undefines the macro guarding those functions to force them to be
included even when the flashpage peripheral defines own implementations.
2021-02-01 18:23:05 +01:00
2bcddba5ca
tests/periph_flashpage: Make FLASHPAGE_SIZE optional
2021-02-01 17:22:07 +01:00
Francisco
0903952564
Merge pull request #15880 from aabadie/pr/tests/_nrf51dk_timeout_fixes
...
tests: increase timeout for nrf51dk
2021-02-01 11:05:17 +01:00
benpicco
a61edaa32a
Merge pull request #15874 from btcven/2021_01_27-ieee802154-submac
...
tests/ieee802154_submac: check netdev_driver_t::recv return value
2021-01-29 21:30:06 +01:00
Dylan Laduranty
1f085cfd03
Merge pull request #15843 from benpicco/mtd_write_page_hl
...
mtd: rename mtd_write_page() -> mtd_write_page_raw(), add high-level mtd_write_page()
2021-01-28 18:43:42 +01:00
4443b23348
tests/suit_manifest: increase timeout for nrf51dk
2021-01-28 13:41:15 +01:00
54dcd04105
tests/pkg_wolfssl: increase timeout for nrf51dk
2021-01-28 13:41:05 +01:00
6edb3a9e1b
tests/pkg_wolfcrypt-ed25519-verify: increase timeout for nrf51dk
2021-01-28 13:40:54 +01:00
dfa10efef4
tests/pkg_libcose: increase test timeout for nrf51dk
2021-01-28 13:40:24 +01:00
Benjamin Valentin
d20a570f43
tests/mtd_raw: fix auto-test for memory that erases to 0
2021-01-28 11:51:28 +01:00
Benjamin Valentin
e6763b9b68
tests/mtd_raw: fix initial size output
2021-01-28 11:51:28 +01:00
Benjamin Valentin
ebe4fc0bc1
tests/mtd_raw: include mtd_write_page() in test
2021-01-28 11:51:28 +01:00
Benjamin Valentin
c569d9a1d9
drivers: add MTD_DRIVER_FLAG_DIRECT_WRITE to mtd drivers
...
- EEPROMs don't need read-modify-write cylce
- SD cards will handle read-modify-write internally
2021-01-28 11:51:28 +01:00
999849fac4
tests/driver_bq2429x: move test to test-with-config
2021-01-28 09:17:39 +01:00
Jean Pierre Dudey
bb65b3b0af
tests/ieee802154_submac: check netdev_driver_t::recv return value
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-27 22:52:21 +01:00
550be21cfc
Merge pull request #15868 from aabadie/pr/pkg/libfixmath_nump_version
...
pkg/libfixmath: bump version to latest master
2021-01-27 17:56:39 +01:00
543b26c7ab
tests/pkg_libfixmath_unittests: exclude new small boards
2021-01-27 16:58:47 +01:00
Francisco
dc801b9dde
Merge pull request #15817 from leandrolanzieri/pr/kconfig/sys_crypto
...
sys/{crypto, hashes, random}: add modules to Kconfig
2021-01-27 10:20:11 +01:00
benpicco
98726ded6d
Merge pull request #14662 from benpicco/cpu/samd20
...
cpu/samd21: add support for SAMD20 & SAM D20 Xplained Pro board
2021-01-26 19:14:36 +01:00
Leandro Lanzieri
589904e6e8
tests: add crypto and prng kconfig configurations
2021-01-26 17:50:20 +01:00
Martine S. Lenders
e1925cac85
tests/gnrc_ipv6_ext_frag: fetch Interface IDs dynamically
...
Signed-off-by: Martine Lenders <m.lenders@fu-berlin.de>
2021-01-26 15:25:22 +01:00
Benjamin Valentin
60eb75da3c
mtd: rename mtd_write_page() -> mtd_write_page_raw()
...
The function will not abstract away the behavior of the underlying media
(e.g. whether only 1 -> 0 writes are possible without erase), thus rename it.
2021-01-26 11:48:26 +01:00
Benjamin Valentin
d8918c24fa
socket_zep: register with netdev
2021-01-25 22:59:01 +01:00
d0f3cefc7e
tests/driver_apds99xx*: move to test-with-config
2021-01-25 21:10:08 +01:00
f8fb26835c
tests/driver_si1133: move to test-with-config
2021-01-25 21:10:08 +01:00
5ec41f35c7
tests/driver_bme680: move to test-with-config
...
If the configuration is correct, the test should succeed, so the test script is adapted
2021-01-25 21:10:08 +01:00
5e43172c87
tests/driver_ds3231: move to test-with-config
2021-01-25 21:10:08 +01:00
76e186571b
tests: fix auto use of interactive sync module
2021-01-25 21:10:08 +01:00
ffa28ef731
tests/gnrc_sock_dns: move to test-with-config
2021-01-25 21:10:08 +01:00
aeadbfc80d
tests/driver_my9221: move to test-with-config
2021-01-25 21:10:08 +01:00
d0a3f3090b
tests/driver_grove_ledbar: move to test-with-config
2021-01-25 21:10:08 +01:00
60c8e027d0
tests/driver_hd44780: move to test-with-config
2021-01-25 21:10:08 +01:00
16652e83f1
tests/driver_ds1307: move to test-with-config
2021-01-25 21:10:07 +01:00
e071444af7
tests/driver_at86rf2xx_aes: move to test-with-config
2021-01-25 21:10:07 +01:00
239e7cadfb
tests/gnrc_*: move to tests-as-root
2021-01-25 21:10:07 +01:00
9821835e28
tests/emcute: move to tests-as-root
2021-01-25 21:10:07 +01:00
072718b04b
examples: tests: move lorawan examples to tests-with-config
2021-01-25 21:10:06 +01:00
Gaëtan Harter
80b9290bb1
tests/pkg_fatfs_vfs: declare test as test-with-config
...
For running the test on boards, it needs a manual setup.
This however declares the "native" test as requiring config too.
No need to be blacklisted when using test-with-config.
2021-01-25 21:10:06 +01:00
Gaëtan Harter
54c4536945
tests: add 'test-as-root' and 'test-with-config' targets
...
These targets cannot be used in an automated testing workflow without
complex configuration or extend rights.
- Add new 'test-as-root' target for tests that require to be root or
start an external daemon as root
- Add new 'test-with-config' target for tests that require a specific
configuration to succeed (module configuration or hardware
configuration)
2021-01-25 21:10:06 +01:00
benpicco
83201ddb00
Merge pull request #15760 from maribu/sock-aux-rssi
...
sys/net/sock: add sock_aux_rssi
2021-01-25 18:51:11 +01:00
Marian Buschsieweke
4c91ac1afd
tests/sock_udp_aux: new test application
2021-01-25 15:50:24 +01:00
fabian18
dc9e915231
tests/driver_nrf24l01p_ng: Test for nrf24l01p netdev driver
2021-01-24 20:49:39 +01:00
benpicco
1a30a3a280
Merge pull request #15707 from ML-PA-Consulting-GmbH/fix/20210105__sam0_common-periph-flashpage__fix_unaligned_write
...
sam0_common/periph/flashpage: fix unaligned write
2021-01-22 20:24:53 +01:00
Jean Pierre Dudey
273721efc0
drivers: add bq2429x power management IC driver
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2021-01-22 19:30:12 +01:00
Martine Lenders
879fbc179e
Merge pull request #15755 from janosbrodbeck/pr/dtls/get_event_session
...
sock/async: add function to retrieve session object of current DTLS event
2021-01-22 10:51:51 +01:00
Benjamin Valentin
33fec8b9dc
boards/samd20-xpro: add support for SAM D20 Xplained Pro
2021-01-21 20:29:15 +01:00
János Brodbeck
c65b4d378b
tests/pkg_tinydtls_sock_async: use sock_dtls_get_event_session()
...
in DTLS handler
2021-01-21 19:43:15 +01:00
Leandro Lanzieri
e5f5d2e303
tests/driver_s*: add Kconfig configuration files
2021-01-21 11:24:31 +01:00
Francisco
bd8519808c
Merge pull request #15719 from leandrolanzieri/pr/kconfig/drivers_tuvw
...
drivers/{t, v, u, w}*: add modules to Kconfig
2021-01-21 11:16:53 +01:00
Leandro Lanzieri
062a6603c6
tests/driver: add Kconfig configuration files
2021-01-21 10:02:34 +01:00
Leandro Lanzieri
d2ca66e476
tests: add common Kconfig configuration for sync
2021-01-20 17:36:14 +01:00
Francisco
5c5ec632a5
Merge pull request #15716 from leandrolanzieri/pr/kconfig/ztimer
...
sys/ztimer: add modules to Kconfig
2021-01-20 15:31:20 +01:00
5bc7555ae7
Merge pull request #15794 from fjmolinas/pr_fix_posix_sleep
...
tests/posix_sleep: fix for invalid RTT configurations
2021-01-20 14:07:23 +01:00
a1250963d4
Merge pull request #15780 from haukepetersen/opt_ztimer_isset
...
ztimer: add ztimer_is_set() to user API
2021-01-20 12:42:21 +01:00
Daniel Lockau
13670be9bb
tests/periph_flashpage: test unaligned write for sam0
...
Adds test of unaligned write to already integrated sam0_common config area test.
2021-01-20 09:55:46 +01:00
Francisco Molina
bafcaecca8
tests/posix_sleep: dont use periph_rtt for efm32 and kinetis
...
These CPU families have a non configurable RTT of 1Hz, not enough for
ztimer_msec to run on periph_rtt.
2021-01-19 13:37:06 +01:00
Marian Buschsieweke
26a5c56ee5
Merge pull request #15787 from bergzand/pr/cortexm/svc_cleanup
...
cpu/cortexm_common: Do not use SVC for cpu_switch_context_exit
2021-01-19 11:19:44 +01:00
Francisco
e046e01254
Merge pull request #15683 from bergzand/pr/memarray/extender
...
memarray: Add functions to extend and reduce the pool with new memory areas
2021-01-19 11:18:47 +01:00
Francisco
2dbb8fefad
Merge pull request #15785 from fjmolinas/pr_version_greater_or_equal
...
makefiles/docker.inc.mk: add and version_is_greater_or_equal for jobs check
2021-01-19 11:17:57 +01:00
78e25f5f3b
tests/drivers_sdp3x: Exclude stk3200 from linking
2021-01-19 10:11:40 +01:00
Leandro Lanzieri
ee3e3578d4
tests/{x,z}timer: add Kconfig configuration files
2021-01-19 09:31:05 +01:00
Bas Stottelaar
6a285369ab
unittests: extend tests for saul_reg
2021-01-18 22:31:11 +01:00
Hauke Petersen
d54e08fb8a
tests/ztimer_periodic: add call to ztimer_is_set()
2021-01-18 17:50:50 +01:00
benpicco
5fe6483403
Merge pull request #15762 from benpicco/sys/sema_inv
...
sys/sema_inv: add inverse Semaphore
2021-01-18 15:57:01 +01:00
Francisco Molina
e455ccd3c0
makefiles/utils/strings.mk: add version_greater_or_equal
2021-01-18 14:37:23 +01:00
4868094fbf
tests/memarray: add extend/reduce tests
2021-01-18 11:01:37 +01:00
Leandro Lanzieri
20c5552920
tests: add Kconfig configuration files for multiple driver tests
...
Configurations for the following applications have been added:
l3g4200d
lc709203f
lis2dh12
lis3dh
lis3mdl
lpd8808
lpsxxx
lsm303dlhc
lsm6dsl
ltc4150
mag3110
mhz19
mma7660
mma8x5x
motor_driver
mpl3115a2
mpu9x50
mq3
nvram_spi
mtd_flashpage
mtd_mapper
2021-01-18 10:44:30 +01:00
Francisco
8e40f6a653
Merge pull request #15708 from leandrolanzieri/pr/kconfig/drivers_opqr
...
drivers/{o, p, q, r}*: add modules to Kconfig
2021-01-18 10:06:09 +01:00
Benjamin Valentin
b0d476c890
tests/sys_sema_inv: add test for inverse semaphore
2021-01-17 00:17:58 +01:00
03bf0fae01
tests/cst816s: Add basic touch screen test
2021-01-14 18:17:52 +01:00
Leandro Lanzieri
50383d7082
tests: add Kconfig configuration files for multiple driver tests
...
Configurations have been added for:
- opt3001
- pca9633
- pca9685
- pcd8544
- ph_oem
- pir
- pn532
- pulse_counter
- qmc5883l
- rn2xx3
2021-01-14 10:00:44 +01:00
Francisco Molina
5cbb8093cf
tests/ieee802154_hal: add CRC_ERROR handling
2021-01-13 23:42:44 +01:00
Jose Alamos
59d5a808a7
tests/unittest/ieee802154: add tests for RSSI and dBm conversion
2021-01-13 14:14:45 +01:00
Marian Buschsieweke
3944af2046
tests/gnrc_sock_{udp,ip}: test sock_aux_rssi
...
Extend tests to also cover testing sock_aux_rssi
2021-01-13 13:29:13 +01:00
Marian Buschsieweke
dd68fb7273
tests/gnrc_sock_{ip,udp}: fix copy paste error
2021-01-12 22:00:43 +01:00
60688d15c7
tests/usbus_hid: cleanup USB variable access in Makefile
2021-01-12 17:24:00 +01:00
c7781189b7
tests/usbus_hid: uncrustify main.c
2021-01-12 17:23:10 +01:00
Benjamin Valentin
4e1ee2253f
tests/periph_flashpage: print config page offset
2021-01-12 08:43:38 +01:00
Dylan Laduranty
916f554d2a
Merge pull request #14629 from Ollrogge/usb_hid_pr
...
USB HID minimal implementation
2021-01-11 20:17:52 +01:00
Benjamin Valentin
cf2ac213fc
tests/mtd_raw: add simple test for MTD
2021-01-11 14:35:40 +01:00
Benjamin Valentin
89c97ae59a
sys/od: allow to specify address offset with od_hex_dump_ext()
...
When dumping memory the printed addresses always start with `00000000`.
This can be very confusing and lead to errors.
Allow the user to specify a starting address of the printed memory that
will be used instead.
By introducing a wrapper function, existing users are unaffected.
2021-01-11 14:35:40 +01:00
Build Bot
122d7a0f35
usbus/hid: add minimal implementation
2021-01-11 00:24:30 +01:00
d1fe44fbbb
tests/unittests/tests-clif: use ARRAY_SIZE macro
2021-01-08 14:37:33 +01:00
Bas Stottelaar
31c5c4988e
Merge pull request #15377 from basilfx/feature/efm32_slstk3400a
...
boards/slstk3400a: add support
2021-01-08 07:29:03 +01:00
e31e8f504b
tests/pbkdf2: clean python test script
...
The testrunner module path is already added the PYTHONPATH, so can be imported like a regular module
2021-01-07 20:33:00 +01:00
2683bb264b
tests/cond_order: clean python test script
...
The testrunner module path is already added the PYTHONPATH, so can be imported like a regular module
2021-01-07 20:32:59 +01:00
3216707e12
tests/pbkdf2: fix flake8 issue E741: ambiguous variable name
...
E741: ambiguous variable name
2021-01-07 19:11:21 +01:00
Bas Stottelaar
e8314811ae
tests/periph_timer: add to list of 32kHz boards
2021-01-06 23:44:54 +01:00
Bas Stottelaar
74e1ac29ac
tests: add to BOARD_INSUFFICIENT_MEMORY
2021-01-06 23:44:54 +01:00
quangphhr
afa723b2f7
drivers/hsc: add driver for honeywell pressure and temperature sensor
2021-01-06 10:22:17 +01:00
Marian Buschsieweke
8309f42f9b
Merge pull request #15643 from maribu/atomic_utils
...
sys/atomic_utils: change API to also return previous value
2021-01-05 12:04:31 +01:00
Leandro Lanzieri
675ddb6ccc
drivers/pn532: use pseudomodules to select i2c or spi
2021-01-04 16:55:16 +01:00
Hauke Petersen
bf0aa101a7
Merge pull request #15670 from miri64/tests/enh/emcute-qos-0-publish
...
tests/emcute: add check for message ID with PUBLISH QoS 0
2020-12-18 13:46:22 +01:00
Marian Buschsieweke
8af3b7ecb3
Merge pull request #15621 from benpicco/tests/driver_dac_dds-ahoy
...
tests/driver_dac_dds: use clearer hello recording
2020-12-18 09:21:38 +01:00
Marian Buschsieweke
c8d16d21f7
Merge pull request #15606 from maribu/malloc-newlib-picolibc
...
sys/malloc_thread_safe: new module
2020-12-17 19:55:32 +01:00
Martine S. Lenders
eaa1b76227
tests/emcute: add check for message ID with PUBLISH QoS 0
2020-12-17 17:25:53 +01:00
Marian Buschsieweke
c9d63c9f4f
tests/malloc_thread_safety: new test
...
This test checks whether calling malloc in more than one thread is safe.
2020-12-17 15:39:05 +01:00
742808bf26
Merge pull request #15659 from bergzand/pr/aip31068/static_test_funcs
...
tests/aip31068: Mark internal functions as static
2020-12-17 11:33:00 +01:00
86b121d6a6
tests/aip31068: Mark internal functions as static
...
Also prefix them with an underscore to prevent naming conflicts
2020-12-17 10:17:16 +01:00
Marian Buschsieweke
58ae12d000
tests/bench_sys_atomic_utils: update Makefile.ci
...
Sadly GCC currently doesn't optimize as expected and the additional return
value increases the ROM a bit. As a result, the application doesn't fit
into the ROM of four additional boards.
2020-12-16 18:10:53 +01:00
Marian Buschsieweke
2208c6a375
tests/sys_atomic_utils: update to new API
...
The signature typedefs need to be updated to also include the return value.
The test is not otherwise changed.
2020-12-16 18:10:53 +01:00
Marian Buschsieweke
1893377b59
tests/sys_atomic_utils_unittests: check return values
...
Update the test to the new API and also verify correct return values.
2020-12-16 18:10:51 +01:00
Marian Buschsieweke
c015e64e8e
tests/sys_atomic_utils_unittests: spice up test
...
Initializing the state variables per loop with a value where some bits are set
and some are cleared makes much more sense. E.g. previously the bitwise and
applied on the state variable initialized with zero was unlikely to detect
implementation issues, as the state value never changed. So if the bitwise
and would be incorrectly implemented as a nop, it would have passed the unit
test.
2020-12-16 10:13:43 +01:00
benpicco
c25cb8467b
Merge pull request #15628 from ML-PA-Consulting-GmbH/feat/20201214__native_rtc_settime
...
cpu/native/rtc: add rtc_set_time implementation
2020-12-15 19:52:57 +01:00
Marian Buschsieweke
76630ee3cb
Merge pull request #15633 from benpicco/sys/base64-urlsafe_fix
...
sys/base64: drop padding for base64url encoding
2020-12-15 19:36:09 +01:00
Daniel Lockau
e7054b4f53
tests/periph_rtc: test clear alarm
2020-12-15 12:52:35 +01:00
Benjamin Valentin
48c33ae0a2
sys/base64: drop padding for base64url encoding
...
The URLsafe base64 encoding variant does not require padding, using
'=' as padding is in fact an error as it is not a URL-safe character.
2020-12-15 12:18:45 +01:00
Marian Buschsieweke
d3bd3ff48c
tests/sys_architecture: also test UWORD_MAX, ...
...
Also verify correct values for UWORD_MAX, UWORD_MIN, SWORD_MAX, SWORD_MIN via
static_assert().
2020-12-15 10:13:52 +01:00
Martine S. Lenders
ed4ac70887
tests: provide tests for gnrc_sixlowpan_frag_sfr
2020-12-14 13:00:36 +01:00
Martine S. Lenders
d393008b9f
gnrc_sixlowpan_frag_rb: externalize get_by_tag function
2020-12-14 09:30:04 +01:00
benpicco
770bda165a
Merge pull request #15571 from iosabi/drv_si1133
...
drivers/si1133: New SI1133 UV/IR/Ambient light driver
2020-12-14 08:41:00 +01:00
iosabi
ce76125a22
drivers/si1133: New SI1133 UV/IR/Ambient light driver
...
The SI1133 from Silicon Labs is a UV Index Sensor and Ambient Light
Sensor in a small 2x2 mm DFN package. The sensor can measure
independently ultra violet (UV) light, infra red (IR) light and
ambient light, however the ambient light is also influenced by the
IR light requiring compensation from the IR readings.
The SI1133 is quite different from other Silicon Labs chips in RIOT OS
and therefore needs its own driver. In particular, the SI1133 has 7
different photodiode configurations to read but only 6 channels to
read them in parallel so only some channels can be read each time.
This patch implements a new driver allowing to read the data directly
and a saul interface for the three kinds of light source. There are
many configuration options including interrupts and continous modes
that are left out of this initial driver.
2020-12-14 03:13:23 +00:00
Benjamin Valentin
c696fd7a0b
tests/driver_dac_dds: use clearer hello recording
...
The "Hello World" sample is really hard to hear on the noisy DAC / speaker
setup on my same54-xpro.
Replace it with a clearer sample from Wikimedia Commons and fix the ffmpeg
command line.
2020-12-13 02:05:54 +01:00
Benjamin Valentin
734742ecc2
tests/periph_spi: enable test for SPI on QSPI
2020-12-12 18:36:16 +01:00
Benjamin Valentin
0c36a57e4e
tests: add samd10-xmini to Makefile.ci
2020-12-11 18:33:31 +01:00
benpicco
39249569b3
Merge pull request #15612 from chrysn-pull-requests/dac_dds_fixes
...
dac_dds test fixes
2020-12-11 14:40:42 +01:00
chrysn
d1b9310da1
tests/driver_dac_dds: Replace hello file, add README
...
The previous file did not have a clear copyright situation; this one has
and it's described in the README.
2020-12-11 14:01:12 +01:00
chrysn
2de01519f3
tests/driver_dac_dds: Don't crash on infrasound requests
2020-12-11 11:39:32 +01:00
chrysn
2bfb40c2ae
tests/driver_dac_dds: Report underruns
2020-12-11 11:39:32 +01:00
Martine Lenders
b6bf67114b
Merge pull request #15536 from fjmolinas/pr_openwsn_sock_selfhosted
...
pkg/openwsn: add sock_udp
2020-12-11 11:22:50 +01:00
chrysn
057de665f1
tests/driver_dac_dds: Initialize at DC-free state
2020-12-11 09:42:28 +01:00
chrysn
198da1291b
tests/driver_dac_dds: Precision in debug output
2020-12-11 09:40:08 +01:00
chrysn
a79de40263
tests/driver_dac_dds: Parametrize configured DAC device
...
The set default is good enough for single-channel board, but whenever
DAC_DDS_CHAN is not zero (or even when a board has more), this may need
changing.
2020-12-11 09:23:33 +01:00
chrysn
b392d76592
tests/driver_dac_dds: Remove debug statement
2020-12-11 09:19:12 +01:00
Francisco Molina
32058e9ad9
tests/pkg_openwsn/Makefile: nitpick formatting fix
2020-12-11 09:07:54 +01:00
Francisco Molina
f0999a0a93
tests/pkg_openwsn_sock_udp: initial import
2020-12-11 09:07:53 +01:00
Francisco Molina
fa99345c4e
tests/pkg_openwsn: adapt to sock api
2020-12-11 09:07:50 +01:00
benpicco
e1f47a1700
Merge pull request #15575 from Hxinrong/ds3231_timeBranch
...
add error checks of function ds3231_get_time() and ds3231_set_time()
2020-12-11 08:36:10 +01:00
chrysn
272c8d29cc
Merge pull request #13908 from benpicco/periph/dac_play
...
drivers/periph_common: dac: add dac_play()
2020-12-11 07:31:44 +01:00
Martine Lenders
08d86295d2
Merge pull request #15560 from maribu/gnrc-aux-rx-timestamps
...
net/gnrc/sock: Implement sock_aux_timestamp for RX
2020-12-10 19:20:16 +01:00
Marian Buschsieweke
14e0f5b064
tests/gnrc_sock_ip: also test sock_aux_timestamp
2020-12-10 17:43:12 +01:00
Marian Buschsieweke
5b3d862ef7
tests/gnrc_sock_udp: also test sock_aux_timestamp
2020-12-10 17:43:12 +01:00
Martine Lenders
eafa026db2
Merge pull request #15599 from benpicco/byteorder_htoll
...
follow-up: use byteorder_htoll()
2020-12-09 18:24:18 +01:00
Marian Buschsieweke
e3ecb74765
Merge pull request #15592 from maribu/ztimer_mutex_lock_timeout
...
sys/ztimer: add ztimer_mutex_lock_timeout()
2020-12-09 17:48:51 +01:00
Benjamin Valentin
c5ca2c2784
drivers/at86rf2xx: use byteorder_ltohs()
2020-12-09 14:23:37 +01:00
Benjamin Valentin
7358ae9c2e
tests/ieee802154_submac: use byteorder_ltohs()
2020-12-09 14:22:07 +01:00
benpicco
1477a340fe
Merge pull request #15150 from fabian18/ieee802154_security
...
Initial implementation of IEEE 802.15.4 security
2020-12-09 14:14:27 +01:00
Han Xinrong
88c9c2aa5f
tests/driver_ds3231:add error checks of ds3231_get_time() and ds3231_set_time()
2020-12-09 19:30:54 +08:00
Marian Buschsieweke
aa4532a2e7
tests/ztimer_mutex_lock_timeout: new test
2020-12-08 22:54:45 +01:00
Leandro Lanzieri
3e5622a912
tests: remove unused driver_mpu9150 directory
...
The driver and the test application had been renamed to mpu9x50 in
2df5d6048d
, but
c01eae3239
added a Makefile.ci for it.
The folder is no longer used, so this removes it together with the
Makefile.
2020-12-08 17:35:46 +01:00
229291ef01
Merge pull request #15442 from maribu/mutex_abort
...
core/mutex: Add mutex_cancel
2020-12-08 17:12:52 +01:00
Marian Buschsieweke
9127deb6fe
tests: Add test for core_mutex/mutex_cancel
2020-12-08 14:50:49 +01:00
71f6b73251
Merge pull request #15519 from benpicco/byteorder_letoh
...
sys/byteorder: add helpers to convert from little endian to host byte order
2020-12-08 12:52:32 +01:00
2d551ec125
tests/core: Add tests for little endian functions
2020-12-08 11:26:20 +01:00
Leandro Lanzieri
f74cb053b2
Merge pull request #15547 from akshaim/Kconfig_driver_ili9341
...
drivers/ili9341 : Expose configurations to Kconfig
2020-12-07 09:49:33 +01:00
Benjamin Valentin
5681befe75
tests/driver_dac_dds: add test for dac_dds_play()
...
This will play a raw audio (8kHz, 8 Bit) snipped from the 1961 synthesized speech demo.
(Can be disabled since the file is rather large with 17k)
It will also play sine, square and sawtooth waves with frequencies that can be set on
the command line.
I tested this with the on-board speaker (connected to P0.26) of the mcb2388 as well
as with hooking up a headphone to the ANALOG (PA02) header of the same54-xpro.
2020-12-04 23:12:32 +01:00
Martine Lenders
ba89d8641e
Merge pull request #14704 from maribu/sock-aux-gnrc
...
net/gnrc/sock: Implement sock_aux_local
2020-12-04 13:55:27 +01:00
Martine Lenders
172183e078
Merge pull request #14705 from maribu/sock-aux-lwip
...
pkg/lwip: Implement sock_aux_local
2020-12-04 13:27:25 +01:00
Marian Buschsieweke
e97ed09c3c
tests/lwip_sock_ip: Added test for sock_aux_local
2020-12-04 12:51:49 +01:00
Marian Buschsieweke
1282ab1203
tests/lwip_sock_udp: Added test for sock_aux_local
2020-12-04 12:51:49 +01:00
Marian Buschsieweke
3e1417c75d
tests/gnrc_sock_ip: Added test for sock_aux_local
2020-12-04 12:48:00 +01:00
Marian Buschsieweke
f97c190117
tests/gnrc_sock_udp: Added test for sock_aux_local
2020-12-04 12:48:00 +01:00
Fabian Hüßler
9c45cf1d2d
tests/ieee802154_security: dummy test for CI process
2020-12-04 09:40:55 +01:00
benpicco
1eab23a8ad
Merge pull request #15554 from benpicco/tests/driver_ds3231
...
tests/driver_ds3231: blacklist on CI
2020-12-04 00:44:05 +01:00
Benjamin Valentin
c82e331e57
tests/driver_ds3231: blacklist on CI
...
The test needs real hardware to run, so including it in the automated
CI tests will always fail.
2020-12-03 21:05:40 +01:00
benpicco
1a25df9d34
Merge pull request #15471 from maribu/event-threads-multi
...
sys/event: Allow single event_thread handling all queues
2020-12-03 21:04:36 +01:00
Marian Buschsieweke
78aec672dd
tests/pkg_tinydtls_sock_async: fix use of internals
...
event_queue_medium was never part of the public API, instead of using
`&event_queue_medium` one should use `EVENT_PRIO_MEDIUM`.
2020-12-03 15:28:35 +01:00
Marian Buschsieweke
ae5845c372
tests/event_threads: drop use of deprecated module
2020-12-03 15:28:35 +01:00
Marian Buschsieweke
10471a33b3
tests: Add event_thread tests for shared thread
2020-12-03 15:28:35 +01:00
Akshai M
64ddd8384e
drivers/ili9341 : Expose to Kconfig
...
Group display drivers in menuconfig.
2020-12-03 14:20:34 +01:00
Akshai M
9f81956e41
drivers/ili9341 : Model 'CONFIG_ILI9341_LE_MODE' as BOOL
2020-12-03 14:20:34 +01:00
benpicco
a80631a297
Merge pull request #15074 from maribu/ptp-clock
...
drivers/periph/ptp_clock
2020-12-03 09:59:07 +01:00
Marian Buschsieweke
2e529e92a4
tests: Added test for PTP clock
2020-12-02 17:53:01 +01:00
Marian Buschsieweke
0da5d1607c
tests: Added test for PTP timer
2020-12-02 17:53:01 +01:00
benpicco
665c07eb53
Merge pull request #15120 from benpicco/driver/at86rf215-trim
...
driver/at86rf215: add functions to configure trim & clock output at run-time
2020-12-02 16:53:02 +01:00
Benjamin Valentin
be10d0b9e0
tests/driver_at86rf215: extend with driver specific commands
2020-12-02 14:59:17 +01:00
7492bd4b3d
Merge pull request #15509 from leandrolanzieri/pr/kconfig/drivers_def
...
drivers/{d,e,f}*: add Kconfig modules
2020-12-02 13:37:40 +01:00
28947e5198
Merge pull request #15542 from miri64/tests/enh/gnrc_ipv6_ext_frag-netif_setter
...
tests/gnrc_ipv6_ext_frag: use gnrc_netif_hdr_set_netif()
2020-12-02 13:36:58 +01:00
Leandro Lanzieri
192b7b4efe
tests/driver_{d,e,f}*: add Kconfig configuration files
...
Also add the tests to the CI list.
2020-12-02 10:16:49 +01:00
Francisco
c9720d16ca
Merge pull request #15515 from leandrolanzieri/pr/kconfig/drivers_ghij
...
drivers/{g,h,i,j}*: add Kconfig modules
2020-12-02 10:03:02 +01:00
Francisco
0a064806e3
Merge pull request #15443 from benpicco/l2util_addr
...
replace netif_addr_to/from_str() with l2util_addr_to/from_str()
2020-12-02 09:21:16 +01:00
benpicco
418aaa6e67
Merge pull request #15388 from benpicco/boards/e104-bt5010a-tb
...
boards/e104-bt5011a-tb: add support for the E104-BT5011A Test Board
2020-12-02 00:24:33 +01:00
benpicco
b18cbd8c2a
Merge pull request #11068 from miri64/gnrc_sixlowpan_frag/new/minfwd
...
gnrc_sixlowpan_frag: initial import of minimal forwarding
2020-12-01 18:55:51 +01:00
Benjamin Valentin
5f4afe12f1
examples, tests: add e104-bt5010a-tb to Makefile.ci
2020-12-01 18:29:08 +01:00
Benjamin Valentin
c27ea1afa1
examples, tests: add e104-bt5011a-tb to Makefile.ci
2020-12-01 18:28:41 +01:00
Martine Lenders
5073d8875f
tests/gnrc_ipv6_ext_frag: use gnrc_netif_hdr_set_netif()
2020-12-01 18:16:21 +01:00
Leandro Lanzieri
2fc12c8252
Merge pull request #14324 from PeterKietzmann/pr_add_entropy_source
...
sys/entropy_source: add new module for entropy sources
2020-12-01 16:58:42 +01:00
Martine Lenders
e70a42c076
tests: add gnrc_sixlowpan_frag_minfwd tests for IPHC reception
2020-12-01 16:25:30 +01:00
Martine Lenders
d8c5a22238
tests: add gnrc_sixlowpan_frag_minfwd tests for IPHC sending
2020-12-01 16:25:30 +01:00
Martine Lenders
383790af63
tests: add gnrc_sixlowpan_frag_minfwd tests for rbuf integration
2020-12-01 16:25:29 +01:00
Martine Lenders
8564a86989
tests: introduce tests for gnrc_sixlowpan_frag_minfwd
2020-12-01 16:25:29 +01:00
ca58bb332e
Merge pull request #15530 from lazylazyllama/fix-bmx280-readme
...
tests/driver_bmx280: fix address define in README
2020-12-01 16:09:11 +01:00
PeterKietzmann
aec75b55fe
sys/entropy_source: add new module for entropy sources
2020-12-01 15:51:40 +01:00
Lasse Rosenow
2cf41f18b6
tests/driver_bmx280: fix address define in README
2020-12-01 14:54:24 +01:00
Martine Lenders
df676dc078
Merge pull request #15430 from benpicco/boards/native-zep
...
boards/native: allow to use ZEP instead of tap
2020-12-01 12:16:41 +01:00
b0b19203a7
Merge pull request #15190 from benpicco/boards/wefun-f401cc
...
boards/common/weact-f4x1cx: create common WeAct boards
2020-12-01 12:03:38 +01:00
benpicco
333fce44b4
Merge pull request #14973 from benpicco/driver/at86rf215-batmon
...
drivers/at86rf215: implement battery monitor, add power bus
2020-12-01 11:52:46 +01:00
Benjamin Valentin
851e2c5a9a
boards/weact-f401cc: add WeAct-f401cc
2020-12-01 11:02:09 +01:00
Francisco
f23c616eb1
Merge pull request #15422 from benpicco/pkg/fatfs-r0.14
...
pkg/fatfs: bump version to r0.14
2020-12-01 10:46:54 +01:00
Martine Lenders
c44d77e528
Merge pull request #15508 from namib-project/dhcp-mud-support
...
Add MUD URL option to DHCPv6 client
2020-12-01 10:33:51 +01:00
Leandro Lanzieri
4b7bb8719f
Merge pull request #15240 from akshaim/Kconfig_EMCute_1
...
MQTT-SN Clients ( Emcute/ Asymcute) : Kconfig Updates
2020-12-01 09:47:09 +01:00
Jan Romann
517e082cf5
tests/gnrc_dhcpv6_client_6lbr: Add MUD URL test
...
Co-Authored-By: Jens Bücker <48720000+jbueck@users.noreply.github.com>
Co-Authored-By: mauspr <75017188+mauspr@users.noreply.github.com>
Co-Authored-By: schulztr <75017039+schulztr@users.noreply.github.com>
2020-11-30 22:46:33 +01:00
Benjamin Valentin
374d032b82
tests/tests-ieee802154: drop custom byteorder_htols() implementation
...
The function is now available through byteorder.h
2020-11-29 21:41:33 +01:00
Leandro Lanzieri
9abf3247c8
tests/driver_{g,h,i,j}*: add Kconfig configuration files
...
This also adds these applications to the CI tests. The following drivers
have been modelled:
gp2y10xx
grove_ledbar
hd44780
hdc1000
hih6130
hmc5883l
hts221
ili9341
ina2xx
ina3221
io1_xplained
isl29020
isl29125
itg320x
jc42
my9221
2020-11-27 09:20:08 +01:00
fa70cda0c8
tests/bench_xtimer: add arduino-nano-33-iot to low memory
2020-11-27 08:45:07 +01:00
73d36eac38
tests/unittests: exclude arduino-nano-33-iot
2020-11-27 08:45:07 +01:00
Francisco
14877443f7
Merge pull request #15494 from gdiribarne/bugfix/sfr04-avr-overflow
...
drivers/srf04: fix overflow on AVR
2020-11-26 11:14:15 +01:00
Francisco
47ed64fcfd
Merge pull request #15466 from leandrolanzieri/pr/kconfig_drivers_bc
...
drivers/{b,c}*: model modules in Kconfig
2020-11-26 10:44:28 +01:00
Francisco
ae2246dc80
Merge pull request #15476 from benpicco/tests/malloc-fail
...
tests/malloc: fail if allocation count does not match
2020-11-26 10:27:02 +01:00
1d5e2e9cd9
all: remove traces of kernel_types.h
...
Automatically removed using:
$ git grep -l kernel_types | xargs sed -i '/^#include .kernel_types/d'
2020-11-25 17:52:34 +01:00
Leandro Lanzieri
ae6266bfb4
tests/driver_*: add Kconfig configuration files
2020-11-25 12:43:05 +01:00
575189510d
Merge pull request #15465 from maribu/atomic-utils-volatile
...
sys/atomic_utils: Use volatile qualifier
2020-11-24 22:05:33 +01:00
Marian Buschsieweke
090722d78f
tests/sys_atomic_utils_unittests: API and cleanup
...
- Update to new atomic_utils API
- Use volatile_utils.h over custom implementation
2020-11-24 14:34:51 +01:00
Marian Buschsieweke
5a2efe061d
sys: Moved volatile_utils from test
...
The volatile utils might be useful elsewhere - at least in a second unit test.
Move them to sys to allow using them, but with appropriate warnings added.
2020-11-24 14:34:51 +01:00
Marian Buschsieweke
8bbe364637
test/sys_atomic_utils: Update to new API
...
- Update to new API
2020-11-24 14:00:52 +01:00
benpicco
b3b07e4e33
Merge pull request #15481 from kaspar030/refactor_thread_defines
...
core: move scheduler defines
2020-11-23 17:56:09 +01:00
1c0560a205
tests/bitarithm_timings: add limits.h include
2020-11-23 16:56:34 +01:00
0b801c4de0
all: adapt to moved sched defines
2020-11-23 16:56:34 +01:00
benpicco
a80f0d966a
Merge pull request #15448 from leandrolanzieri/pr/kconfig/drivers_a
...
drivers/a*: model modules in Kconfig
2020-11-23 16:52:50 +01:00
Francisco Molina
5b10bdfcb8
makefiles/utils: add util to compare to software versions
2020-11-23 09:12:51 +01:00
Bas Stottelaar
cb50c1a006
tests: update for e180-zg120b-tb
2020-11-23 00:36:20 +01:00
Bas Stottelaar
ff26819f7f
tests: add to unsupported boards
2020-11-23 00:36:20 +01:00
Gilles Diribarne
5a5c8507d4
drivers/sfr04: Use uncrustify
2020-11-22 23:12:40 +01:00
08f7f80ea7
tests/evtimer_mbox: add missing main() return
2020-11-20 10:41:59 +01:00
Akshai M
ad99438d5b
test/emcute : Check for Kconfig symbol
2020-11-19 23:11:21 +01:00
Akshai M
fb465db26f
net/emcute : Move 'EMCUTE_DEFAULT_PORT' to 'CONFIG_'
...
tests/emcute : Change the macro for default port
r/MQTTSN_DEFAULT_PORT/CONFIG_EMCUTE_DEFAULT_PORT
examples/emcute : Update UDP port definition
r/MQTTSN_DEFAULT_PORT/CONFIG_EMCUTE_DEFAULT_PORT
2020-11-19 23:11:21 +01:00
Akshai M
4bb866c59e
net/emcute : Move 'EMCUTE_TOPIC_MAXLEN' to 'CONFIG_'
2020-11-19 23:11:20 +01:00
Akshai M
17e2b20f50
net/emcute : Move 'EMCUTE_BUFSIZE' to 'CONFIG_'
2020-11-19 23:11:20 +01:00
Benjamin Valentin
ebdcacc1a8
tests/malloc: fail if allocation count does not match
...
If we can't allocate the same amount of buffers in the second run,
fail the test. This indicates that not all buffers have been properly
freed.
2020-11-19 21:59:14 +01:00
Marian Buschsieweke
955b1f5be8
tests/event_threads: spice up test a bit
...
By posting a higher priority event from the event handlers prior to printing,
we can verify that an event handler is indeed preempted by a higher priority
event.
2020-11-18 20:43:36 +01:00