Skip to content

Commit 3291b4c

Browse files
committed
drivers: flash: stm32 flash driver has a Kconfig STM32_MEMMAP
This CONFIG_STM32_MEMMAP is for enabling the MemoryMapped mode on external octo or quad spi memory. In this case, the flash_stm32_read is done in mem map mode the flash_stm32_erase is not available. Signed-off-by: Francois Ramu <[email protected]>
1 parent 4830c7c commit 3291b4c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

drivers/flash/Kconfig.stm32

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,11 @@ config FLASH_STM32_BLOCK_REGISTERS
7272
registers improves system security, because flash content (or
7373
protection settings) can't be changed even when exploit was found.
7474

75+
config STM32_MEMMAP
76+
bool "NOR Flash in MemoryMapped for XiP"
77+
depends on XIP
78+
help
79+
This option enables the XIP mode for the external NOR flash
80+
mounted on STM32 boards.
81+
7582
endif # SOC_FLASH_STM32

0 commit comments

Comments
 (0)