From d2e3d3d24b0d39840224023023246f6e0bb59ebc Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Thu, 24 Nov 2022 02:31:19 +0100 Subject: [PATCH] FLASH - Fix missing USE_FLASH_CHIP default when using W25M and W25Q drivers. (#12015) FLASH - Fix missing USE_FLASH_CHIP default when using W25M and W25Q drivers. --- src/main/target/common_post.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index 2674d34bea..340657e13b 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -259,6 +259,9 @@ #if defined(USE_FLASH_M25P16) || defined(USE_FLASH_W25N01G) #define USE_FLASH_W25M +#endif + +#if defined(USE_FLASH_M25P16) || defined(USE_FLASH_W25M) || defined(USE_FLASH_W25N01G) || defined(USE_FLASH_W25Q128FV) #define USE_FLASH_CHIP #endif