Skip to content

Commit e216dcf

Browse files
FRASTMfabiobaltieri
authored andcommitted
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 <[email protected]>
1 parent 7f83427 commit e216dcf

File tree

1 file changed

+1
-1
lines changed
  • samples/drivers/spi_flash/src

1 file changed

+1
-1
lines changed

samples/drivers/spi_flash/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#endif
2727
#define SPI_FLASH_SECTOR_SIZE 4096
2828

29-
#if defined CONFIG_FLASH_STM32_OSPI
29+
#if defined(CONFIG_FLASH_STM32_OSPI) || defined(CONFIG_FLASH_STM32_QSPI)
3030
#define SPI_FLASH_MULTI_SECTOR_TEST
3131
#endif
3232

0 commit comments

Comments
 (0)