1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

6865 Commits

Author SHA1 Message Date
crasbe
9c578c845e
Merge pull request #21835 from crasbe/pr/esp32_common_module
boards: migrate ESP32 based boards to common board module system
2025-11-18 11:33:21 +00:00
crasbe
9d3cfc2aca boards: migrate ESP32 based boards to common board module system 2025-11-18 12:21:52 +01:00
crasbe
c5b5af99c3 boards/lora-e5-dev: make OpenOCD config version agnostic 2025-11-11 15:21:11 +01:00
crasbe
8f55a4a0a8 boards/common/stm32: make stm32wl.cfg version agnostic 2025-11-11 15:14:51 +01:00
crasbe
0a25bdb9db
Merge pull request #21861 from crasbe/pr/cc2xxxx_dead_links
boards/{cc2538dk,cc2650stk}: Fix Dead Links in Documentation
2025-11-09 12:22:50 +00:00
crasbe
7c00e24607 boards/{cc2538dk,cc2650stk}: fix dead links 2025-11-09 13:14:10 +01:00
benpicco
d450db4a51
Merge pull request #21829 from crasbe/pr/seeedstudio-xiao-esp32s3
boards/seeedstudio-xiao-esp32s3: Add Initial Support [new PR]
2025-11-07 18:58:23 +00:00
Isikcan Yilmaz
483dae014d boards/seeedstudio-xiao-esp32s3: initial support 2025-11-07 19:26:07 +01:00
crasbe
b1256ffb1b
Merge pull request #21837 from crasbe/pr/nucleo-wl55jc-rtc-support_new
boards/nucleo-wl55jc, cpu/stm32: enable RTC support, increase RTC accuracy
2025-11-07 08:16:46 +00:00
crasbe
5c12ed9dbb boards/lora-e5-dev: enable RTC peripheral 2025-11-06 19:38:51 +01:00
Kasper Hjort Berthelsen
07cca537ff boards/nucleo-wl55jc: enable RTC peripheral 2025-11-06 19:38:51 +01:00
crasbe
f366153e0b boards: don't show pin conflict warnings for info and generate targets 2025-11-06 16:46:55 +01:00
Gilles DOFFE
22c6b2b36e boards/native: remove redundant ztimer configuration
Remove redundant macros since CONFIG_ZTIMER_USEC_TYPE and
CONFIG_ZTIMER_USEC_DEV were already set to their default values.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2025-10-30 08:20:21 +01:00
Gilles DOFFE
5f41e82ce2 boards/crazyflie21: migrate to motor_driver_params.h
Migrate motor driver configuration from inline definition in board.h to
the new board-specific motor_driver_params.h header file.

The old approach defined motor_driver_config[] directly in board.h and
unconditionally included motor_driver.h, causing compilation failures
for applications that do not use the motor_driver module.

This allows the motor driver header to be included only when the module
is actually used, while board-specific parameters take precedence over
driver defaults due to include path ordering.

Configuration migrated:
- Driver 0: PWM device 1, 3 motors (channels 1, 3, 0)
- Driver 1: PWM device 2, 1 motor (channel 0)
- Mode: MOTOR_DRIVER_1_DIR with inverted brake for both drivers

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2025-10-30 08:20:21 +01:00
Gilles DOFFE
f33b5097ce boards/nucleo64: clean motor_driver old configuration
The motor_driver module has been reworked in a previous commit to be
compliant with RIOT device driver guide.
Thus declaration in board.h is no more needed and should not work
anymore.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2025-10-30 08:20:21 +01:00
Gilles DOFFE
66dfd2a4d1 boards/native: clean motor_driver old configuration
The motor_driver module has been reworked in a previous commit to be
compliant with RIOT device driver guide.
Thus declaration in board.h is no more needed and should not work
anymore.

Moreover the driver test was calling a callback specific to the native
architecture to simulate the native QDEC periph driver according to
motors speed. This is not relevant as a test should only test the
feature it has been developed for.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2025-10-30 08:20:21 +01:00
Gilles DOFFE
fc7f3cac4a drivers/motor_driver: rework driver
The motor_driver device driver is developed as a periph driver and it
should not.
Make this driver compliant with RIOT device driver development guide
[1].
Also make some cleanups and fix some typos.

[1] https://doc.riot-os.org/driver-guide.html

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
Co-authored-by: crasbe <crasbe@gmail.com>
2025-10-30 08:20:21 +01:00
Benjamin Valentin
88bd202031 treewide: adapt GNRC example paths in documentation 2025-10-29 15:10:43 +01:00
crasbe
365f157a5b
Merge pull request #21776 from crasbe/pr/stm32c0-dk_new
boards: add STM32C0116-DK and STM32C0316-DK [new PR]
2025-10-20 13:03:36 +00:00
Jason Parker
be12930ae3 boards/stm32c0316-dk: initial support 2025-10-20 14:57:03 +02:00
Jason Parker
d5ee4f7c75 boards/stm32c0116-dk: initial support 2025-10-20 14:57:03 +02:00
krzysztof-cabaj
0be6d90919 boards/nucleo-f303k8: add board pinout 2025-10-17 16:22:58 +02:00
crasbe
b6931afd15 boards/nucleo-*: migrate to Flashing Guide, point to common doc 2025-10-16 14:14:46 +02:00
crasbe
9fbb80a3e0 boards/p-nucleo-wb55: change group to boards_common_nucleo64 2025-10-16 14:14:46 +02:00
crasbe
72cf71967f boards/nucleo*: create dedicated variant doc.md files 2025-10-16 14:14:46 +02:00
crasbe
5afe64ec79
Merge pull request #21775 from crasbe/pr/stm32c0_new
cpu, boards: add new STM32C0 and NUCLEO-C071RB [new PR]
2025-10-14 16:45:11 +00:00
krzysztof-cabaj
22346cd8e2 boards/nucleo-l031k6: improve board doc 2025-10-13 16:33:36 +02:00
krzysztof-cabaj
1339ecf408 boards/nucleo-l011k4: improve board doc 2025-10-11 18:09:50 +02:00
Jason Parker
e6e6b11caf boards/nucleo-c071rb: add support 2025-10-10 12:43:17 +02:00
Jason Parker
506f01ed36 boards/nucleo-c031c6: cleanup 2025-10-10 12:42:56 +02:00
crasbe
2bdb5c04ae
Merge pull request #21689 from LeonardHerbst/crazyflie
boards: Bitcraze Crazyflie 2.1 main application board support
2025-10-07 22:15:56 +00:00
Marian Buschsieweke
9cbd344fdc
Merge pull request #21718 from maribu/cpu/stm32/usbdev_fs/inverted-disconnect-pin
cpu/stm32/usbdev_fs: allow inverted disconnect GPIO
2025-10-07 18:44:07 +00:00
Marian Buschsieweke
26d8fe4383
cpu/stm32/usbdev_fs: allow inverted disconnect GPIO
The STM32F3 requires a dedicated digital signal to emulate a disconnect
event by pulling D+ down via a 1.5 kOhm resistor. Some boards, such as
the OLIMEXINO-STM32F3, do not directly connect a GPIO but place a
transistor in between. Depending on the exact implementation, the logic
level may end up being inverted compared to directly connecting a
GPIO.

This adds a flag member to the `stm32_usbdev_fs_config_t` and a new flag
to indicate inverted logic. In addition the members in the struct are
sorted by alignment, as this is a foolproof algorithm to prevent wasting
memory on unneeded padding.

Finally, the USB driver is adapted to honor the flag.

Co-authored-by: crasbe <crasbe@gmail.com>
2025-10-07 17:42:28 +02:00
mguetschow
99cd4617a5
Merge pull request #21743 from BOZHENG001/fix-rtt
nrf52/cfg_rtt_default: fix rtt min offset
2025-09-30 20:16:13 +00:00
Bozheng Pang
ee4a5b3451 nrf52/cfg_rtt_default: fix rtt min offset 2025-09-30 19:23:44 +02:00
crasbe
7a789f4af7 boards: treat JLINK_PRE_FLASH like a list 2025-09-30 19:19:47 +02:00
crasbe
c6478364a3 boards/nrf52-based: fix JLink pinreset command format 2025-09-23 15:18:49 +02:00
LeonardHerbst
f2ac773d4c boards: added support for the bitcraze Crazyflie 2.1 main application processor 2025-09-15 11:22:13 +02:00
Martine S. Lenders
08b6936255
feather-m0: add support for saul_bat_voltage
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-05 10:27:30 +02:00
Martine S. Lenders
406fef2dc5
common/particle-mesh: add output unit for saul_bat_voltage
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-05 10:26:13 +02:00
Martine S. Lenders
db5666acde
adafruit-feather-nrf52840-express: add output unit for saul_bat_voltage
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-05 10:26:13 +02:00
Martine S. Lenders
e02a8be2b7
adafruit-feather-nrf52840-sense: add output unit for saul_bat_voltage
Co-authored-by: crasbe <crasbe@gmail.com>
2025-09-05 10:26:13 +02:00
crasbe
9e3906ceac
Merge pull request #21632 from krzysztof-cabaj/boards_change_to_SPDX_part4
boards: move licenses from headers to SPDX format (part4)
2025-08-20 11:55:41 +00:00
krzysztof-cabaj
222175d193 boards: move licenses to SPDX for boards which name's start from t-z 2025-08-20 13:41:44 +02:00
krzysztof-cabaj
4223e11b3c boards: move licenses to SPDX for boards which name's start from q-r 2025-08-20 13:37:06 +02:00
krzysztof-cabaj
32f1562643 boards: move licenses to SPDX for boards which name's start with s 2025-08-20 13:36:40 +02:00
Gunar Schorcht
b889024990 boards/common/nucleo144: complete Arduino config for I2C, SPI and UART 2025-08-19 15:40:40 +02:00
Gunar Schorcht
04a0aba28a boards/common/nucleo144: fix Arduino A0...A5 config for L5, U5 boards
Nucleo144 boards for L5 and U5 have a completely different analog pin configuration. It's a very small change, but due to style changes it seems like a big change. In fact, the configuration has been changed just by adding an #ifdef ... #else ... #end and the six analog pins for L5 and U5 boards.
2025-08-19 15:40:40 +02:00
Gunar Schorcht
8f903b3291 boards/common/nucleo144: fix Arduino D14/D15 (I2C) pin config
According to user manuals the pin configuration for Arduino pins D14/D15 is PB9/PB8. The configuration was mixed up. Furthermore, I2C_DEV(1) is configured correclty with SDA=PB9 and SCL=PB8 that have to be mapped to Arduino pins D14=SDA and D15=SCL, respectively, to be compatibly with Arduino shields.
2025-08-19 13:23:23 +02:00
Gunar Schorcht
6bc840e515 boards/common/nucleo144: fix Arduino D0/D1 config for L4, L5, U5 family
On Nucleo144 boards for L4, L5, U5 Arduino connector pins D0/D1 have a different configuration. According to the User manuals for
- [L4 boards]( https://www.st.com/resource/en/user_manual/um2179-stm32-nucleo144-boards-mb1312-stmicroelectronics.pdf), D0/D1 are GPIOs PD9/PD8
- [L5 boards](https://www.st.com/resource/en/user_manual/um2581-stm32l5-nucleo144-board-mb1361-stmicroelectronics.pdf), D0/D1 are GPIOs PD9/PD8
- [U5 boards](https://www.st.com/resource/en/user_manual/um2861-stm32u5-nucleo144-board-mb1549-stmicroelectronics.pdf), D0/D1 are GPIOs PG8/PG7
2025-08-19 13:23:23 +02:00