diff --git a/docs/Cloud build API.md b/docs/Cloud build API.md index e654eff200..76ed19c8ed 100644 --- a/docs/Cloud build API.md +++ b/docs/Cloud build API.md @@ -29,6 +29,9 @@ For optimal use please select ONLY the appropiate hardware for the flight contro SUMH XBUS + EXPRESSLRS (SPI) + CC2500 (SPI) + SX1280 (SPI) ### Telemetry Protocols CRSF @@ -44,12 +47,15 @@ For optimal use please select ONLY the appropiate hardware for the flight contro ### Other Options + AKK (SA FIX) BARO FLASH GPS LED MAG OSD + PINIO + VTX ### Motor Protocols @@ -63,10 +69,10 @@ For optimal use please select ONLY the appropiate hardware for the flight contro ### Custom Defines BATTERY_CONTINUE - ESCSERIAL_SIMONK DASHBOARD EMFAT_AUTORUN EMFAT_ICON + ESCSERIAL_SIMONK GPS_PLUS_CODES SERIAL_4WAY_SK_BOOTLOADER diff --git a/src/main/target/common_pre.h b/src/main/target/common_pre.h index 119b939b8e..b0c8eed1ed 100644 --- a/src/main/target/common_pre.h +++ b/src/main/target/common_pre.h @@ -337,6 +337,16 @@ extern uint8_t _dmaram_end__; #define USE_OSD #define USE_LED_STRIP +#if TARGET_FLASH_SIZE > 512 +#define USE_BATTERY_CONTINUE +#define USE_DASHBOARD +#define USE_EMFAT_AUTORUN +#define USE_EMFAT_ICON +#define USE_ESCSERIAL_SIMONK +#define USE_GPS_PLUS_CODES +#define USE_SERIAL_4WAY_SK_BOOTLOADER +#endif + #endif // !defined(CLOUD_BUILD) #if defined(USE_SDCARD) @@ -463,21 +473,6 @@ extern uint8_t _dmaram_end__; #define USE_OSD_STICK_OVERLAY #endif -#if (TARGET_FLASH_SIZE > 512) - -#define USE_ESCSERIAL_SIMONK -#define USE_SERIAL_4WAY_SK_BOOTLOADER -#define USE_DASHBOARD -#define USE_EMFAT_AUTORUN -#define USE_EMFAT_ICON -#define USE_BATTERY_CONTINUE - -#if !defined(CLOUD_BUILD) -#define USE_GPS_PLUS_CODES -#endif - -#endif - #if defined(CLOUD_BUILD) // Handle the CRSF co-dependency requirements