mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
HAL_ChibiOS: fixed LED mapping for fmuv4
This commit is contained in:
parent
f0a7df7cf9
commit
e4a4828203
@ -70,9 +70,7 @@ define HAL_SPEKTRUM_PWR_ENABLED 0
|
||||
PB0 SPEKTRUM_RC INPUT PULLUP GPIO(71)
|
||||
define HAL_GPIO_SPEKTRUM_RC 71
|
||||
|
||||
PB1 LED_GREEN OUTPUT GPIO(0)
|
||||
PB2 BOOT1 INPUT
|
||||
PB3 LED_BLUE OUTPUT GPIO(1)
|
||||
PB5 VDD_BRICK_VALID INPUT
|
||||
|
||||
# USART1 is ESP8266
|
||||
@ -94,7 +92,6 @@ PB9 I2C1_SDA I2C1
|
||||
|
||||
# SPI2 is FRAM
|
||||
PB10 SPI2_SCK SPI2
|
||||
PB11 LED_RED OUTPUT GPIO(2)
|
||||
PB12 CAN2_RX CAN2
|
||||
PB13 CAN2_TX CAN2 # this is SPI2_SCK on beta board
|
||||
PB14 SPI2_MISO SPI2
|
||||
@ -189,11 +186,15 @@ define HAL_HAVE_PIXRACER_LED
|
||||
define HAL_GPIO_LED_ON 0
|
||||
define HAL_GPIO_LED_OFF 1
|
||||
|
||||
# LED setup for PixracerLED driver
|
||||
PB11 LED_RED OUTPUT GPIO(0)
|
||||
PB1 LED_GREEN OUTPUT GPIO(1)
|
||||
PB3 LED_BLUE OUTPUT GPIO(2)
|
||||
|
||||
define HAL_GPIO_A_LED_PIN 0
|
||||
define HAL_GPIO_B_LED_PIN 1
|
||||
define HAL_GPIO_C_LED_PIN 2
|
||||
|
||||
|
||||
# enable RTSCTS
|
||||
define AP_FEATURE_RTSCTS 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user