1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-27 15:31:17 +01:00

141 Commits

Author SHA1 Message Date
Teufelchen1
b45010e6f2 drivers/dht: Remove deprecated enum 2025-07-14 12:49:12 +02:00
Gunar Schorcht
b562cbac06
Merge pull request #21498 from dpproto/21362-add-driver-max31865
drivers: add driver for MAX31865 resistance-to-digital converter
2025-06-27 12:01:26 +00:00
David Picard
49cb1a49f0 tests/drivers/max31865: test implementation 2025-06-27 09:28:25 +02:00
David Picard
c3a14457f3 drivers/max31865: implement the driver
Implement the driver for the MAX31865 RTD-to-digital converter.
2025-06-27 09:28:25 +02:00
Merlin Büge
3636d0c16d tests/drivers/{st77xx,ili9341}: fix coordinates in lcd_fill()
The lcd_fill() argument x2 (y2) must be less than dev.params->lines
(dev.params->rgb_channels) to not draw to invalid LCD coordinates.
2025-06-10 09:39:45 +02:00
Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
crasbe
876792e489
Merge pull request #10688 from gschorcht/drivers_mcp23x17
drivers: add MCP23x17 I/O expander support
2025-05-19 19:15:47 +00:00
Gunar Schorcht
a23a849aeb drivers/mcp23x17: SAUL integration 2025-05-19 16:42:14 +02:00
Gunar Schorcht
a5da14835d tests/drivers/mcp23x17: test app for MCP23x17 driver 2025-05-19 16:42:14 +02:00
Leandro Lanzieri
6247c107ba tests/drivers/mrf24j40: rename common.h
To avoid name clash, rename this application header file to
test_common.h.
2025-05-15 14:51:05 +02:00
Leandro Lanzieri
044b1f52e7 test/drivers/kw2xrf: rename common.h
To avoid name clash, rename this application header file to
test_common.h.
2025-05-15 14:51:04 +02:00
David Picard
2c97a5330f tests/drivers/abp2: test implementation 2025-05-04 10:28:59 +02:00
Marian Buschsieweke
85233b355b
tests/drivers/hm330x: use fmt_table
This replaces the vendored in `print_col_u32_dec()` with the one provided
by the `fmt_table` module.
2025-04-27 22:49:22 +02:00
Marian Buschsieweke
c05d546bca
examples,tests: Update Makefile.ci
This updates the `Makefile.ci` entries for all MSP430 boards plus a few
low end Cortex-M boards.
2025-04-16 15:25:38 +02:00
crasbe
14fc6c04cf tests/sen5x: remove KConfig file 2025-04-08 18:36:54 +02:00
crasbe
87352ee72d
Merge pull request #19955 from dprigoshij/sen5x
drivers/sen5x: Add device driver for SEN5x
2025-04-08 13:21:57 +00:00
Daniel Prigoshij
0fd9959fbb tests/driver_sen5x: Added a test case for the SEN5X driver 2025-04-08 11:22:15 +02:00
Daniel Prigoshij
3aa960ea01 drivers/sen5x: SAUL functionality imlemented 2025-04-07 13:21:30 +02:00
Marian Buschsieweke
a9703005e8
Merge pull request #21175 from maribu/tests/drivers/candev
tests/drivers/candev: minor cleanup
2025-04-06 18:23:05 +00:00
Marian Buschsieweke
780a02ef6c
tests/drivers/candev: minor cleanup
- Do not hard code the number of the CAN interface to use. (This
  also allows specifying it via make command line / environment
  variable.)
- Make less use of preprocessor and rely on compiler to eliminate dead
  branches and unused variables.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-04-06 20:19:16 +02:00
fabian18
d3d9afc9c5
Merge pull request #21365 from fabian18/pr/lis2dh12_int32_lis2dh12_wait_event
drivers/lis2dh12: int32_t lis2dh12_wait_event()
2025-04-06 12:22:12 +00:00
Fabian Hüßler
482750a67e drivers/lis2dh12: int32_t lis2dh12_wait_event() 2025-04-06 13:43:07 +02:00
Mikolai Gütschow
8a5f047c26
boards/feather-nrf52840*: rename to adafruit-feather-nrf52840-* 2025-04-04 11:12:49 +02:00
Marian Buschsieweke
ca781c2f12
Merge pull request #21242 from mguetschow/native-alias
boards: introduce board alias and make native default to host target
2025-04-02 09:14:12 +00:00
Mikolai Gütschow
69c15e1754
boards: make BOARD=native an alias for BOARD=native32 2025-04-01 12:39:06 +02:00
mguetschow
d2fbe23e78
Merge pull request #21112 from KSKNico/tm1637
drivers/tm1637: add driver and tests for tm1637 7-segment display
2025-03-25 13:49:02 +00:00
KSKNico
c27420418f drivers/tm1637: tests for the tm1637 7-segment display 2025-03-25 14:03:44 +01:00
Marian Buschsieweke
a9ff36d68e
tests/drivers/candev: Drop SAME54-XPRO hack
Now that power management of the CAN transceiver is done by the driver,
we do no longer need a per-board hack in the app.
2025-03-12 16:05:40 +01:00
krzysztof-cabaj
a2dfd78b27 treewide: fix double the in doc and comments 2025-02-18 13:25:02 +01:00
Gilles DOFFE
27fca7748a tests/drivers/candev: rework blacklisted boards
Update BOARD_INSUFFICIENT_MEMORY, stm32f030f4-demo is now usable with
candev example.

Signed-off-by: Gilles DOFFE <gilles.doffe@rtone.fr>
2025-02-10 17:20:58 +01:00
Gilles DOFFE
0bf08aa89b tests/conn_can: make test support CAN FD
Increase Shell buffer size for 64 bytes payload length of CAN FD frame.
This also implies to increase main thread stack size and especially for
native architectures.
Add two new sub-commands to test_can command:
* fdsend: to send a CAN FD frame
* fdsendrtr: to send a CAN FD RTR frame (payload length = 0).

Signed-off-by: Gilles DOFFE <gilles.doffe@rtone.fr>
2025-01-29 20:51:23 +01:00
Gilles DOFFE
f6f6f6973c can: introduce typedef can_frame_t
Whole CAN code in RIOT is using 'struct can_frame' to represent a CAN
frame.
However incoming CAN FD support will bring 'struct canfd_frame' to
represent CAN FD frames.
Even if the 'struct canfd_frame' has additional flags and a bigger
payload, it is aligned on 'struct can_frame' and thus they can be
referenced by the same pointers in the code.

As it is impossible to predict which one will be used in RIOT, just
define a new type 'can_frame_t' which will map to the right struct
according to the MCU CAN supported format.

Signed-off-by: Gilles DOFFE <gilles.doffe@rtone.fr>
2025-01-29 20:51:22 +01:00
Gilles DOFFE
ae51a22fbb can: use frame len instead of can_dlc
RIOT implementation of CAN bus relies on SocketCAN model.
Since commit c398e56 (can: add optional DLC element to Classical CAN
frame structure), '__u8 can_dlc' attribute of struct can_frame is
considered as deprecated in SocketCAN and kept for legacy support.
Attribute '__u8 len' should be used instead.

	union {
		/* CAN frame payload length in byte (0 .. CAN_MAX_DLEN)
		 * was previously named can_dlc so we need to carry that
		 * name for legacy support
		 */
		__u8 len;
		__u8 can_dlc; /* deprecated */
	};

Moreover, CAN FD frame structure does not support legacy attribute
'can_dlc', making 'len' mandatory for incoming CAN FD support in RIOT.

	struct canfd_frame {
		canid_t can_id;  /* 32 bit CAN_ID + EFF/RTR/ERR flags */
		__u8    len;     /* frame payload length in byte */
		__u8    flags;   /* additional flags for CAN FD */
		__u8    __res0;  /* reserved / padding */
		__u8    __res1;  /* reserved / padding */
		__u8    data[CANFD_MAX_DLEN]
__attribute__((aligned(8)));
	};

Signed-off-by: Gilles DOFFE <gilles.doffe@rtone.fr>
2025-01-29 20:51:22 +01:00
mguetschow
4321173610
Merge pull request #20982 from Lukas-Luger/pr/nrf802154-beacon
cpu/nrf52/radio/nrf802154: fix beacon acceptance
2025-01-28 18:37:28 +00:00
lulu254b
bef67c8a51 tests/drivers/nrf802154: test if Beacons can be received 2025-01-28 19:28:34 +01:00
Kevin "Tristate Tom" Weiss
9fc5a92587
Merge pull request #21146 from MrKevinWeiss/pr/remotewaspmote
boards/waspmote-pro: Remove after the deprecation period
2025-01-20 21:38:54 +00:00
MrKevinWeiss
b5dadde19b
boards/waspmote-pro: Remove after the deprecation period 2025-01-20 20:55:21 +01:00
Marian Buschsieweke
e68d69f85e
tests/drivers/candev: prefer periph_can when available
This changes the app config to prefer periph_can whenever that feature
is provided, and fall back to mcp2515 as default if not.
2025-01-20 15:55:53 +01:00
benpicco
77c4a24bcf
Merge pull request #20938 from derMihai/mir/fix_runqueue_pop
core/sched.c: fix _runqueue_pop() removing wrong thread
2024-11-14 12:05:45 +00:00
Mihai Renea
ba71ba72a3 core/sched.c: fix _runqueue_pop() removing wrong thread 2024-11-14 11:05:40 +01:00
Virgile Robles
7c68f00cd1 drivers/dht: test and doc 2024-10-21 15:13:23 +02:00
Benjamin Valentin
312a550f1a treewide: remove THREAD_CREATE_STACKTEST from thread creation 2024-07-29 11:45:58 +02:00
benpicco
5096c2419e
Merge pull request #20750 from mguetschow/tests-pn532
tests/drivers/pn532: fix init error handling and increase verbosity
2024-06-14 10:49:22 +00:00
Mikolai Gütschow
81494bac9f
tests/drivers/pn532: fix init error handling and increase verbosity 2024-06-13 14:52:08 +02:00
Leandro Lanzieri
b092f954bb
tests/drivers: add max31855 test application 2024-06-12 15:09:16 +02:00
LP-HAW
134d84401d drivers/w5500: remove Kconfig 2024-06-05 16:30:59 +02:00
Mihai Renea
5a7d553b8e drivers/at: expose some internal API 2024-05-28 12:20:54 +02:00
Marian Buschsieweke
4131abd2ae
Merge pull request #20685 from maribu/tests/drop-kconfig-workaround
tests: drop temporary KConfig workaround
2024-05-24 18:46:36 +00:00
Marian Buschsieweke
cbcf568263
tests: drop temporary KConfig workaround
The board white list was needed as temporary workaround during the
KConfig migration. As the migration was aborted, the workaround should
no longer be needed.

Partially fixes https://github.com/RIOT-OS/RIOT/issues/20680
2024-05-24 18:07:28 +02:00
Firas Hamdi
31003bf323 tests/drivers/candev: add debug output concerning errors 2024-05-16 15:00:28 +02:00