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

14 Commits

Author SHA1 Message Date
benpicco
2050193030
Merge pull request #15273 from aabadie/pr/cpu/stm32_clk_cfg_in_cpu
boards/stm32: cpu/stm32: move clock configuration from boards to cpu
2020-10-27 10:04:01 +01:00
39e06babf5
boards/stm32: use generic clk_conf.h header 2020-10-27 08:44:56 +01:00
Benjamin Valentin
fde3026312 drivers/mtd_spi_nor: prevent data corruption on 'sector erase'
There is no difference between 4k erase and sector erase.
But sector erase would previously do `.block_erase` which would not
erase a sector (4k) but a whole block (64k).

Fortunately all boards declare `SPI_NOR_F_SECT_4K` and all file systems
don't try to erase anything smaller, so this was never triggered.

Add an `assert(0)` to crash instead of corrupting data.
2020-10-26 13:48:26 +01:00
Bas Stottelaar
2e16b65da6 boards/*: add explicit include of timex.h 2020-10-21 21:42:47 +02:00
benpicco
d98f93513f
Merge pull request #15043 from aabadie/pr/boards/stm32f2f4f7_remove_96_180
boards/stm32f4: remove default clock configuration for 96MHz and 168MHz CPUs
2020-10-19 19:42:52 +02:00
72efa9c7a5
boards/weact-f411ce: adapt CPU model 2020-10-09 12:39:22 +02:00
022d3d5e9e
boards/stm32f410/411: use 100MHz default clock header 2020-10-06 22:07:12 +02:00
721625011e
boards/stm32f4*: use new clock configuration scheme 2020-10-06 16:10:05 +02:00
hugues
394ccfde0b boards/weact-f411ce: declare adc_config[] directly in periph_conf.h 2020-08-27 03:56:26 +02:00
01d7d55a6f
weact-f411ce: remove obsolete spi_divtable 2020-08-18 16:55:10 +02:00
ce31764b93
boards/weact-f411ce: model features in Kconfig 2020-07-16 11:34:05 +02:00
Benjamin Valentin
871107e67f boards/weact-f411ce: enable automatic reset to bootloader 2020-06-11 16:37:30 +02:00
Benjamin Valentin
59a41968b5 boards/weact-f411ce: determine flash size at run-time
The pad for SPI-Flash on the WeAct-f411ce does not come pre-populated.
The user has to manually solder a SPI-flash chip on the board, so specifying
a size here makes no sense.

Instead, rely on automatic detection of the flash size at run-time.
2020-06-10 12:10:29 +02:00
Benjamin Valentin
b20ec93991 boards: add WeAct-f411ce board
The WeAct-F411CE is a blackpill-like board with a STM32F411CE.
It can be flashed using the vendor-provided bootloader.
2020-06-04 12:39:14 +02:00