Renamed 'GENERIC_TARGET' to 'USE_UNIFIED_TARGET'.
This commit is contained in:
parent
e053965489
commit
735d48f2f5
|
@ -42,7 +42,7 @@ void pgResetFn_boardConfig(boardConfig_t *boardConfig)
|
|||
strncpy(boardConfig->boardName, getBoardName(), MAX_BOARD_NAME_LENGTH);
|
||||
boardConfig->boardInformationSet = true;
|
||||
} else {
|
||||
#if !defined(GENERIC_TARGET)
|
||||
#if !defined(USE_UNIFIED_TARGET)
|
||||
strncpy(boardConfig->boardName, targetName, MAX_BOARD_NAME_LENGTH);
|
||||
|
||||
#if defined(TARGET_MANUFACTURER_IDENTIFIER)
|
||||
|
@ -51,7 +51,7 @@ void pgResetFn_boardConfig(boardConfig_t *boardConfig)
|
|||
boardConfig->boardInformationSet = true;
|
||||
#else
|
||||
boardConfig->boardInformationSet = false;
|
||||
#endif // GENERIC_TARGET
|
||||
#endif // USE_UNIFIED_TARGET
|
||||
}
|
||||
|
||||
#if defined(USE_SIGNATURE)
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
// Treat the target as generic, and expect manufacturer id / board name
|
||||
// to be supplied when the board is configured for the first time
|
||||
#define GENERIC_TARGET
|
||||
#define USE_UNIFIED_TARGET
|
||||
|
||||
#define TARGET_BOARD_IDENTIFIER "S405"
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
// Treat the target as generic, and expect manufacturer id / board name
|
||||
// to be supplied when the board is configured for the first time
|
||||
#define GENERIC_TARGET
|
||||
#define USE_UNIFIED_TARGET
|
||||
|
||||
#define TARGET_BOARD_IDENTIFIER "S7X2"
|
||||
|
||||
|
|
|
@ -401,7 +401,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef USE_ADC
|
||||
#if !defined(GENERIC_TARGET) && !defined(ADC_INSTANCE)
|
||||
#if !defined(USE_UNIFIED_TARGET) && !defined(ADC_INSTANCE)
|
||||
#define ADC_INSTANCE ADC1
|
||||
#ifndef ADC1_DMA_OPT
|
||||
#define ADC1_DMA_OPT 1
|
||||
|
|
|
@ -202,7 +202,7 @@
|
|||
#define USE_RX_XN297
|
||||
#endif
|
||||
|
||||
#ifdef GENERIC_TARGET
|
||||
#ifdef USE_UNIFIED_TARGET
|
||||
#define USE_CONFIGURATION_STATE
|
||||
|
||||
// Setup crystal frequency for backward compatibility
|
||||
|
@ -214,7 +214,7 @@
|
|||
#else
|
||||
#define SYSTEM_HSE_VALUE (HSE_VALUE/1000000U)
|
||||
#endif
|
||||
#endif // GENERIC_TARGET
|
||||
#endif // USE_UNIFIED_TARGET
|
||||
|
||||
// Number of pins that needs pre-init
|
||||
#ifdef USE_SPI
|
||||
|
|
Loading…
Reference in New Issue