CONFIG_SOC_FLASH_STM32

STM32 flash driver

Type: bool

Help

Enable STM32F0x, STM32F1x, STM32F3x, STM32F4x, STM32F7x, STM32L0x, STM32L1x, STM32L4x, STM32WBx, STM32G0x, STM32G4x or STM3H7x series flash driver.

Default

  • y

Kconfig definition

At <Zephyr>/drivers/flash/Kconfig.stm32:7

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:60<Zephyr>/drivers/flash/Kconfig:73

Menu path: (Top) → Device Drivers → Flash hardware support

config SOC_FLASH_STM32
    bool "STM32 flash driver"
    default y
    select FLASH_HAS_DRIVER_ENABLED
    select SOC_FLASH_STM32_V1 if SOC_SERIES_STM32F0X
    select SOC_FLASH_STM32_V1 if SOC_SERIES_STM32F1X
    select SOC_FLASH_STM32_V1 if SOC_SERIES_STM32F3X
    select SOC_FLASH_STM32_V1 if SOC_SERIES_STM32L0X
    select SOC_FLASH_STM32_V1 if SOC_SERIES_STM32L1X
    select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32G0X
    select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32F4X
    select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32F7X
    select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32L4X
    select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32WBX
    select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32G4X
    select FLASH_PAGE_LAYOUT if SOC_SERIES_STM32H7X
    select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32G0X
    select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32F4X
    select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32F7X
    select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32L4X
    select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32WBX
    select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32G4X
    select FLASH_HAS_PAGE_LAYOUT if SOC_SERIES_STM32H7X
    depends on SOC_FAMILY_STM32 && (SOC_SERIES_STM32F0X || SOC_SERIES_STM32F1X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F7X || SOC_SERIES_STM32L0X || SOC_SERIES_STM32L1X || SOC_SERIES_STM32L4X || SOC_SERIES_STM32WBX || SOC_SERIES_STM32G0X || SOC_SERIES_STM32G4X || SOC_SERIES_STM32H7X) && FLASH
    help
      Enable STM32F0x, STM32F1x, STM32F3x, STM32F4x, STM32F7x, STM32L0x,
      STM32L1x, STM32L4x, STM32WBx, STM32G0x, STM32G4x or STM3H7x series
      flash driver.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)