Skip to content

Commit 998d5b0

Browse files
FRASTMarbrauns
authored andcommitted
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 fa7c05c commit 998d5b0

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
@@ -71,4 +71,11 @@ config FLASH_STM32_BLOCK_REGISTERS
7171
registers improves system security, because flash content (or
7272
protection settings) can't be changed even when exploit was found.
7373

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

0 commit comments

Comments
 (0)