Remove SKY9X target

This commit is contained in:
Raphael Coeffic
2022-01-29 14:40:17 +10:00
committed by Peter Feerick
parent 5601bd53b2
commit 09c49e24ee
166 changed files with 24 additions and 38415 deletions
+1 -44
View File
@@ -34,9 +34,7 @@
#include "board.h"
#if defined(STM32)
#include "usbd_conf.h"
#endif
#if defined(LIBOPENUI)
#include "libopenui.h"
@@ -50,20 +48,6 @@
#define SWITCH_SIMU(a, b) (b)
#endif
#if defined(PCBSKY9X)
#define IS_PCBSKY9X true
#define CASE_PCBSKY9X(x) x,
#else
#define IS_PCBSKY9X false
#define CASE_PCBSKY9X(x)
#endif
#if defined(STM32)
#define CASE_STM32(x) x,
#else
#define CASE_STM32(x)
#endif
#if defined(VARIO)
#define CASE_VARIO(x) x,
#else
@@ -196,12 +180,7 @@
#define CASE_PCBX9E(x)
#endif
#if defined(PCBSKY9X) && !defined(PCBAR9X)
#define TX_CAPACITY_MEASUREMENT
#define CASE_CAPACITY(x) x,
#else
#define CASE_CAPACITY(x)
#endif
#if defined(FAI)
#define IS_FAI_ENABLED() true
@@ -579,11 +558,7 @@ int getTrimValue(uint8_t phase, uint8_t idx);
bool setTrimValue(uint8_t phase, uint8_t idx, int trim);
#if defined(PCBSKY9X)
#define ROTARY_ENCODER_GRANULARITY (2 << g_eeGeneral.rotarySteps)
#else
#define ROTARY_ENCODER_GRANULARITY (2)
#endif
#include "gvars.h"
@@ -610,12 +585,8 @@ void flightReset(uint8_t check=true);
#if defined(SIMU)
uint16_t getTmr2MHz();
uint16_t getTmr16KHz();
#elif defined(STM32)
static inline uint16_t getTmr2MHz() { return TIMER_2MHz_TIMER->CNT; }
#elif defined(PCBSKY9X)
static inline uint16_t getTmr2MHz() { return TC1->TC_CHANNEL[0].TC_CV; }
#else
uint16_t getTmr16KHz();
static inline uint16_t getTmr2MHz() { return TIMER_2MHz_TIMER->CNT; }
#endif
@@ -875,10 +846,6 @@ enum AUDIO_SOUNDS {
AU_SERVO_KO,
AU_RX_OVERLOAD,
AU_MODEL_STILL_POWERED,
#if defined(PCBSKY9X)
AU_TX_MAH_HIGH,
AU_TX_TEMP_HIGH,
#endif
AU_ERROR,
AU_WARNING1,
AU_WARNING2,
@@ -962,10 +929,6 @@ enum AUDIO_SOUNDS {
#include "rtc.h"
#endif
#if defined(REVX)
void setMFP();
void clearMFP();
#endif
void checkBattery();
void opentxClose(uint8_t shutdown=true);
@@ -1060,12 +1023,10 @@ union ReusableBuffer
} sdManager;
#endif
#if defined(STM32)
struct
{
char id[27];
} version;
#endif
// moduleOptions, receiverOptions, radioVersion
PXX2HardwareAndSettings hardwareAndSettings;
@@ -1141,10 +1102,8 @@ union ReusableBuffer
ModuleInformation internalModule;
} viewMain;
#if defined(STM32)
// Data for the USB mass storage driver. If USB mass storage runs no menu is not allowed to be displayed
uint8_t MSC_BOT_Data[MSC_MEDIA_PACKET];
#endif
};
extern ReusableBuffer reusableBuffer;
@@ -1224,9 +1183,7 @@ void varioWakeup();
extern const unsigned char logo_taranis[];
#endif
#if defined(STM32)
void usbPluggedIn();
#endif
#include "lua/lua_api.h"