2021-10-27 19:20:55 +08:00
|
|
|
# STM32 Octo SPI flash driver configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2022 STMicroelectronics
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
DT_COMPAT_ST_STM32_OSPI_NOR := st,stm32-ospi-nor
|
|
|
|
|
|
|
|
config FLASH_STM32_OSPI
|
|
|
|
bool "STM32 Octo SPI Flash driver"
|
|
|
|
depends on SOC_FAMILY_STM32
|
|
|
|
default $(dt_compat_enabled,$(DT_COMPAT_ST_STM32_OSPI_NOR))
|
|
|
|
select USE_STM32_HAL_OSPI
|
|
|
|
select USE_STM32_LL_DLYB if SOC_SERIES_STM32U5X
|
2022-05-09 19:53:44 +08:00
|
|
|
select USE_STM32_HAL_MDMA if SOC_SERIES_STM32H7X
|
2021-10-27 19:20:55 +08:00
|
|
|
select FLASH_HAS_DRIVER_ENABLED
|
|
|
|
select FLASH_JESD216
|
|
|
|
select FLASH_PAGE_LAYOUT
|
|
|
|
select FLASH_HAS_PAGE_LAYOUT
|
|
|
|
help
|
|
|
|
Enable OSPI-NOR support on the STM32 family of processors.
|