AP_HAL_ChibiOS: setup led control via lua script for HerePro

This commit is contained in:
bugobliterator 2021-09-17 20:06:33 +05:30 committed by Peter Barker
parent d23e37e3bb
commit dd9f513aa5
2 changed files with 4 additions and 2 deletions

View File

@ -25,8 +25,8 @@ FLASH_SIZE_KB 2048
# the H743 has 128k sectors, we leave 2 sectors for BL
FLASH_BOOTLOADER_LOAD_KB 256
PB15 LED_2 OUTPUT LOW
PB14 LED OUTPUT LOW
PB15 LED_SWITCH_2 OUTPUT HIGH
PB14 LED_SWITCH_1 OUTPUT HIGH
# board voltage
STM32_VDD 330U
@ -55,6 +55,8 @@ PA14 JTCK-SWCLK SWD
define BUILD_DEFAULT_LED_TYPE Notify_LED_ProfiLED_SPI
define NOTIFY_LED_LEN_DEFAULT 16
define CONFIGURE_PPS_PIN TRUE
define HAL_PERIPH_ENABLE_NOTIFY
define HAL_PERIPH_NOTIFY_WITHOUT_RCOUT
FLASH_RESERVE_START_KB 256