samples: drivers: quadspi flash of the stm32 boards

This enables the samples/drivers/spi_flash on quad-spi flash
to run on any stm32 target with external NOR quad flash.
The SPI_FLASH_MULTI_SECTOR_TEST test case is possible with
quadspi too.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2023-03-15 13:26:15 +01:00 committed by Fabio Baltieri
commit e216dcfc3d

View file

@ -26,7 +26,7 @@
#endif
#define SPI_FLASH_SECTOR_SIZE 4096
#if defined CONFIG_FLASH_STM32_OSPI
#if defined(CONFIG_FLASH_STM32_OSPI) || defined(CONFIG_FLASH_STM32_QSPI)
#define SPI_FLASH_MULTI_SECTOR_TEST
#endif