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
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01:00
Gunar Schorcht
71a97c2ee9
boards/stm32f723e-disco: enable FMC support for LCD
2023-10-12 18:19:03 +02:00
Gunar Schorcht
95d1e47b9a
boards/stm32f723e-disco: enable ST7789 display
...
fixup! boards/stm32f723e-disco: enable ST7789 display
2023-09-22 15:49:54 +02:00
Gunar Schorcht
26ed7e6955
boards/stm32f723e-disco: add touch panel conversion config
2023-08-26 17:49:29 +02:00
Gunar Schorcht
d75736b8ba
boards/stm32f723e-disco: add FMC support
...
f
2023-07-26 23:24:53 +02:00
d4b35ec172
boards: fix periph_uart_hw_fc dependency resolution
2023-06-17 15:13:19 +02:00
Gunar Schorcht
38de94d243
boards/stm32f723e-disco: add feature periph_usbdev_hs
2023-03-07 11:27:13 +01:00
Gunar Schorcht
5c38fafee4
boards/stm32f723e-disco: fix periph_uart_hw_fc use
...
Enabling module `periph_uart_hw_fc` makes only sense if module `periph_uart` is used.
2022-12-04 16:06:14 +01:00
MrKevinWeiss
464f57b4a3
boards: Remove PLL overrides in kconfig
...
Since we know the HSE speed, manual overrides are not needed anymore
2022-11-03 13:38:09 +01:00
MrKevinWeiss
17cce015d4
treewide/stm32: Make CLOCK_HS* configurable
2022-11-03 11:37:28 +01:00
Gunar Schorcht
f1bc9af67f
board/stm32f723e-dsico: enable internal UMTI USB HS PHY feature
2022-10-16 11:35:42 +02:00
Gunar Schorcht
990feeec39
boards: enable feature tinyusb_device for STM32 boards
2022-09-30 19:05:51 +02:00
Marian Buschsieweke
1fd9913293
boards/common/stm32: clean up LED definitions
...
Let boards only define the port and pin number of each LEDs. The common
definitions in `stm32_leds.h` will provide `LED<x>_ON`, `LED<x>_OFF`,
`LED<x>_TOGGLE`, `LED<x>_PIN`, `LED<x>_MASK` and `LED<x>_PORT`.
In addition to code de-duplication, this also makes it easier to use
LEDs in GPIO LL, which can be beneficial for super low overhead
debugging output - e.g. when a bug is timing sensitive and `DEBUG()`
would spent to much time for stdio to reproduce a bug.
2022-08-08 23:35:06 +02:00
fdacb1a118
boards/stm32: adapt I2C configuration where needed
2022-03-23 10:10:08 +01:00
Benjamin Valentin
5d111e71aa
boards: drop board_init() from board.h
2022-02-25 15:08:58 +01:00
Francisco Molina
464d941a3e
boards: drop empty custom board_init & empty board.c
2022-02-22 18:27:37 +01:00
Benjamin Valentin
468ea89953
boards: drop LED init
...
This is handled by periph_init_leds now
2022-02-18 14:35:43 +01:00
Leandro Lanzieri
91012bc3f9
drivers/ft5x06: remove unnecessary pseudomodules
2022-01-21 14:13:49 +01:00
Leandro Lanzieri
4eb58d74b5
drivers/ft5x06: allow multiple device types
2022-01-21 13:13:09 +01:00
c983007ec3
boards/stm32f723e-disco: pull-in ft6x06 with touch_dev
2022-01-09 16:43:35 +01:00
deeb204a14
boards/stm32f723e-disco: configure ft5x06 I2C peripheral and int pin
2022-01-09 16:43:35 +01:00
796e127df9
boards/stm32: replace GPIO_UNDEF with SPI_CS_UNDEF
2022-01-06 12:34:09 +01:00
02893420dd
boards/stm32f723e-disco: use connect_assert_srst with openocd
2022-01-03 10:50:05 +01:00
MrKevinWeiss
deda2cfb97
boards: Fix stm32 based boards kconfig models
2021-12-15 09:31:45 +01:00
Leandro Lanzieri
df7ce1c647
makefiles/kconfig: use two lists for boards and CPUs default configs
...
This introduces KCONFIG_BOARD_CONFIG and KCONFIG_CPU_CONFIG variable for
boards and CPUs (including common directories) to add default
configuration files to be merged. The current approach, as it uses
Makefile.features, would include boards first, not allowing them to
override CPU configurations.
2021-12-13 12:33:21 +01:00
Benjamin Valentin
fc88c4c4e5
boards: drop cpu_init()
2021-10-13 23:36:41 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
b53d750029
boards/stm32: set openocd as only supported programmer
2021-02-24 13:29:16 +01:00
603186f913
make: namespace openocd DEBUG_ADAPTER variable
2021-02-23 21:22:52 +01:00
a034e65453
boards/stm32f7: use common clk_conf.h header
2021-01-25 11:44:22 +01:00
551eb80498
boards/stm32f7*: add Kconfig clock configuration
2021-01-19 22:09:17 +01:00
f8822b5f8f
boards: remove not need PORT_LINUX/PORT_DARWIN
...
They defined the same in serial.inc.mk. Some Darwin default are changed because they are probably wrong
2020-12-02 09:20:57 +01:00
4c290e1f92
boards: remove include of serial.inc.mk
2020-12-02 09:20:57 +01:00
c6ad85a7b0
boards: don't include programmer logic at board level
2020-11-25 22:31:13 +01:00
e1ee49ebe2
boards/stm32f7*: use new clock configuration scheme
2020-10-06 16:10:05 +02:00
1fe7f3d028
stm32f723e-disco: remove obsolete spi_divtable
2020-08-18 16:55:10 +02:00
be33f63cae
boards/stm32*disco: model features in Kconfig
2020-07-16 11:34:03 +02:00
facb626b02
boards/stm32*: adapt for new stm32 cpu organization
2020-05-20 13:39:10 +02:00
Dylan Laduranty
a33e61e997
boards/stm32: update to use generic uart_hw_fc module
2020-03-10 14:34:11 +01:00
3ac25c3ac9
Merge pull request #12556 from bergzand/wip/stusbdev
...
stm32_common: Add USB OTG FS/HS usbdev peripheral driver
2020-02-11 20:39:46 +01:00
033cb5559a
stm32f723e-disco: add usbdev feature
2020-02-11 15:50:21 +01:00
Francois Berder
b4ab22673e
boards: Use ARRAY_SIZE for setting UART_NUMOF, SPI_NUMOF, I2C_NUMOF
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2020-02-09 20:55:46 +00:00
713fead00a
boards: move some USEMODULE to Makefile.dep
2020-02-07 13:21:22 +01:00
97a18f9114
boards/stm32f723e-disco: fix typos
2019-11-23 22:39:35 +01:00
Yannick Gicquel
d37adee32d
boards/stm32-based: allow SPI signals routed on multiple alternate functions
...
There is no hardware limitation for custom boards based on STM32 to uses
SPI bus with signals coming from different PORT and alternate functions.
This patch allow alternate's function definition per pin basis, thus enable
the support of SPI bus signals routed on differents PORT.
Signed-off-by: Yannick Gicquel <ygicquel@gmail.com>
2019-10-25 06:27:41 +02:00
Gaëtan Harter
fc9f2a0f65
boards: remove duplicate include 'RIOTCPU/cpu/Makefile.features'
...
When 'CPU' is defined, the CPU Makefile.features is included by the
build system in the main Makefile.features.
No need to do it manually anymore.
2019-09-30 12:38:01 +02:00
b1c8f85873
boards/stm32f723e-disco: don't export CPU/CPU_MODEL variables
2019-09-29 15:54:21 +02:00
80a5e88403
boards/stm32f723e-disco: add initial support
...
Peripheral configured:
- 5 UARTs for stdio via STLink, Arduino connector, PMOD connector,
STMOD+ connector and ESP-01 connector
- 1 I2C available on Arduino connector and STMOD+ connector
- 2 SPIs available on Arduino connector and PMOD connector
2019-09-20 13:45:25 +02:00