MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01: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
Benjamin Valentin
5d111e71aa
boards: drop board_init() from board.h
2022-02-25 15:08:58 +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
Alexandre Abadie
796e127df9
boards/stm32: replace GPIO_UNDEF with SPI_CS_UNDEF
2022-01-06 12:34:09 +01:00
Alexandre Abadie
4877155e23
boards: unify user button defines
2021-12-20 11:39:17 +01:00
MrKevinWeiss
deda2cfb97
boards: Fix stm32 based boards kconfig models
2021-12-15 09:31:45 +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
Alexandre Abadie
b53d750029
boards/stm32: set openocd as only supported programmer
2021-02-24 13:29:16 +01:00
Alexandre Abadie
603186f913
make: namespace openocd DEBUG_ADAPTER variable
2021-02-23 21:22:52 +01:00
Alexandre Abadie
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
Alexandre Abadie
4c290e1f92
boards: remove include of serial.inc.mk
2020-12-02 09:20:57 +01:00
Alexandre Abadie
c6ad85a7b0
boards: don't include programmer logic at board level
2020-11-25 22:31:13 +01:00
Alexandre Abadie
2d6e8984b8
boards/stm32l0/l1: add Kconfig clock configuration
2020-11-03 14:23:46 +01:00
Alexandre Abadie
39e06babf5
boards/stm32: use generic clk_conf.h header
2020-10-27 08:44:56 +01:00
Alexandre Abadie
8ac1909ea3
cpu: boards: stm32l0l1: use IS_ACTIVE where possible in stmclk
2020-09-22 22:30:19 +02:00
Alexandre Abadie
5e886a76c9
boards/stm32l0/l1: merge default clock configuration headers
2020-09-22 22:30:19 +02:00
Alexandre Abadie
67a1c029b4
boards/stm32l0: set LSE to 0 default, override in boards
2020-09-22 22:30:19 +02:00
Alexandre Abadie
4a5d9a30b1
boards/stm32l0*: rename shared clock config header
2020-09-22 22:30:08 +02:00
Koen Zandberg
843cd78a63
b-l072z-lrwan1: remove obsolete spi_divtable
2020-08-18 16:55:01 +02:00
Alexandre Abadie
3d19d4cbaa
boards/b-l072z-lrwan1: model features in Kconfig
2020-07-16 11:34:03 +02:00
Alexandre Abadie
97f98dcace
boards/stm32: remove useless ifdef around DMA config
2020-05-25 13:23:20 +02:00
Alexandre Abadie
facb626b02
boards/stm32*: adapt for new stm32 cpu organization
2020-05-20 13:39:10 +02:00
Alexandre Abadie
f1ba22534a
boards: don't export globally OPENOCD_RESET_USE...
2020-03-03 11:42:19 +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
Alexandre Abadie
e45388e210
boards/stm32l0: use connect_assert_srst when flashing
2019-09-02 21:46:54 +02:00
Gaëtan Harter
636285ebe4
boards: move CPU/CPU_MODEL definition to Makefile.features
...
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included
Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
2019-08-20 16:11:50 +02:00
Benjamin Valentin
8af04cd939
boards: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Francisco
b8cd3c0724
Merge pull request #11809 from aabadie/pr/boards/stm32_timer_conf_common
...
boards/stm32: introduce common timer configurations and use them where possible
2019-08-06 17:07:22 +02:00
Alexandre Abadie
cb25ed7b05
boards/stm32: provide support custom spi pins mode for lora boards
...
This minimize a lot power consumption when going to sleep after the spi has been used
2019-08-05 16:46:41 +02:00
Alexandre Abadie
7ee7315418
boards/stm32l0: use common timer configuration
2019-08-05 15:00:11 +02:00
Alexandre Abadie
7853ca0108
boards/stm32*: remove useless RTC_NUMOF defines
2019-08-05 11:08:53 +02:00
Alexandre Abadie
a68f78bb10
boards/*: remove unused FEATURES_MCU_GROUP variable
2019-06-14 11:32:15 +02:00
Alexandre Abadie
414c304f2b
boards/*: remove useless export when setting DEBUG_ADAPTER
2019-06-03 10:32:08 +02:00
Alexandre Abadie
25a8ea5d1b
boards/b-l072z-lrwan1: use common i2c configuration
2019-05-24 11:12:02 +02:00
Alexandre Abadie
9849010309
boards/stm32l0: use shared clock configuration
2019-05-23 14:03:17 +02:00
Alexandre Abadie
7d12ea78f0
boards/b-l072z-lrwan1: use common rtt configuration
2019-05-21 08:38:43 +02:00
Alexandre Abadie
330f97f15f
boards/b-l072z-lrwan1: enable LSE clock
2019-03-29 11:36:07 +01:00
Alexandre Abadie
34ee41ee14
boards/b-l072z-lrwan1: provide and configure rtt peripheral
2019-03-29 09:33:09 +01:00
francisco
9624a34e86
boards/b-072z-lrwan1: provide riotboot feature
2019-03-24 10:05:53 +01:00
Alexandre Abadie
e3b10e3d7d
Merge pull request #10343 from MrKevinWeiss/pr/fixnucleol1flasher
...
boards/stm32l0: Fix openocd to prevent flash locking
2019-03-14 10:27:02 +01:00
Alexandre Abadie
8d1a0ae074
boards: revert forced use of periph_dma with STM32
...
The periph_dma is not pulled in automatically for all applications.
Applications willing to use the configured peripherals with periph_dma
for a given board will have to include the feature explictly in their
Makefile.
It was causing unrelated issues as threads got de-scheduled while
calling printf and this was not handled properly in tests at that
moment.
2019-01-21 15:14:28 +01:00
Vincent Dupont
08a85fbfdd
boards/b-l072z-lrwan1: configure and use DMA
2019-01-08 09:32:18 +01:00
Alexandre Abadie
973a6a4c93
boards/stm32: remove unnecessary ADC defines in board config
2019-01-02 09:15:22 +01:00
Alexandre Abadie
4ae15d18b5
boards/stm32based: remove periph_gpio/irq from board level
2018-12-18 21:51:14 +01:00
Alexandre Abadie
58b85b256b
boards: update UART conf for STM32 based boards
2018-12-13 12:39:00 +01:00
MrKevinWeiss
7c9ef1e9e0
boards/stm32l0: Fix openocd to prevent flash locking
...
This commit add the connect_assert_srst which requires the SRST to be asserted before trying to connect.
Certain firmwares will cause it to get to a state where flashing fails and the reset button must be pushed at the correct time to recover.
2018-11-30 10:07:18 +01:00
cladmi
b450141d4d
boards: unconditionally include CPU/Makefile.features
...
The file always exist so no need to do '-include'.
Replaced using:
sed -i 's|-\(include $(RIOTCPU)/.*/Makefile.features\)|\1|' \
$(git grep -l '$(RIOTCPU)/.*/Makefile.features' boards)
2018-10-11 17:13:40 +02:00
Joakim Nohlgård
8996cbe313
make: Introduce new feature flag periph_gpio_irq
2018-08-29 08:53:20 +02:00