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

1089 Commits

Author SHA1 Message Date
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
crasbe
f8c9df35ad boards/common/ada-nrf52-bootl: keep SoftDevice by default, add SD doc 2025-03-21 15:19:50 +01:00
Benjamin Valentin
ad02bb1ecc boards/common/esp32s3: provide stdio_esp32s3_default.dep.mk 2025-03-20 16:10:09 +01:00
Benjamin Valentin
233a62b792 boards: move to stdio_default 2025-03-20 16:10:09 +01:00
crasbe
15afdcf9c7 boards/feather-nrf52840*: update documentation for common bootloader 2025-03-14 22:04:16 +01:00
crasbe
250b3bdc81 boards/feather-nrf52840*: move common files to bootloader folder 2025-03-14 22:04:16 +01:00
Mikolai Gütschow
9a45c30222
examples: shorten subfolders' names 2025-02-21 09:55:24 +01:00
krzysztof-cabaj
a2dfd78b27 treewide: fix double the in doc and comments 2025-02-18 13:25:02 +01:00
Mikolai Gütschow
ca5fe72bf8
treewide: fix example references in docs
adapt to folder structure from #21135
2025-02-14 19:14:22 +01:00
Martine S. Lenders
d892c2cc8f
common/particle-mesh: add support for saul_bat_voltage 2024-11-22 18:42:29 +01:00
Marian Buschsieweke
5381b6187f
boards/wemos-zero: fix Arduio I/O Map
Two pins were incorrectly mapped because D2 and D4 are swapped on the
WeMos zero compared to the Arduino Zero. This takes the difference
into account.
2024-11-19 13:12:03 +01:00
crasbe
168829f865 boards/nrf52: always recover device before flashing with OpenOCD 2024-11-08 16:04:35 +01:00
Benjamin Valentin
0047222124 boards/saml10-xpro: enable ATECC508A 2024-10-16 16:44:20 +02:00
Marian Buschsieweke
cbf06649aa
boards/common/arduino-zero: Add Arudino SPI mapping
The Arduino Zero based boards already provided the feature
`arduino_spi`, but were missing the corresponding mapping. This fixes
the issue by adding the SPI bus numbers for the ISP SPI bus and the
D11D12D13 SPI bus.

(And in order to actually add the D11D12D13 SPI bus, the `periph_conf.h`
was extended to provide an SPI configuration for it.)
2024-10-01 18:27:33 +02:00
Dylan Laduranty
82ce32ee10 boards/saml1x: convert bitfields to new masks name
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-09-08 15:17:34 +02:00
chrysn
7ea574fd20 boards/particle-xenon: Don't provide LED[012] if they are used by SAUL
Otherwise they show as provided but do not have any effect.
2024-08-26 11:12:51 +02:00
Marian Buschsieweke
97b91b4f8f
boards/stm32: use GPIO LL for LEDs
This fixes a race in `LED<NUM>_TOGGLE`, which is a read-copy-write
operation. Any access to a GPIO pin on the same GPIO port that
happens concurrently could result in data corruption. Using the
GPIO LL API, which is thread-safe, fixes the issue.

Note: The used GPIO LL functions will work even in when the GPIO LL
      module is not used.
2024-08-02 09:55:24 +02:00
Marian Buschsieweke
36e8526046
drivers/periph_gpio_ll: change API to access GPIO ports
The API was based on the assumption that GPIO ports are mapped in memory
sanely, so that a `GPIO_PORT(num)` macro would work allow for constant
folding when `num` is known and still be efficient when it is not.

Some MCUs, however, will need a look up tables to efficiently translate
GPIO port numbers to the port's base address. This will prevent the use
of such a `GPIO_PORT(num)` macro in constant initializers.

As a result, we rather provide `GPIO_PORT_0`, `GPIO_PORT_1`, etc. macros
for each GPIO port present (regardless of MCU naming scheme), as well as
`GPIO_PORT_A`, `GPIO_PORT_B`, etc. macros if (and only if) the MCU port
naming scheme uses letters rather than numbers.

These can be defined as macros to the peripheral base address even when
those are randomly mapped into the address space. In addition, a C
function `gpio_port()` replaces the role of the `GPIO_PORT()` and
`gpio_port_num()` the `GPIO_PORT_NUM()` macro. Those functions will
still be implemented as efficient as possible and will allow constant
folding where it was formerly possible. Hence, there is no downside for
MCUs with sane peripheral memory mapping, but it is highly beneficial
for the crazy ones.

There are also two benefits for the non-crazy MCUs:
1. We can now test for valid port numbers with `#ifdef GPIO_PORT_<NUM>`
    - This directly benefits the test in `tests/periph/gpio_ll`, which
      can now provide a valid GPIO port for each and every board
    - Writing to invalid memory mapped I/O addresses was treated as
      triggering undefined behavior by the compiler and used as a
      optimization opportunity
2. We can now detect at compile time if the naming scheme of the MCU
   uses letters or numbers, and produce more user friendly output.
    - This is directly applied in the test app
2024-08-02 09:55:24 +02:00
Mikolai Gütschow
bb97445b20
boards/*: include periph/gpio.h in board.h 2024-07-12 15:02:43 +02:00
Marian Buschsieweke
798793e60a
build system: add netif_openwsn feature
Boards / MCUs now provide the newly introduced  netif_openwsn feature
if they have a network interface supported by OpenWSN.
2024-05-27 22:56:37 +02:00