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

7 Commits

Author SHA1 Message Date
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
331ad0970d cpu/stm32{f,l}{0,1}: provide flash common feature 2018-05-24 14:07:55 +02:00
06392bbfd3 cpu/stm32f1: add flashpage_raw support 2018-03-13 16:30:04 +01:00
3ec8126c84 cpu: cortexm: provide periph_pm for all cortexm 2017-11-06 12:01:19 +01:00
bf6269e12b cpu: stm32: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
5798beca64 cpu: stm32f1/2/4: unify periph/pm support 2017-01-12 16:26:02 +01:00
066332d6dc cpu: stm32f1: add periph/pm support 2017-01-12 16:26:02 +01:00