1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00

1108 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
8f55a4a0a8 boards/common/stm32: make stm32wl.cfg version agnostic 2025-11-11 15:14: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
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
crasbe
72cf71967f boards/nucleo*: create dedicated variant doc.md files 2025-10-16 14:14:46 +02: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
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
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
krzysztof-cabaj
b912b981eb boards: move licenses to SPDX format for doc.md files 2025-08-07 15:40:47 +02:00
Gunar Schorcht
9d94f7836b boards/common: add common board definitions for ESP32-C6 2025-07-28 19:14:22 +02:00
krzysztof-cabaj
96701d802e boards: rename doc.txt -> doc.md in common directory 2025-07-24 13:11:12 +02:00
krzysztof-cabaj
4c688e0ba7 boards/common: move licenses to SPDX format 2025-07-18 14:23:37 +02:00
Gunar Schorcht
4326d1b685 boards/common: add common board definitions for ESP32-H2 2025-07-04 13:51:32 +02:00
Gunar Schorcht
97711940c5 boards: common board definitions for ESP32-S2, ESP32-S2, ESP32-C3
Adds `board_common_esp32*.h` files in which definitions can be made that are common for all boards with a certain ESP32x SoC variant.
2025-05-28 17:50:40 +02:00
KSKNico
b6f77a6877 boards/common/arduino-mkr/include: removed include 2025-05-27 19:49:17 +02:00
KSKNico
09325a57de boards/common/arduino-atmega/include: fixed order of doxygen tag 2025-05-24 10:52:52 +02:00
KSKNico
0dba4a888d boards: replace header guards with #pragma once 2025-05-23 11:41:02 +02:00
Gunar Schorcht
85d65aac8a boards/common/esp32x: cleanup Arduino leftover
`arduino_pinmap` and `arduino__analog_map` are not defined any longer by the board but as a common approach in `sys/arduino/include/arduino_board*.h`. Their definition in `boards/common/esp32x` were just a leftover and forgotten in PR #19759.
2025-05-19 17:04:27 +02:00
Marian Buschsieweke
098bc8de64
Merge pull request #21395 from crasbe/pr/ada-nrfutil
boards/adafruit-{clue,itsybitsy-nrf52}: Convert to Common `adafruit-nrf52-bootloader` module
2025-05-08 09:33:31 +00:00
crasbe
a7536df2ca boards/ada-nrf52-bl: add note about Automounting for uf2conv 2025-05-08 10:46:46 +02:00
crasbe
4ee42929f0 boards/ada-nrf52-bl: add documentation about ada-nrfutil 2025-05-07 15:31:17 +02:00
crasbe
f9b0cc7711 boards/adafruit-{clue,itsybitsy-nrf52}: convert to common Ada nRF52 BL
The Adafruit Clue and Itsybitsy nRF52 also use the Adafruit nRF52
Bootloader which has a common module that can be used.
Especially the Itsybitsy nRF52 (mis)uses the nrfutil programmer
target and has a lot of redundant code.

Furthermore, the Double Tap Magic Value used by both boards
is incorrect for using the USB Bootloader.
2025-05-07 15:31:17 +02:00
mguetschow
103ab62689
Merge pull request #20023 from kfessel/p-nativ-TZ-UTC
board/native: set TZ to UTC by default
2025-04-14 08:47:13 +00:00
Karl Fessel
fd11e3eda8 board/native: add RTC at UTC documentation 2025-04-11 10:56:40 +02:00
Marian Buschsieweke
4ce7ab2133
tree-wide: fix documentation issues
This should fix compilation with -Wdocumentation on LLVM.
2025-04-10 13:37:13 +02:00
Karl Fessel
ffcfc56fd2 board/native: add information about the use of UTC 2025-04-04 13:18:53 +02:00
Mikolai Gütschow
8a5f047c26
boards/feather-nrf52840*: rename to adafruit-feather-nrf52840-* 2025-04-04 11:12:49 +02:00
Karl Fessel
0574878d97 board/native: set TZ to UTC by default 2025-04-03 13:48:17 +02:00
Marian Buschsieweke
1f3a693473
Merge pull request #21338 from crasbe/pr/nucleo64-spiled-warning
boards/nucleo64: Add Compile Warning about LED0 when using SPI
2025-04-02 09:18:03 +00: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
crasbe
a74927ff5b boards/nucleo64: add compile warning about LED0 when using SPI 2025-04-01 14:42:33 +02:00
Mikolai Gütschow
cf3a84ddfa
boards/native*: update documentation 2025-04-01 12:39:14 +02:00
Mikolai Gütschow
ed19204fb5
boards/native*: move common code to boards/common/native
Co-Authored-By: Oleg Hahm <oleg@riot-os.org>
2025-04-01 12:39:14 +02:00
crasbe
cee150dff7 boards/common/seeedstudio-xiao-nrf52840: add macro docs 2025-03-31 15:34:34 +02:00
crasbe
64ecd32965 boards/seeedstudio-xiao-nrf52840-sense: add initial support 2025-03-31 15:34:34 +02:00
crasbe
b903161663 boards/seeedstudio-xiao-nrf52840: move files to common folder 2025-03-31 15:33:41 +02:00
crasbe
3a8d3c5c4d boards: adapt boards with ada-nrf52-bl to common makefiles 2025-03-26 17:12:15 +01:00
mguetschow
75e22e53e8
Merge pull request #21281 from crasbe/pr/ada_nrf52_bootloader
boards/common: Make Adafruit nRF52 Bootloader shared
2025-03-25 17:40:40 +00:00
crasbe
ebcb656d8a boards/common/ada-nrf52-bootl: refactor and enhance documentation 2025-03-21 15:20:10 +01:00