Skip to content
Commit 1ee99d25 authored by Marco Peter's avatar Marco Peter Committed by Anas Nashif
Browse files

drivers: flash: Build STM32 flash support only when selected



The current configuration causes the STM32 flash support always to be
built, even if an unrelated flash driver, by example the SPI_NOR driver
is selected.
This behaviour gets especially problematic (build failure) if the flash
hardware of the given MCU is not supported (e.g. STM32F2).
The suggested change should ensure that STM32 flash support only is
built when it actually is selected.

Signed-off-by: default avatarMarco Peter <marco@peter-net.ch>
parent 5308a941
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment