Skip to content

Commit

Permalink
samples: drivers: quadspi flash of the stm32 boards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
FRASTM authored and fabiobaltieri committed Jun 23, 2023
1 parent 7f83427 commit e216dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/drivers/spi_flash/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e216dcf

Please sign in to comment.