mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 07:13:56 -04:00
hwdef: re-add ESC control to AP_Periph units which lost it
I'm quite sure that several of these don't actually want it, but want NFC
This commit is contained in:
parent
416f7d393a
commit
33e5b20709
@ -122,6 +122,7 @@ define HAL_PERIPH_ENABLE_NOTIFY
|
||||
define CAN_APP_NODE_NAME "org.ardupilot.ARK_CANNODE"
|
||||
|
||||
# enable ESC control
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_SUPPORT_RCOUT_SERIAL 1
|
||||
define HAL_WITH_ESC_TELEM 1
|
||||
define AP_SERIALLED_ENABLED 1
|
||||
|
@ -124,5 +124,4 @@ define HAL_PERIPH_ENABLE_NOTIFY
|
||||
define HAL_PERIPH_GPS_PORT_DEFAULT 1
|
||||
|
||||
|
||||
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -135,3 +135,4 @@ define HAL_PERIPH_ENABLE_RC_OUT
|
||||
# GPS on 2nd port
|
||||
define HAL_PERIPH_GPS_PORT_DEFAULT 1
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -58,3 +58,5 @@ define HAL_GPIO_B_LED_PIN 1
|
||||
define HAL_GPIO_C_LED_PIN 2
|
||||
define HAL_GPIO_LED_ON 0
|
||||
define HAL_GPIO_LED_OFF 1
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -120,6 +120,7 @@ define HAL_PERIPH_ENABLE_BARO
|
||||
define HAL_PERIPH_ENABLE_RC_OUT
|
||||
|
||||
# enable ESC control
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_SUPPORT_RCOUT_SERIAL 1
|
||||
define HAL_WITH_ESC_TELEM 1
|
||||
|
||||
|
@ -123,6 +123,7 @@ define HAL_PERIPH_ENABLE_BARO
|
||||
define HAL_PERIPH_ENABLE_RC_OUT
|
||||
|
||||
# enable ESC control
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_SUPPORT_RCOUT_SERIAL 1
|
||||
define HAL_WITH_ESC_TELEM 1
|
||||
|
||||
|
@ -151,3 +151,5 @@ env ROMFS_UNCOMPRESSED True
|
||||
|
||||
# don't share any DMA channels (there are enough for everyone)
|
||||
DMA_NOSHARE *
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -132,3 +132,5 @@ define HAL_PERIPH_GPS_PORT_DEFAULT 3
|
||||
# for ProfiLed we need RC out and notify
|
||||
define HAL_PERIPH_ENABLE_RC_OUT
|
||||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -62,3 +62,5 @@ define HAL_MSP_ENABLED 1
|
||||
|
||||
# bootloader embedding / bootloader flashing not available
|
||||
define AP_BOOTLOADER_FLASHING_ENABLED 0
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -29,5 +29,6 @@ define HAL_PERIPH_ENABLE_RC_OUT
|
||||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
# enable ESC control
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_SUPPORT_RCOUT_SERIAL 1
|
||||
define HAL_WITH_ESC_TELEM 1
|
||||
|
@ -77,3 +77,5 @@ PB1 BATT2_CURRENT_SENS ADC1 SCALE(1)
|
||||
define HAL_PERIPH_ENABLE_RC_OUT
|
||||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -23,5 +23,6 @@ define HAL_PERIPH_ENABLE_RC_OUT
|
||||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
# enable ESC control
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_SUPPORT_RCOUT_SERIAL 1
|
||||
define HAL_WITH_ESC_TELEM 1
|
||||
|
@ -31,5 +31,6 @@ define HAL_PERIPH_ENABLE_RC_OUT
|
||||
define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
# enable ESC control
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_SUPPORT_RCOUT_SERIAL 1
|
||||
define HAL_WITH_ESC_TELEM 1
|
||||
|
@ -144,3 +144,5 @@ define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
|
||||
|
||||
# USB select
|
||||
PC6 USB_SEL OUTPUT PUSHPULL SPEED_LOW HIGH
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -118,3 +118,5 @@ define HAL_PERIPH_NEOPIXEL_CHAN_WITHOUT_NOTIFY 0
|
||||
define HAL_PERIPH_NEOPIXEL_COUNT_WITHOUT_NOTIFY 8
|
||||
define DEFAULT_NTF_LED_TYPES 455
|
||||
# PA1 LED OUTPUT LOW GPIO(1)
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -111,3 +111,5 @@ PA3 TIM2_CH4 TIM2 PWM(1)
|
||||
DMA_NOSHARE USART2*
|
||||
|
||||
define CAN_APP_NODE_NAME "in.sierraaerospace.TrueNavPro-G4"
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -114,3 +114,5 @@ define CAN_APP_NODE_NAME "in.sierraaerospace.TrueNavPro"
|
||||
|
||||
# Enable GPS LDO
|
||||
PC13 VDD_3V3_SENSORS_EN OUTPUT HIGH
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -93,3 +93,5 @@ SERIAL_ORDER USART1
|
||||
# USART1
|
||||
PA9 USART1_TX USART1 SPEED_HIGH
|
||||
PB7 USART1_RX USART1 SPEED_HIGH
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -105,3 +105,5 @@ SERIAL_ORDER USART1
|
||||
# USART1
|
||||
PA9 USART1_TX USART1 SPEED_HIGH
|
||||
PA10 USART1_RX USART1 SPEED_HIGH
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
@ -90,6 +90,7 @@ define HAL_PERIPH_ENABLE_RC_OUT
|
||||
#define HAL_PERIPH_ENABLE_NOTIFY
|
||||
|
||||
# enable ESC control
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
define HAL_SUPPORT_RCOUT_SERIAL 1
|
||||
define HAL_WITH_ESC_TELEM 1
|
||||
|
||||
|
@ -57,3 +57,7 @@
|
||||
#ifndef HAL_TIM_UP_SHARED
|
||||
#define HAL_TIM_UP_SHARED (HAL_TIM2_UP_SHARED || HAL_TIM3_UP_SHARED || HAL_TIM4_UP_SHARED)
|
||||
#endif
|
||||
|
||||
#ifndef HAL_SERIAL_ESC_COMM_ENABLED
|
||||
#define HAL_SERIAL_ESC_COMM_ENABLED 0
|
||||
#endif
|
||||
|
@ -122,3 +122,5 @@ PA5 BATT2_VOLTAGE_SENS ADC1 SCALE(1) ANALOG(3)
|
||||
|
||||
# don't build on firmware.ardupilot.org
|
||||
AUTOBUILD_TARGETS None
|
||||
|
||||
define HAL_SERIAL_ESC_COMM_ENABLED 1
|
||||
|
Loading…
Reference in New Issue
Block a user