Skip to content

Commit

Permalink
Don't enable all flash chips by default on EXST targets. (betaflight#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hydra authored and davidbitton committed Feb 5, 2024
1 parent 69af7a3 commit 17bf72b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/target/common_pre.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@

#if defined(USE_FLASH)

#if !defined(USE_EXST)
#define USE_FLASHFS
#define USE_FLASH_TOOLS
#define USE_FLASH_M25P16
Expand All @@ -174,9 +175,10 @@
#define USE_FLASH_W25M512 // 512Kb (256Kb x 2 stacked) NOR flash support
#define USE_FLASH_W25M02G // 2Gb (1Gb x 2 stacked) NAND flash support
#define USE_FLASH_W25Q128FV // 16MB Winbond 25Q128
#endif // USE_EXST

#endif
#endif
#endif // USE_FLASH
#endif // USE_FLASH_CHIP

#ifndef USE_MAX7456
#define USE_MAX7456
Expand Down

0 comments on commit 17bf72b

Please sign in to comment.