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

4803 Commits

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