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

6574 Commits

Author SHA1 Message Date
krzysztof-cabaj
f24254620c boards/nucleo-g070rb: add MCU table to doc page 2024-08-20 20:48:19 +02:00
krzysztof-cabaj
9da68b0b61 boards/nucleo-g071rb: add pinout to documentation page 2024-08-19 14:39:55 +02:00
krzysztof-cabaj
8f3ca72681 boards/nucleo-g070rb: add pinout to documentation page 2024-08-19 14:12:35 +02:00
krzysztof-cabaj
03c700f1d6 boards/nucleo-f439zi: add full ADC config and doxygen doc 2024-08-16 13:04:15 +02:00
krzysztof-cabaj
7f97c2143e boards/nucleo-f439zi: add initial ADC support 2024-08-16 10:00:23 +02:00
krzysztof-cabaj
ba3878050a boards/stm32l0538-disco: add pinout to documentation page 2024-08-09 12:01:57 +02:00
krzysztof-cabaj
abc46d7538 boards/stm32l476g-disco: add pinout to documentation page 2024-08-07 11:06:09 +02:00
benpicco
cf1bb15c86
Merge pull request #20807 from krzysztof-cabaj/stm32l476g-PWM
boards/stm32l476g-disco: add PWM support
2024-08-05 19:10:11 +00:00
krzysztof-cabaj
72f8a8f268 boards/stm32l476g-disco: add PWM config and doxygen doc 2024-08-05 17:48:20 +02:00
Marian Buschsieweke
22df6cc6e3
Merge pull request #20804 from krzysztof-cabaj/nucleo-l053r8-DOC
boards/nucleo-l053r8: MCU table addition to doc page
2024-08-05 14:09:53 +00:00
krzysztof-cabaj
b2ef0c67d7 boards/stm32l476g-disco: add initial PWM config 2024-08-05 16:07:04 +02:00
Marian Buschsieweke
5a02899457
boards/weact-g030f6: fix use with stdio_rtt
Running

    USEMODULE=stdio_rtt make BOARD=weact-g030f6 -C ... flash term

failed due the programmer not being specified by the time the serial
is configured:

    makefiles/tools/serial.inc.mk:44: "Warning: No RIOT_TERMINAL set,
    but using stdio_rtt: The default terminal is likely not to work."

This reorders the setup of the board to first configure the programmer
and then the serial, so that using stdio_rtt now works out of the box.
2024-08-04 10:28:41 +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
krzysztof-cabaj
95102fdbe6 boards/nucleo-l053r8: MCU table addition to doc page 2024-08-02 09:04:59 +02:00
krzysztof-cabaj
c1a33faeb5 boards/stm32l476g-disco: add doxygen doc to ADC config 2024-07-19 12:29:34 +02:00
krzysztof-cabaj
098a34452a boards/stm32l476g-disco: add ADC support 2024-07-19 11:50:39 +02:00
Mikolai Gütschow
bb97445b20
boards/*: include periph/gpio.h in board.h 2024-07-12 15:02:43 +02:00
Dylan Laduranty
e1e5f75b18
Merge pull request #20773 from crasbe/pr/wb55_adc
cpu/stm32: add ADC support for WB55
2024-07-08 09:33:52 +00:00
crasbe
25b3a580b6 boards/p-nucleo-wb55: enable ADC support 2024-07-08 11:19:00 +02:00
krzysztof-cabaj
02ecded5ae boards/nucleo-l452re: add doxygen doc to ADC 2024-07-06 12:27:51 +02:00
krzysztof-cabaj
00114972ab boards/nucleo-l452re: add ADC support 2024-07-06 12:20:23 +02:00
krzysztof-cabaj
194e18cf44 boards/stm32l0538-disco: doc improvements 2024-06-28 16:35:48 +02:00
krzysztof-cabaj
a6a731d300 boards/stm32l0538-disco: doc update 2024-06-26 15:05:36 +02:00
krzysztof-cabaj
0e080e3c67 boards/stm32l0538-disco: enable cpy2remed programmer 2024-06-26 14:54:21 +02:00
Leandro Lanzieri
fd4110b1c5
boards/nucleo-f103rb: add ADC configuration 2024-06-25 13:17:26 +02:00
krzysztof-cabaj
7b5b265c88 boards/stm32l476g-disco: fix MCU table 2024-06-17 12:08:39 +02:00
krzysztof-cabaj
85e4c36fd6 boards/nucleo-l476rg: fix MCU table 2024-06-17 12:08:39 +02:00
krzysztof-cabaj
0082755eaa boards/stm32l476g-disco: add board doc page 2024-06-07 12:17:51 +02:00
krzysztof-cabaj
4ae90aaae6 boards/stm32l476g-disco: enable cpy2remed 2024-06-07 11:28:07 +02:00
gzordrai
c6d7b13a0a boards/b-l072z-lrwan1: add missing adc feature 2024-06-06 01:17:51 +02:00
mguetschow
2576649b52
Merge pull request #20700 from maribu/features/netif-cleanup
build system: clean up netif features
2024-06-03 12:40:35 +00:00
benpicco
266a8405e9
Merge pull request #20717 from krzysztof-cabaj/nucleo-f303ze-pinout
boards/nucleo-f303ze: add pinout
2024-06-03 11:59:19 +00:00
Marian Buschsieweke
47f52bd750
build system: provide netif_ethernet implicitly
If there is an Ethernet peripheral (periph_eth feature provided), we
can conclude that an Ethernet network interface can be provided.

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2024-06-03 12:25:21 +02:00
Dylan Laduranty
a67793d601
Merge pull request #20279 from keestux/add-sara-sff-status
boards/sodaq-sara-sff: add status pin for SARA
2024-06-01 20:47:45 +00:00
Kees Bakker
08862b2e65 boards/sodaq-sara-sff: add status pin for SARA 2024-06-01 14:04:09 +02:00
krzysztof-cabaj
64a6adef84 boards/nucleo-f303ze: add pinout diagram to documentation page 2024-05-31 19:43:41 +02:00
krzysztof-cabaj
0d5b3a2cd4 boards/nucleo-l496zg: add pinout to board documentation 2024-05-29 11:47:26 +02:00
krzysztof-cabaj
ea1dfbc8d3 boards/nucleo-l4r5zi: add pinout to board doc page 2024-05-29 09:47:52 +02:00
Marian Buschsieweke
9187d16c78
features.yaml: s/esp_eth/periph_eth/
Use periph_eth instead of esp_eth for the Ethernet peripheral on ESP
MCUs for consistency
2024-05-28 20:59:29 +02:00
Marian Buschsieweke
8e375548ad
build system: provide netif feature implicitly
If a board already provided a netif_% feature (currently only
netif_ethernet), the netif feature is automagically provided.
2024-05-28 20:53:52 +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
Marian Buschsieweke
8ebc102780
build system: rename ethernet feature into netif_ethernet
The `ethernet` feature has not yet been used, so renaming it should not
cause any issue.

The goal is to eventually have a number of `netif_<type>` features that
would allow filtering boards by the time of connectivity the have.
2024-05-24 22:38:59 +02:00
krzysztof-cabaj
2bf93b6fed boards/nucleo144: fix I2Cs row name in MCU tables 2024-05-24 11:02:14 +02:00
benpicco
3f29f88743
Merge pull request #20668 from bmewen/master
boards/arduino-nano-33-ble-sense: add support for arduino-nano-33-ble-sense
2024-05-23 15:21:40 +00:00
Marian Buschsieweke
77dfc7e2a5
boards/esp32*: move saul_gpio dep to board level
The ESP32 Ethernet Kit has only a single GPIO pin exposed to SAUL via
`saul_gpio`, but that GPIO doubles as PHY clock input when `esp32_eth`
is used. Hence, the `saul_gpio` dep should be optional and only kick
in when `esp32_eth` is not used.
2024-05-22 13:38:33 +02:00
Marian Buschsieweke
97a6543c10
tree-wide: Introduce netif feature and use it
This gets rid of a long list of boards with network interfaces and
instead let's boards (or MCUs with peripheral network interfaces)
provide the netif feature.

The apps that before used the long list are not depending on the
feature instead (in case of the default example, this is an
optional dependency).

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
Co-authored-by: mewen.berthelot <mewen.berthelot@orange.com>
2024-05-22 10:39:56 +02:00
krzysztof-cabaj
c634b52115 boards/nucleo-l452re: add pinout to the board documentation page 2024-05-17 11:11:32 +02:00
mewen.berthelot
368543b6dd boards/arduino-nano-33-ble-sense: add support for arduino-nano-33-ble-sense 2024-05-16 15:42:30 +02:00
krzysztof-cabaj
d6d22dd97d boards/nucleo-f722ze: doc update 2024-05-14 23:04:02 +02:00
Joshua DeWeese
4ed36bf871 boards/nucleo-f767zi: increase ADC clock speed
This patch increases the board's ADC clock speed to the MCU's maximum
speed.
2024-05-10 22:07:11 -04:00
benpicco
9614813ba7
Merge pull request #20653 from krzysztof-cabaj/doc-boards-editorial-fixes
doc/boards: fix minor editorial mistakes
2024-05-09 08:17:59 +00:00
krzysztof-cabaj
e4d7331398 boards/nucleo-u575zi-q: fix wrong board number - l552ze-q to u575zi-q 2024-05-07 17:11:57 +02:00
krzysztof-cabaj
a3a9c9142e boards/c031c6: add pinout to board doc page 2024-05-07 15:46:16 +02:00
krzysztof-cabaj
bbe25cd247 boards/stm32f469i-disco: fix inch sign which corrupts bottom of doc 2024-05-07 09:59:31 +02:00
Marian Buschsieweke
751d96fe04
Merge pull request #20643 from maribu/mulle/fixup
boards/mulle: fix flashing
2024-05-06 13:49:54 +00:00
Marian Buschsieweke
08cdf37908
Merge pull request #20649 from maribu/boards/waspmote-pro/deprecate
boards/waspmote-pro: deprecate board
2024-05-06 13:49:07 +00:00
Dylan Laduranty
2d5e453c7c
Merge pull request #20621 from dylad/pr/sam0/doc_update
boards: Update SAM0-based documentation
2024-05-06 11:41:40 +00:00
krzysztof-cabaj
5f5181e36d boards/nucleo-f767zi: fix missing ending bracket in ADCs descritpion 2024-05-06 11:11:57 +02:00
Dylan Laduranty
c68b1fea7f boards/samd20-xpro: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-06 10:21:48 +02:00
Dylan Laduranty
ff8aa43c94 boards/samd10-xmini: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-06 10:21:41 +02:00
Dylan Laduranty
b0ecfaebb0 boards/samd21-xpro: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-06 10:21:41 +02:00
Dylan Laduranty
82c7c6053d boards/same54-xpro: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-06 10:21:41 +02:00
Dylan Laduranty
b97167210a boards/saml21-xpro: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-06 10:21:41 +02:00
Dylan Laduranty
2dcc97307f boards/saml11-xpro: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-06 10:21:41 +02:00
Dylan Laduranty
9e1c2ec865 boards/samr21-xpro: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-06 10:21:41 +02:00
Dylan Laduranty
e06ee0c610 boards/saml10-xpro: update board documentation
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-05-06 10:21:41 +02:00
Marian Buschsieweke
fdba678045
boards/waspmote-pro: deprecate board
The board has history of bugs that (such as broken timer configuration)
that would directly bite any users, but still have gone unnoticed for
significant time periods due to lack of testing. It appears, that none
of the core contributors has access to the boards and the number of
users is limited.
2024-05-06 09:29:16 +02:00
Marian Buschsieweke
3375899e72
boards/mulle: add JLINK_DEVICE 2024-05-01 21:01:43 +02:00
Marian Buschsieweke
65d2e161c3
boards/mulle: add TTY_BOARD_FILTER 2024-05-01 21:01:43 +02:00
Marian Buschsieweke
0fd649de67
boards/mulle: fix OpenOCD config
- use JTAG instead of SWD to restore old behavior
- replace deprecated configuration names with new ones
2024-05-01 21:01:43 +02:00
Marian Buschsieweke
a620a3c27f
Merge pull request #20573 from maribu/boards/waspmote-pro
boards/waspmote-pro: fix ztimer config
2024-04-30 16:55:47 +00:00
Marian Buschsieweke
162bb6eb41
boards/waspmote-pro: fix ztimer config 2024-04-30 18:44:45 +02:00
benpicco
772bc7a876
Merge pull request #20617 from Enoch247/simplify-stm32-ifdefs
boards/common/stm32: simplify ifdef logic
2024-04-24 12:57:47 +00:00
Joshua DeWeese
3152301c3f boards/common/stm32: simplify ifdef logic 2024-04-23 16:31:01 -04:00
benpicco
34222e1451
Merge pull request #20614 from krzysztof-cabaj/nucleo144-pinouts
boards/nucleo144: add pinout diagrams to boards documentation
2024-04-23 19:57:25 +00:00
Joshua DeWeese
fe3a6ba462 boards/common/nucleo144: revert waitespace changes
This commit reverts the whitespace changes from commit
53d53d8cc8
2024-04-23 11:13:48 -04:00
krzysztof-cabaj
9db2603203 boards/nucleo144: add pinout to doc page for 412zg and 413zh 2024-04-23 15:41:41 +02:00
krzysztof-cabaj
ec6de471d6 boards/nucleo144: add pinout to doc for f207, f429, f439 and f767 2024-04-23 12:10:22 +02:00
krzysztof-cabaj
cbf48bbe5c boards/nucleo144: add pinout to doc page for f446ze and f722ze 2024-04-23 10:45:41 +02:00
Marian Buschsieweke
a8ffb340fc
Merge pull request #20599 from crasbe/pr/nrf52840_jlink
boards/nRF52xx: correctly set JLINK_DEVICE
2024-04-22 11:53:15 +00:00
crasbe
6f0e81fb34 boards/nRF52xx: correctly set JLINK_DEVICE 2024-04-22 11:25:08 +02:00
chrysn
169671dccf boards/doc: Explicitly warn when nRF chips are advertised as NFC supporting 2024-04-21 20:17:00 +02:00
chrysn
5b01060f28 boards/doc: Adafruit Feather nRF52840 Sense is popular 2024-04-19 11:05:53 +02:00
Karl Fessel
4a7dc817d7
Merge pull request #20594 from krzysztof-cabaj/nucleo-f429zi-f439zi-DOC
boards/nucleo-f429zi & f439zi: documentation improvements
2024-04-18 19:48:20 +00:00
krzysztof-cabaj
01a171ec1f boards/nucleo-f439zi: doc update - MCU table and shell access 2024-04-17 19:40:27 +02:00
Marian Buschsieweke
fc271ea198
Merge pull request #20562 from MrKevinWeiss/pr/saulrgb
drivers/ws281x: Add saul support
2024-04-17 08:00:51 +00:00
krzysztof-cabaj
a9b9bf30d4 boards/nucleo-f429zi: minor MCU table updates 2024-04-16 10:12:28 +02:00
Marian Buschsieweke
fc6e35fa54
boards/stm32f4discovery: update and clean up doc
Most importantly, this fixes outdated statements about stdio, which
now by default is over USB rather than UART.
2024-04-16 10:04:23 +02:00
Marian Buschsieweke
43fa3bcfa7
boards/olimex-msp430-h2618: fix ztimer config
The MSP430 timer prescaler can device the 16 MHz clock down to
(16 / 2^x) MHz, with 0 <= x < 4. So no slower than 2 MHz.

With the current ztimer config the clock would run at twice the speed.
2024-04-14 20:26:19 +02:00
MrKevinWeiss
8a15b8c5a1
boards/feather-nrf52840-sense: Expose saul ws281x 2024-04-11 11:43:24 +02:00
Teufelchen1
c8d5fe2352 boards/cpu: Add limited GBA boot support to RIOT 2024-04-10 17:06:14 +02:00
Dylan Laduranty
3e7bda9584
Merge pull request #20556 from krzysztof-cabaj/nucleo-f767zi-DOC
boards/nucleo-f767zi: doc update
2024-04-09 13:45:47 +00:00
Dylan Laduranty
f7d0523295 boards/nrf9160dk: enable internal pullup on buttons
Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
2024-04-08 20:22:22 +02:00
krzysztof-cabaj
f648886d87 boards/nucleo-f767zi: doc update 2024-04-08 14:16:22 +02:00
MrKevinWeiss
cc1ac9e0ee
boards/feather-nrf52840-sense: Add WS281X_PARAM_PIN 2024-04-08 11:23:58 +02:00
MrKevinWeiss
99daaec648
boards/feather-nrf52840-sense: use generic lsm6dsxx
This will help handle multiple board variants such as rev B and C.
2024-04-02 11:15:26 +02:00
benpicco
ad51739c26
Merge pull request #20521 from Ollrogge/rtc_support
cpu/stm32u5: Enable rtc support
2024-04-01 19:06:06 +00:00
Ollrogge
013e884550 cpu/stm32u5: Enable rtc support 2024-03-29 10:19:42 +01:00
benpicco
c694158647
Merge pull request #20520 from krzysztof-cabaj/nucleo-c031c6-PWM
boards/nucleo-c031c6: add PWM configuration
2024-03-28 16:56:53 +00:00