mirror of https://github.com/ArduPilot/ardupilot
hwdef: remove DISABLE_SERIAL_ESC_COMM AP_Periph boilerplate
... use the defaults file instead
This commit is contained in:
parent
9978b8f97f
commit
416f7d393a
|
@ -302,12 +302,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_SERIAL_ESC_COMM_ENABLED
|
#ifndef HAL_SERIAL_ESC_COMM_ENABLED
|
||||||
#ifdef DISABLE_SERIAL_ESC_COMM
|
|
||||||
#define HAL_SERIAL_ESC_COMM_ENABLED 0
|
|
||||||
#else
|
|
||||||
#define HAL_SERIAL_ESC_COMM_ENABLED 1
|
#define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef AP_BOOTLOADER_FLASHING_ENABLED
|
#ifndef AP_BOOTLOADER_FLASHING_ENABLED
|
||||||
#define AP_BOOTLOADER_FLASHING_ENABLED 0
|
#define AP_BOOTLOADER_FLASHING_ENABLED 0
|
||||||
|
|
|
@ -84,7 +84,6 @@ define HAL_NO_GPIO_IRQ
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -114,7 +114,6 @@ define HAL_NO_GPIO_IRQ
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@ define HAL_NO_MONITOR_THREAD
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ define HAL_NO_MONITOR_THREAD
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define HAL_GCS_ENABLED 1
|
define HAL_GCS_ENABLED 1
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,6 @@ define HAL_NO_MONITOR_THREAD
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,6 @@ define HAL_PERIPH_ENABLE_NETWORKING
|
||||||
# ---------------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------------
|
||||||
# AP_Periph - boiler-plate configurations that all HW AP-Periph need
|
# AP_Periph - boiler-plate configurations that all HW AP-Periph need
|
||||||
# ---------------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------------
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
#define HAL_NO_GPIO_IRQ
|
#define HAL_NO_GPIO_IRQ
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
|
|
@ -27,7 +27,6 @@ define HAL_NO_MONITOR_THREAD
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE
|
||||||
# avoid timer and RCIN threads to save memory
|
# avoid timer and RCIN threads to save memory
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
PB13 VBUS INPUT OPENDRAIN
|
PB13 VBUS INPUT OPENDRAIN
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE
|
||||||
# avoid timer and RCIN threads to save memory
|
# avoid timer and RCIN threads to save memory
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
define HAL_NO_GPIO_IRQ
|
define HAL_NO_GPIO_IRQ
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
PB13 VBUS INPUT OPENDRAIN
|
PB13 VBUS INPUT OPENDRAIN
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,6 @@ define SERIAL_BUFFERS_SIZE 512
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,6 @@ define HAL_NO_GPIO_IRQ
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,6 @@ define HAL_NO_GPIO_IRQ
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -119,7 +119,6 @@ define HAL_NO_GPIO_IRQ
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,6 @@ define HAL_PERIPH_ADSB_BAUD_DEFAULT 0
|
||||||
define HAL_NO_MONITOR_THREAD
|
define HAL_NO_MONITOR_THREAD
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
#define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ define HAL_NO_MONITOR_THREAD
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,6 @@ define HAL_NO_MONITOR_THREAD
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@ define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
define HAL_NO_MONITOR_THREAD
|
define HAL_NO_MONITOR_THREAD
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define HAL_DEVICE_THREAD_STACK 768
|
define HAL_DEVICE_THREAD_STACK 768
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,6 @@ define HAL_NO_GPIO_IRQ
|
||||||
# avoid RCIN thread to save memory
|
# avoid RCIN thread to save memory
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
define PERIPH_FW TRUE
|
define PERIPH_FW TRUE
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
|
|
@ -98,7 +98,6 @@ define HAL_NO_GPIO_IRQ
|
||||||
# avoid RCIN thread to save memory
|
# avoid RCIN thread to save memory
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
define HAL_USE_RTC TRUE
|
define HAL_USE_RTC TRUE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
define PERIPH_FW TRUE
|
define PERIPH_FW TRUE
|
||||||
|
|
|
@ -101,7 +101,6 @@ define HAL_NO_RCIN_THREAD
|
||||||
define __FPU_PRESENT 0
|
define __FPU_PRESENT 0
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,6 @@ define HAL_NO_RCIN_THREAD
|
||||||
define __FPU_PRESENT 0
|
define __FPU_PRESENT 0
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,6 @@ define PORT_INT_REQUIRED_STACK 64
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,6 @@ define HAL_NO_RCIN_THREAD
|
||||||
define HAL_NO_RCOUT_THREAD
|
define HAL_NO_RCOUT_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,6 @@ define PORT_INT_REQUIRED_STACK 64
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,6 @@ define __FPU_PRESENT 0
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define HAL_NO_FLASH_SUPPORT TRUE
|
define HAL_NO_FLASH_SUPPORT TRUE
|
||||||
define HAL_NO_UARTDRIVER TRUE
|
define HAL_NO_UARTDRIVER TRUE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
define HAL_LOGGING_ENABLED 0
|
define HAL_LOGGING_ENABLED 0
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
|
@ -131,7 +131,6 @@ define HAL_DISABLE_ADC_DRIVER TRUE
|
||||||
# ---------------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------------
|
||||||
# AP_Periph - boiler-plate configurations that all HW AP-Periph need
|
# AP_Periph - boiler-plate configurations that all HW AP-Periph need
|
||||||
# ---------------------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------------------
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
#define HAL_NO_GPIO_IRQ
|
#define HAL_NO_GPIO_IRQ
|
||||||
define HAL_DISABLE_LOOP_DELAY
|
define HAL_DISABLE_LOOP_DELAY
|
||||||
|
|
|
@ -96,7 +96,6 @@ define HAL_NO_GPIO_IRQ
|
||||||
define HAL_NO_RCIN_THREAD
|
define HAL_NO_RCIN_THREAD
|
||||||
|
|
||||||
define HAL_USE_RTC FALSE
|
define HAL_USE_RTC FALSE
|
||||||
define DISABLE_SERIAL_ESC_COMM TRUE
|
|
||||||
|
|
||||||
define DMA_RESERVE_SIZE 0
|
define DMA_RESERVE_SIZE 0
|
||||||
|
|
||||||
|
|
|
@ -317,6 +317,10 @@
|
||||||
#define AP_SCRIPTING_ENABLED 0
|
#define AP_SCRIPTING_ENABLED 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAL_SERIAL_ESC_COMM_ENABLED
|
||||||
|
#define HAL_SERIAL_ESC_COMM_ENABLED 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef HAL_WITH_ESC_TELEM
|
#ifndef HAL_WITH_ESC_TELEM
|
||||||
#define HAL_WITH_ESC_TELEM 0
|
#define HAL_WITH_ESC_TELEM 0
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue