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
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