1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/stm32f0
cladmi e0a5860bb7
cpu/stm32_common: remove inadapted periph_flash_common
The `periph_flash_common` feature was only defined here to trigger
inclusion of a source file with common functions.
It even only defines private symbols `_lock` and `_unlock` so no reason
to expose it to the build system.
And in practice, all stm cpus providing `periph_flashpage` or
`periph_eeprom` were required to provide `periph_flash_common` to allow
including it.

The previous implementation was only parsing in the modules were in
`FEATURES_REQUIRED` wich did not take cases of `FEATURES_OPTIONAL` into
account.
And also, in the same time, as the dependencies was declared in
`Makefile.include` it was processed before `Makefile.dep` so never handled
cases where a module could depend on `periph_flashpage` or
`periph_eeprom` feature.

It is replaced by selecting the common source file when module using it
are included.

The now useless feature `periph_flash_common` is removed from
`FEATURES_PROVIDED`.
2018-10-11 15:20:44 +02:00
..
include cpu/stm32f0: update stm32f091 vendor header 2018-08-07 14:47:40 +02:00
periph cpu/stm32: removed file guards from periph drivers 2017-11-09 16:27:24 +01:00
Makefile cpu: build cortexm vectors.c without LTO 2016-08-29 13:30:17 +02:00
Makefile.features cpu/stm32_common: remove inadapted periph_flash_common 2018-10-11 15:20:44 +02:00
Makefile.include Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
stm32_line.mk cpu/stm32f0: add custom CPU_LINE 2018-06-19 14:31:23 +02:00
vectors.c cpu/stm32f0: make use of CPU_LINE and STM32_FLASHSIZE 2018-06-19 14:31:23 +02:00