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

5007 Commits

Author SHA1 Message Date
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
Leandro Lanzieri
72fda0679a
tests/drivers: add Kconfig configuration files and to CI test 2020-11-18 18:38:51 +01:00
Bas Stottelaar
e2e64e7546 tests/cpu_efm32_drivers: require efm32_coretemp feature 2020-11-18 17:27:17 +01:00
ded50b2494
Merge pull request #15446 from fjmolinas/pr_tests_riotboot_cc2538_bsl
tests/riotboot: make automatic script work with cc2538-bsl
2020-11-18 17:09:01 +01:00
Bas Stottelaar
34c252d0e6
Merge pull request #15461 from basilfx/feature/efm32_driver_coretemp
cpu/efm32: add coretemp driver
2020-11-18 15:08:29 +01:00
e322bfbd47
Merge pull request #15421 from leandrolanzieri/pr/kconfig/native/hello_world
Kconfig: add modules to test on native
2020-11-18 15:02:34 +01:00
Francisco Molina
cb28708f06
tests/riotboot: make automatic script work with cc2538-bsl
cc2538-bsl can't flash if the terminal is attached, refactor the test
so the terminal is detached between flashes.
2020-11-18 14:51:01 +01:00
Bas Stottelaar
d66d8ae998 tests/cpu_efm32_drivers: add test application 2020-11-18 12:28:45 +01:00
Leandro Lanzieri
9021a0b13a
tests/periph_gpio: add native-specific configuration file 2020-11-18 10:08:01 +01:00
benpicco
6cf6b47c27
Merge pull request #15445 from btcven/2020_11_05-gp2y10xx
drivers: add gp2y10xx dust sensor
2020-11-18 09:56:03 +01:00
Jean Pierre Dudey
e920a2e645 drivers: add gp2y10xx dust sensor
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-18 09:13:56 +01:00
Marian Buschsieweke
45b8902659
Merge pull request #15314 from aabadie/pr/sys/arduino_print_float
sys/arduino: fix print float
2020-11-17 16:15:39 +01:00
benpicco
afbf507a74
Merge pull request #15440 from maribu/pointer-tagging
sys: Add helpers for pointer tagging
2020-11-17 14:21:46 +01:00
dad5ca3276
Merge pull request #14953 from benpicco/drivers/mtd_mapper-pagewise
mtd_mapper: implement pagewise functions
2020-11-17 11:46:52 +01:00
Benjamin Valentin
27dbd6d3fe tests/pkg_fatfs: adapt to API change in f_mkfs() 2020-11-17 11:29:28 +01:00
Benjamin Valentin
33449a4409 pkg/fatfs: bump version to r0.14 2020-11-17 11:29:28 +01:00
Marian Buschsieweke
65cb8e5074
tests: Add test for sys/ptrtag 2020-11-17 11:24:59 +01:00
5d99793bf8
Merge pull request #15431 from haukepetersen/fix_periphrtt_tickconversion
periph/rtt: fix overflow in tick conversion macros
2020-11-17 11:07:00 +01:00
Benjamin Valentin
83a4248fbb net/netif: remove netif_addr_to/from_str() 2020-11-17 10:51:22 +01:00
Benjamin Valentin
2845554b4e cpu/sam0_common: flashpage: rename to sam0_flashpage_aux_write()
`flashpage_write_raw()` got renamed to `flashpage_write()`.
Now `sam0_flashpage_aux_write_raw()` is the only remaining 'raw'
function, even though it behaves just like `flashpage_write()`.

So let's also rename that for consistency.
2020-11-17 00:34:31 +01:00
Hauke Petersen
261d63fee3 tests/periph_rtt: add test for tick conversions 2020-11-16 10:00:24 +01:00
Benjamin Valentin
5d6754e7a9 l2util: add l2util_addr_to_str()/l2util_addr_from_str() 2020-11-14 17:29:26 +01:00
Benjamin Valentin
dbdd9d7189 tests/driver_at86rf215: add battery monitor test 2020-11-13 22:59:10 +01:00
Benjamin Valentin
f9c36f9738 netopt: add NETOPT_BATMON
Many radios have a built-in battery monitor.
Add a netopt to configure it.
2020-11-13 22:59:09 +01:00
Benjamin Valentin
516c69cb5f boards/native: allow to use ZEP instead of tap
If `native` is compiled with `USEMODULE=socket_zep` and networking,
don't also include `netdev_tap` automatically.

This mirrors the behavior on nrf52 and esp* where the default netdev
can be 'overwritten' by another option.
2020-11-13 18:43:49 +01:00
Gilles DOFFE
631e882844 tests: examples: remove stm32mp157c-dk2 for mem leak
stm32mp157c-dk2 has not enough memory to build this apps.
However as the stm32mp157xx cpu line has no flash, a part of RAM
is considered as ROM. Thus ROM size could be extend to suit this
apps needs.

Signed-off-by: Gilles DOFFE <gilles.doffe@savoirfairelinux.com>
2020-11-13 10:43:08 +01:00
cab254003f
tests/unittests: remove atomic-utils from unittests 2020-11-13 08:47:18 +01:00
996da8fb6d
tests/sys_atomic_utils_unittest: add sys atomic utils unittests 2020-11-13 08:47:18 +01:00
benpicco
d9598a0f54
Merge pull request #15412 from bergzand/pr/flashpage/merge_raw
periph_flashpage: Make pagewise API optional
2020-11-12 22:32:21 +01:00
792e031a95
Merge pull request #14331 from maribu/atomic_utils
sys/atomic_utils: Functions for atomic access
2020-11-12 21:44:53 +01:00
Martine Lenders
37dd848c37
Merge pull request #15337 from cgundogan/pr/uri_parser_interfaces
uri_parser: extend for parsing interfaces in IPv6 addresses
2020-11-12 11:16:52 +01:00
Cenk Gündoğan
d18ad54184
unittests: Makefile.ci: do not link cc1312/52-launchpad 2020-11-12 10:09:17 +01:00
Martine Lenders
71d970cb00
Merge pull request #15245 from haukepetersen/add_driver_ds3231
drivers: add support for DS3231 RTC
2020-11-12 08:58:35 +01:00
3aa5203bc5
mtd_flashpage: only depend on periph_flashpage
The features in flashpage_raw are now default in flashpage and do not
have to be included as a separate dependency
2020-11-11 23:16:43 +01:00
5683f30b2f
tests/periph_flashpage: Adapt to optional flashpage_pagewise 2020-11-11 23:16:37 +01:00
Cenk Gündoğan
1da3738619
unittests: uri_parser: extend for interfaces 2020-11-11 22:47:30 +01:00
Hauke Petersen
24c3f56844 tests: add test for ds3231 RTC driver 2020-11-11 17:39:16 +01:00
benpicco
808c5b7eb8
Merge pull request #15424 from basilfx/feature/efm32_fix_timers
boards/efm32: update channel_numof with correct values
2020-11-11 09:49:24 +01:00
Leandro Lanzieri
c068f13ba2
Merge pull request #15234 from akshaim/PR_PKTBUF_Bug
Kconfig/pktbuf :  Fix check for "CONFIG_GNRC_PKTBUF_SIZE"
2020-11-11 09:34:19 +01:00
Bas Stottelaar
b75446e2f8 tests/periph_rtc: add to list of 32kHz boards 2020-11-11 00:27:18 +01:00
Bas Stottelaar
55a55c7ba5 tests/periph_timer: add to list of 32kHz boards 2020-11-10 23:03:08 +01:00
Bas Stottelaar
b6befac515 tests/unittests: add to BOARD_INSUFFICIENT_MEMORY 2020-11-10 22:59:46 +01:00
Benjamin Valentin
3a20beb53a tests/periph_flashpage: add test for AUX page 2020-11-10 14:21:47 +01:00
Marian Buschsieweke
1352ce667b
tests: Add another test for atomic_utils
This tests can be used to test for implementations violating atomic attribute.
2020-11-10 10:55:14 +01:00
Marian Buschsieweke
07fc051e97
tests/unittests: Added unit test for atomic_utils 2020-11-10 10:55:14 +01:00
Marian Buschsieweke
23c91db0b5
tests: Add benchmark for sys/atomic_utils 2020-11-10 10:55:14 +01:00
b5617b5e05
tests/pkg_lvgl: exclude spark-core from CI 2020-11-08 17:37:39 +01:00
408c2b534d
pkg/lvgl: bump to v7.7.1 2020-11-08 16:19:55 +01:00
Jean Pierre Dudey
1edb8666cb tests/pkg_lvgl: fix sysmon example URL.
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-08 15:05:56 +01:00
Jean Pierre Dudey
572db20049 tests/pkg_lvgl: fix sysmon task creation
Fixes a bug on the `pkg_lvgl` test when running on the esp32. When `sysmon_task`
was created it ran too early before any widget was created causing
Store/LoadProhibited exceptions on the esp32, I assume it's noticeable on the
esp32 due to the code being fetched from external flash memory adding a delay
higher than `REFR_TIME`.

Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech>
2020-11-08 15:04:21 +01:00
Leandro Lanzieri
59dee592cd
tests/periph_*: add Kconfig configuration files 2020-11-06 15:58:00 +01:00
Benjamin Valentin
5d3de413b3 tests/mtd_mapper: implement pagewise functions 2020-11-05 18:17:54 +01:00
Martine Lenders
d329fde2ab
Merge pull request #15382 from tperale/master
boards/feather-m0: add support for feather-m0-lora version
2020-11-05 18:11:45 +01:00
benpicco
f702a95880
Merge pull request #15385 from benpicco/xtimer_msleep-convert
drivers, tests: use xtimer_msleep()
2020-11-05 16:46:39 +01:00
Martine Lenders
cc10d31391
Merge pull request #15305 from aabadie/pr/sys/posix_sleep
sys/posix: rename posix_time to posix_sleep
2020-11-05 16:36:25 +01:00
Thomas Perale
a53ce8b9c1 examples, tests: add feather-m0-lora to low memory boards 2020-11-05 15:08:21 +01:00
d62111ce76
Merge pull request #15373 from aabadie/pr/tests/shell_script_enh
tests/shell: fix flake8 errors in Python script
2020-11-05 12:18:13 +01:00
Benjamin Valentin
3a8f74da0c tests/unittests/tests-fib_sr: convert to xtimer_msleep() 2020-11-05 11:34:50 +01:00
Benjamin Valentin
e9b876a18e tests/touch_dev: convert to xtimer_msleep() 2020-11-05 11:34:50 +01:00
Benjamin Valentin
bea7e14791 tests/thread_priority_inversion: convert to xtimer_msleep() 2020-11-05 11:34:50 +01:00
Benjamin Valentin
3c6a5f9f5c tests/progress_bar: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
4caecdc108 tests/pkg_umorse: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
8d1e4d13e2 tests/evtimer_msg: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
fcfb44719f tests/event_wait_timeout: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
c56c839765 tests/driver_si70xx: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
2485ebeaa8 tests/driver_pca9633: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
ff671baa75 tests/driver_jc42: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
ed7c521bac tests/driver_dsp0401: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
f406c03add tests/driver_dfplayer: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
4d5340f2fc tests/driver_bme680: convert to xtimer_msleep() 2020-11-05 11:32:42 +01:00
Benjamin Valentin
683c1470ee tests/driver_aip31068: convert to xtimer_msleep() 2020-11-05 11:32:41 +01:00
Marian Buschsieweke
4e8b0d541f
Merge pull request #15386 from maribu/drop_irq_handler
sys/irq_handler: Drop module
2020-11-05 10:55:29 +01:00
Marian Buschsieweke
a2dd6f90e5
sys/irq_handler: Remove deprecated module 2020-11-05 09:12:32 +01:00
Francisco
3ec806dda5
Merge pull request #15379 from leandrolanzieri/pr/tests/usbus_cdc_ecm/remove_kconfig
tests/usbus_cdc_ecm: remove unneeded Kconfig file
2020-11-05 09:01:09 +01:00
benpicco
568e1e3635
Merge pull request #15199 from fjmolinas/pbkdf2-sha256
sys/hashes/pbkdf2: Add PBKDF2-sha256 implementation. [TAKEOVER]
2020-11-04 14:45:12 +01:00
09a457152d
Merge pull request #15374 from aabadie/pr/tests/phydat_dump_script_enh
tests/phydat_dump: use raw strings in expect regexp
2020-11-04 13:32:28 +01:00
aab9ea20f2
Merge pull request #15369 from aabadie/pr/tests/xtimer_mutex_lock_timeout_cleanup
tests/xtimer_mutex_lock_timeout: cleanup python automated test
2020-11-04 11:42:42 +01:00
0f0666e859
Merge pull request #15372 from aabadie/pr/tests/driver_bme680_script_enh
tests/driver_bme680: improve automated test script
2020-11-04 11:04:02 +01:00
Juan Carrano
62667848c4
sys/hashes/pbkdf2: Add PBKDF2-sha256 implementation.
This add an implementation of PBKDF2 using sha256 hmac. Only one derived
key length is supported (32) though it should not be hard to extend it.

The testing is done with both random (with fixed seed) vectors amd vectors
from rfc7914.
2020-11-04 09:57:32 +01:00
Leandro Lanzieri
cd8948a6df
tests/usbus_cdc_ecm: remove Kconfig file
This is not longer needed since 250f6fdfa3
moved the default PID and VID values to the System USB Kconfig.
2020-11-04 09:33:16 +01:00
a9389e0cbe
Merge pull request #15370 from aabadie/pr/tests/trace_script_cleanup
tests/trace: use raw strings in expect regexp
2020-11-03 19:17:08 +01:00
Martine Lenders
1070e287f4
Merge pull request #15342 from miri64/gnrc_pkt/enh/tests
gnrc_pkt: port to list.h
2020-11-03 17:49:40 +01:00
Francisco
78bdf7d274
Merge pull request #15213 from HendrikVE/pr/driver/pca9633-bitarithm
drivers/pca9633: use bitarithm
2020-11-03 16:00:52 +01:00
7010e331e2
tests/phydat_dump: use raw strings in expect regexp 2020-11-03 15:50:15 +01:00
cf154a587a
tests/shell: fix flake8 errors in Python script 2020-11-03 15:38:27 +01:00
85d6e2789c
tests/driver_bme680: return if driver init failed 2020-11-03 15:23:59 +01:00
c99ee7729c
tests/driver_bme680: improve automated test script 2020-11-03 15:23:36 +01:00
ef871b3424
tests/trace: declare expect regexp as raw strings 2020-11-03 14:46:11 +01:00
58de8b39f6
tests/xtimer_mutex_lock_timeout: clean python automated test 2020-11-03 14:37:57 +01:00
Juergen Fitschen
dd13e5c639
Merge pull request #15366 from jue89/fix/mtd_flashpage_erase
drivers/mtd_flashpage: fix erasure of multiple sectors
2020-11-03 14:18:02 +01:00
benpicco
ee7a52db2f
Merge pull request #14023 from benpicco/core/msg_bus-bus_flag
core/msg_bus: allow to differ between messages form bus and from thread
2020-11-03 13:51:19 +01:00
Juergen Fitschen
2c85ba2af2 test/mtd_flashpage: extend test to erase multiple sectors in one go 2020-11-03 12:35:36 +01:00
benpicco
9681c204d6
Merge pull request #14959 from benpicco/at86rf215-mr-fsk
drivers/at86rf215: implement MR-FSK
2020-11-03 11:26:24 +01:00
Benjamin Valentin
27d26538d8 tests/thread_msg_bus: check if the message came from the right thread 2020-11-03 10:52:43 +01:00
Benjamin Valentin
37928acd7c tests/driver_at86rf215: update Makefile.ci 2020-11-03 10:51:21 +01:00
Bas Stottelaar
53c1392d4d tests/*: replace #if ENABLE_DEBUG with IS_ACTIVE 2020-11-02 21:49:39 +01:00
Leandro Lanzieri
f14c898dd0
sys/net/ipv6: add ipv6_addr_from_buf function
This allows to parse IPv6 address from strings that not end with '\0'.
2020-10-30 11:20:25 +01:00
Leandro Lanzieri
4305fcc010
sys/net/ipv4: add ipv4_addr_from_buf function
This allows to parse IPv4 address from strings that not end with '\0'.
2020-10-30 11:20:25 +01:00
Martine Lenders
3be898757f
tests/unittests: add tests for new pkt operations 2020-10-29 18:06:35 +01:00
benpicco
9e4dd8e451
Merge pull request #15287 from miri64/ethernet/enh/join-leave-mcast-group
gnrc_netif: add capability to join or leave link layer multicast groups
2020-10-29 16:03:32 +01:00
Martine Lenders
1572489c97
tests/gnrc_netif: add tests to join and leave L2 groups 2020-10-29 14:38:52 +01:00
Martine Lenders
55ed65650d
tests/l2util: provide tests for l2util_ipv6_group_to_l2_group() 2020-10-29 14:38:51 +01:00
ada0e157b4
tests/l2util: remove mention to nordic-softdevice-ble 2020-10-29 09:02:12 +01:00
899ac1eb3a
tests: remove nordic softdevice test application 2020-10-29 09:02:05 +01:00
d3e7150bac
tests/sys_arduino: add test case to print float values 2020-10-27 18:23:57 +01:00
6431342655
tests/posix_sleep: exclude nucleo-l011k4, too small 2020-10-27 16:49:28 +01:00
6f17950297
tests/posix_sleep: use periph_rtt if the board provides it 2020-10-27 15:20:34 +01:00
68a2a5dab0
sys: tests: rename posix_time to posix_sleep 2020-10-27 15:20:33 +01:00
benpicco
e4164e3924
Merge pull request #15275 from jia200x/pr/radio/config_phy_amendment
ieee802154/radio: add TRX_OFF pre condition to config_phy
2020-10-26 23:28:45 +01:00
Bas Stottelaar
fdd467167d tests/unittests: remove board from BOARD_INSUFFICIENT_MEMORY 2020-10-26 19:42:09 +01:00
Jose Alamos
ee802467fb tests/ieee802154_hal: adapt config_phy call to TRX_OFF precondition 2020-10-26 17:04:48 +01:00
benpicco
689ca9cb34
Merge pull request #15293 from chrysn-pull-requests/vfs-generic-stat
vfs: Provide generic stat implementation (and use in fatfs)
2020-10-26 00:07:04 +01:00
benpicco
d0521af974
Merge pull request #9012 from gebart/pr/frdm-kl43z
frdm-kl43z: NXP Kinetis FRDM-KL43Z development board
2020-10-26 00:06:46 +01:00
chrysn
34072175ef tests/pkg_fatfs_vfs: Test for direct stat (as opposed to fstat) 2020-10-25 17:44:32 +01:00
Joakim Nohlgård
f006938936 frdm-kl43z: NXP Kinetis FRDM-KL43Z development board
https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/kinetis-cortex-m-mcus/l-seriesultra-low-powerm0-plus/freedom-development-platform-for-kinetis-kl43-kl33-kl27-kl17-and-kl13-mcus:FRDM-KL43Z
2020-10-25 00:38:22 +02:00
José Alamos
e8721ce415
Merge pull request #15145 from fjmolinas/pr_openwsn_radio_hal
pkg/openwsn: add ieee802154_hal based radio
2020-10-23 21:26:21 +02:00
Francisco Molina
82e06ef8f4
pkg/openwsn: add ieee802154 hal based radio 2020-10-23 15:31:55 +02:00
Francisco Molina
75eee27c72
pkg/openwsn: move setting RTT_FREQUENCY 2020-10-23 15:31:53 +02:00
Bas Stottelaar
4cce485b6f tests/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
José Alamos
9fd49581e7
Merge pull request #15140 from fjmolinas/pr_tx_start_radio_hal
sys/net/ieee802154/radio: add IEEE802154_RADIO_INDICATION_TX_START
2020-10-22 16:57:27 +02:00
Francisco Molina
60fdd7b15c
tests/ieee802154_hal: set default cca params 2020-10-22 14:59:06 +02:00
Bas Stottelaar
a6b148ebe0 tests/*: remove unused assert.h include 2020-10-22 11:29:27 +02:00
Bas Stottelaar
6deaf39e5d tests/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
Francisco
5e7ee01755
Merge pull request #14345 from HendrikVE/pr/shell-exit-on-ctrl-d
sys/shell: terminate shell on Ctrl-D
2020-10-22 09:25:13 +02:00
Bas Stottelaar
5f83ee2730 tests/*: add explicit include of timex.h 2020-10-21 21:47:31 +02:00
Hendrik van Essen
7a775ecc4c tests/shell: better naming for test categories
One test was removed, because the intended test case is
already covered by check_line_exceeded
2020-10-21 17:42:55 +02:00
Hendrik van Essen
aead3162ec sys/shell: terminate shell on Ctrl-D
Ctrl-D was not caught in a special case so it was interpreted as
a standard character. Handle it now the same way like EOF and
terminate the shell instance.
2020-10-21 17:40:44 +02:00
Jose Alamos
d0192f3d18 tests/ieee802154_hal: set default CCA threshold 2020-10-20 14:24:01 +02:00
Jose Alamos
bc6d5ebe67 tests/ieee802154_hal: don't set state on config_phy 2020-10-20 14:24:01 +02:00
Jose Alamos
8af9147f02 tests/ieee802154_hal: go to RX_ON on frame receive 2020-10-20 14:24:01 +02:00
67730fa145
Merge pull request #15247 from aabadie/pr/tests/pkg_lvgl_remove_file
tests/pkg_lvgl: remove binary file added by mistake
2020-10-19 18:21:45 +02:00
749013a3fa
tests/pkg_lvgl: remove binary file added by mistake 2020-10-19 17:52:22 +02:00
Marian Buschsieweke
8319f4ac63
tests/pkg_tinycrypt: Drop whitelist
This was an ugly hack to work around broken dependency modeling. Since the
dependencies are now correctly modelled, this hack can be dropped.
2020-10-19 09:29:37 +02:00
Akshai M
977390f7f9 Kconfig/pktbuf : Fix check for "CONFIG_GNRC_PKTBUF_SIZE" 2020-10-16 16:02:03 +05:30
benpicco
0f726b17d5
Merge pull request #15228 from jia200x/pr/hal_read_func
ieee802154/radio: add `read` function
2020-10-15 21:31:10 +02:00
benpicco
ee189fa428
Merge pull request #15187 from bergzand/pr/info/add_json
info.inc.mk: Add info-build-json as JSON-formatted build info
2020-10-15 21:27:26 +02:00
e424d177d7
tests/periph_uart_nonblocking: relax allowed precision to 1.005 2020-10-15 18:52:51 +02:00