2017-05-02 22:55:08 +08:00
|
|
|
# Kconfig - ST Microelectronics STM32 MCUs Flash driver config
|
2016-11-02 22:34:02 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2016 RnDity Sp. z o.o.
|
2017-05-02 22:55:08 +08:00
|
|
|
# Copyright (c) 2017 BayLibre, SAS
|
2016-11-02 22:34:02 +08:00
|
|
|
#
|
2017-01-19 23:38:51 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-11-02 22:34:02 +08:00
|
|
|
#
|
|
|
|
|
2018-10-09 06:15:21 +08:00
|
|
|
if SOC_FAMILY_STM32
|
2016-11-02 22:34:02 +08:00
|
|
|
|
|
|
|
menuconfig SOC_FLASH_STM32
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "STM32 flash driver"
|
2018-09-03 03:05:52 +08:00
|
|
|
depends on (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32L4X)
|
2018-03-07 21:31:56 +08:00
|
|
|
select FLASH_HAS_DRIVER_ENABLED
|
2017-01-30 01:01:38 +08:00
|
|
|
default y
|
2017-12-04 21:09:59 +08:00
|
|
|
select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32F0X
|
2019-02-14 22:38:52 +08:00
|
|
|
select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32F3X
|
2017-08-31 04:39:26 +08:00
|
|
|
select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32F4X
|
2018-09-03 03:05:52 +08:00
|
|
|
select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32F7X
|
2017-08-31 04:41:33 +08:00
|
|
|
select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32L4X
|
2017-11-23 20:47:35 +08:00
|
|
|
select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32F0X
|
2019-02-14 22:38:52 +08:00
|
|
|
select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32F3X
|
2017-11-23 20:47:35 +08:00
|
|
|
select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32F4X
|
2018-09-03 03:05:52 +08:00
|
|
|
select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32F7X
|
2017-11-23 20:47:35 +08:00
|
|
|
select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32L4X
|
2016-11-02 22:34:02 +08:00
|
|
|
help
|
2018-09-03 03:05:52 +08:00
|
|
|
Enable STM32F0x, STM32F3x, STM32F4x, STM32F7x OR STM32L4x series flash driver.
|
2016-11-02 22:34:02 +08:00
|
|
|
|
|
|
|
endif
|