mirror of https://github.com/ArduPilot/ardupilot
hwdef: re-enable RCIN thread on some builds/boards
not because they need it, but to make a PR NFC
This commit is contained in:
parent
994c268644
commit
764f6863ea
|
@ -60,3 +60,4 @@ define AP_PERIPH_BATTERY_BALANCE_RATE_DEFAULT 2
|
|||
define AP_PERIPH_BATTERY_BALANCE_CELL1_PIN_DEFAULT 1
|
||||
define AP_PERIPH_BATTERY_BALANCE_ID_DEFAULT 0
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -128,3 +128,5 @@ define AP_SERIALLED_ENABLED 1
|
|||
define HAL_PERIPH_ENABLE_RANGEFINDER
|
||||
# disable rangefinder by default
|
||||
define AP_PERIPH_RANGEFINDER_PORT_DEFAULT -1
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -122,3 +122,4 @@ define HAL_PERIPH_GPS_PORT_DEFAULT 1
|
|||
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -133,3 +133,4 @@ define HAL_PERIPH_ENABLE_RC_OUT
|
|||
define HAL_PERIPH_GPS_PORT_DEFAULT 1
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -58,3 +58,4 @@ define HAL_GPIO_B_LED_PIN 1
|
|||
define HAL_GPIO_C_LED_PIN 2
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -86,3 +86,4 @@ define STM32_ADC_USE_ADC1 FALSE
|
|||
define STM32_ADC_USE_ADC2 FALSE
|
||||
define STM32_ADC_USE_ADC3 FALSE
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -141,6 +141,4 @@ COMPASS MMC5XX3 I2C:0:0x30 false ROTATION_NONE
|
|||
define AP_COMPASS_QMC5883P_ENABLED 1
|
||||
COMPASS QMC5883P I2C:0:0x2C false ROTATION_YAW_180
|
||||
|
||||
|
||||
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -142,3 +142,5 @@ BARO MS56XX I2C:0:0x76
|
|||
COMPASS QMC5883P I2C:0:0x2C false ROTATION_YAW_180
|
||||
|
||||
define AP_COMPASS_QMC5883P_ENABLED 1
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -153,3 +153,4 @@ env ROMFS_UNCOMPRESSED True
|
|||
DMA_NOSHARE *
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -134,3 +134,4 @@ define HAL_PERIPH_ENABLE_RC_OUT
|
|||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -17,3 +17,5 @@ define HAL_NO_MONITOR_THREAD
|
|||
define HAL_NO_RCOUT_THREAD
|
||||
define HAL_NO_TIMER_THREAD
|
||||
|
||||
undef HAL_RCIN_THREAD_ENABLED
|
||||
define HAL_RCIN_THREAD_ENABLED 0
|
||||
|
|
|
@ -40,6 +40,8 @@ define HAL_USE_ADC FALSE
|
|||
define HAL_NO_MONITOR_THREAD
|
||||
define HAL_NO_RCOUT_THREAD
|
||||
define HAL_NO_TIMER_THREAD
|
||||
undef HAL_RCIN_THREAD_ENABLED
|
||||
define HAL_RCIN_THREAD_ENABLED 0
|
||||
|
||||
# maintain GPS port number compatibility with MatekL431-Periph
|
||||
SERIAL_ORDER EMPTY USART2 USART3
|
||||
|
|
|
@ -102,3 +102,5 @@ define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
|
|||
# keep ROMFS uncompressed as we don't have enough RAM
|
||||
# to uncompress the bootloader at runtime
|
||||
env ROMFS_UNCOMPRESSED True
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -73,3 +73,4 @@ define HAL_USE_ADC TRUE
|
|||
define STM32_ADC_USE_ADC1 TRUE
|
||||
PB11 BAT_CURR_SENS ADC1 SCALE(1)
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -106,3 +106,5 @@ define HAL_PERIPH_ENABLE_AIRSPEED
|
|||
|
||||
# bootloader embedding / bootloader flashing not available
|
||||
define AP_BOOTLOADER_FLASHING_ENABLED 0
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -113,3 +113,5 @@ BARO BMP388 I2C:0:0x76
|
|||
|
||||
# bootloader embedding / bootloader flashing not available
|
||||
define AP_BOOTLOADER_FLASHING_ENABLED 0
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -105,3 +105,5 @@ define HAL_AIRSPEED_TYPE_DEFAULT 1
|
|||
# keep ROMFS uncompressed as we don't have enough RAM
|
||||
# to uncompress the bootloader at runtime
|
||||
env ROMFS_UNCOMPRESSED True
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -146,3 +146,4 @@ define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
|
|||
PC6 USB_SEL OUTPUT PUSHPULL SPEED_LOW HIGH
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -92,3 +92,5 @@ env ROMFS_UNCOMPRESSED True
|
|||
|
||||
# don't share any DMA channels (there are enough for everyone)
|
||||
DMA_NOSHARE *
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
|
@ -61,3 +61,7 @@
|
|||
#ifndef HAL_SERIAL_ESC_COMM_ENABLED
|
||||
#define HAL_SERIAL_ESC_COMM_ENABLED 0
|
||||
#endif
|
||||
|
||||
#ifndef HAL_RCIN_THREAD_ENABLED
|
||||
#define HAL_RCIN_THREAD_ENABLED 0
|
||||
#endif
|
||||
|
|
|
@ -79,5 +79,7 @@ define DISCRETE_RGB_GREEN_PIN 2
|
|||
define DISCRETE_RGB_BLUE_PIN 4
|
||||
define DISCRETE_RGB_POLARITY true
|
||||
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
||||
# don't build on firmware.ardupilot.org
|
||||
AUTOBUILD_TARGETS None
|
||||
|
|
|
@ -124,3 +124,4 @@ PA5 BATT2_VOLTAGE_SENS ADC1 SCALE(1) ANALOG(3)
|
|||
AUTOBUILD_TARGETS None
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_RCIN_THREAD_ENABLED 1
|
||||
|
|
Loading…
Reference in New Issue