Merge pull request #5082 from martinbudden/bfa_target_undefs

Removed unnecessary target #undefs
This commit is contained in:
Martin Budden 2018-02-01 08:08:27 +00:00 committed by GitHub
commit 67d33b0a52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 0 additions and 34 deletions

View File

@ -20,10 +20,6 @@
#define TARGET_BOARD_IDENTIFIER "BFF3"
// Removing some features to make the firmware fit the flash space
#undef USE_TELEMETRY_JETIEXBUS
#undef USE_TELEMETRY_LTM
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
@ -54,8 +50,6 @@
#define REMAP_TIM16_DMA
#define REMAP_TIM17_DMA
#undef USE_TELEMETRY_IBUS
#define USE_VCP
#define USE_UART1
#define USE_UART2

View File

@ -144,8 +144,6 @@
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
#undef USE_UNCOMMON_MIXERS
#define TARGET_IO_PORTA 0xffff
#define TARGET_IO_PORTB 0xffff
#define TARGET_IO_PORTC 0xffff

View File

@ -18,10 +18,6 @@
#pragma once
// Removed to make the firmware fit into flash:
#undef USE_TELEMETRY_IBUS
#undef USE_TELEMETRY_JETIEXBUS
#undef USE_SERIALRX_JETIEXBUS
#undef USE_TELEMETRY_MAVLINK
#undef USE_TELEMETRY_LTM
#undef USE_RTC_TIME

View File

@ -19,8 +19,6 @@
#define TARGET_BOARD_IDENTIFIER "REF3"
#undef USE_OSD
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0_PIN PB4

View File

@ -94,9 +94,6 @@
#define RANGEFINDER_HCSR04_TRIGGER_PIN PB0
#define RANGEFINDER_HCSR04_ECHO_PIN PB1
#elif defined(RMDO)
#undef USE_GPS
#elif defined(ZCOREF3)
#define USE_MAG_DATA_READY_SIGNAL
#define ENSURE_MAG_DATA_READY_IS_HIGH

View File

@ -38,11 +38,6 @@
#endif // SPRACINGF3MQ
// Space reduction measures to make the firmware fit into flash:
#undef USE_TELEMETRY_JETIEXBUS
#undef USE_SERIALRX_JETIEXBUS
#undef USE_TELEMETRY_MAVLINK
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_DEFAULT

View File

@ -31,9 +31,6 @@
#define SPRACINGF3MINI_REV 2
#endif
// Space reduction measures to make the firmware fit into flash:
#undef USE_RCDEVICE
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#define LED0_PIN PB3

View File

@ -95,10 +95,6 @@
#define USE_VTX_RTC6705
#define VTX_RTC6705_OPTIONAL // VTX/OSD board is OPTIONAL
// Disabled due to flash size
#undef USE_VTX_SMARTAUDIO
#undef USE_VTX_TRAMP
#define RTC6705_CS_PIN PF4
#define RTC6705_SPI_INSTANCE SPI3
#define RTC6705_POWER_PIN PC3

View File

@ -209,10 +209,6 @@
// FIXME While it's possible to use the button on the OSD/VTX board for binding enabling it here will break binding unless you have the OSD/VTX connected.
//#define BINDPLUG_PIN BUTTON_A_PIN
// Temporarily disable SMARTAUDIO and TRAMP VTX support due to flash size issues.
#undef USE_VTX_SMARTAUDIO
#undef USE_VTX_TRAMP
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
#define TARGET_IO_PORTA 0xffff

View File

@ -32,7 +32,6 @@
#define CONFIG_FASTLOOP_PREFERRED_ACC ACC_NONE
#undef USE_OSD // ROM SAVING
#undef USE_TELEMETRY_JETIEXBUS // ROM SAVING
#define CURRENT_TARGET_CPU_VOLTAGE 3.0