hwdef: turn MSP on for periphs lacking explicit define

This commit is contained in:
Peter Barker 2022-11-08 16:10:57 +11:00 committed by Peter Barker
parent 2f1bda4375
commit 9c1246f318
5 changed files with 14 additions and 0 deletions

View File

@ -61,3 +61,6 @@ define HAL_CAN_DRIVER_DEFAULT 1
# listen for reboot command from uploader.py script
# undefine to disable. Use -1 to allow on all ports, otherwise serial number index defined in SERIAL_ORDER starting at 0
define HAL_PERIPH_LISTEN_FOR_SERIAL_UART_REBOOT_CMD_PORT 0
# setup for MSP
define HAL_MSP_ENABLED 1

View File

@ -11,3 +11,6 @@ define HAL_PERIPH_ENABLE_RANGEFINDER
define AP_PERIPH_RANGEFINDER_PORT_DEFAULT 2
define RANGEFINDER_MAX_INSTANCES 1
# setup for MSP
define HAL_MSP_ENABLED 1

View File

@ -221,3 +221,6 @@ PE11 TIM1_CH2 TIM1 PWM(3) GPIO(52)
PE9 TIM1_CH1 TIM1 PWM(4) GPIO(53)
PD13 TIM4_CH2 TIM4 PWM(5) GPIO(54)
PD14 TIM4_CH3 TIM4 PWM(6) GPIO(55)
# setup for MSP
define HAL_MSP_ENABLED 1

View File

@ -12,3 +12,6 @@ define AP_PERIPH_RANGEFINDER_PORT_DEFAULT 3
# we're too low on flash with old compiler for bootloader
define HAL_NO_ROMFS_SUPPORT
# setup for MSP
define HAL_MSP_ENABLED 1

View File

@ -27,3 +27,5 @@ define AIRSPEED_MAX_SENSORS 1
# default ADSB off by setting 0 baudrate
define HAL_PERIPH_ADSB_BAUD_DEFAULT 0
# setup for MSP
define HAL_MSP_ENABLED 1