diff --git a/samples/drivers/spi_flash/src/main.c b/samples/drivers/spi_flash/src/main.c index 4306dfd6903..2931d0f01bf 100644 --- a/samples/drivers/spi_flash/src/main.c +++ b/samples/drivers/spi_flash/src/main.c @@ -25,7 +25,8 @@ #if defined(CONFIG_BOARD_ADAFRUIT_FEATHER_STM32F405) #define FLASH_TEST_REGION_OFFSET 0xf000 -#elif defined(CONFIG_BOARD_ARTY_A7_ARM_DESIGNSTART_M1) +#elif defined(CONFIG_BOARD_ARTY_A7_ARM_DESIGNSTART_M1) || \ + defined(CONFIG_BOARD_ARTY_A7_ARM_DESIGNSTART_M3) /* The FPGA bitstream is stored in the lower 536 sectors of the flash. */ #define FLASH_TEST_REGION_OFFSET \ DT_REG_SIZE(DT_NODE_BY_FIXED_PARTITION_LABEL(fpga_bitstream))