From b3a88cc992dfa3fde57a703df7c4c90dcf5dd99c Mon Sep 17 00:00:00 2001 From: J Blackman Date: Sat, 19 Nov 2022 08:16:43 +1100 Subject: [PATCH] FIX: USE_FLASH_W25Q128FV not working (#12005) --- src/main/target/common_post.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index bc80a75a2..a4ce4dee0 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -245,17 +245,16 @@ #define USE_FLASH_TOOLS #endif -#if defined(USE_FLASH_W25M512) -#define USE_FLASH_W25M +#if defined(USE_FLASH_W25M512) || defined(USE_FLASH_W25Q128FV) #define USE_FLASH_M25P16 #endif #if defined(USE_FLASH_W25M02G) -#define USE_FLASH_W25M #define USE_FLASH_W25N01G #endif #if defined(USE_FLASH_M25P16) || defined(USE_FLASH_W25N01G) +#define USE_FLASH_W25M #define USE_FLASH_CHIP #endif -- 2.11.4.GIT