AP_HAL_ChibiOS: rename LED_1 pin define to AP_NOTIFY_GPIO_LED_1_PIN

This commit is contained in:
Peter Barker 2024-07-23 22:18:41 +10:00 committed by Peter Barker
parent 7f1b7182fb
commit a4577685a7
15 changed files with 15 additions and 15 deletions

View File

@ -101,7 +101,7 @@ PA2 TIM2_CH3 TIM2 PWM(4) GPIO(53) # M4
# LEDs
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PB5 LED0 OUTPUT LOW GPIO(90)
define HAL_GPIO_A_LED_PIN 90
define AP_NOTIFY_GPIO_LED_1_PIN 90
# LED strip
PB6 TIM4_CH1 TIM4 PWM(5) GPIO(56) # M7

View File

@ -124,7 +124,7 @@ PC9 TIM8_CH4 TIM8 PWM(9) GPIO(58) # M9
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PD15 LED0 OUTPUT LOW GPIO(90)
define HAL_GPIO_A_LED_PIN 90
define AP_NOTIFY_GPIO_LED_1_PIN 90
# Dataflash setup
SPIDEV dataflash SPI3 DEVID1 FLASH1_CS MODE3 104*MHZ 104*MHZ

View File

@ -189,7 +189,7 @@ PF5 SAFETY_IN INPUT PULLDOWN
PE3 LED_RED OUTPUT HIGH GPIO(90)
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
define HAL_GPIO_A_LED_PIN 90
define AP_NOTIFY_GPIO_LED_1_PIN 90
define HAL_GPIO_LED_ON 1
# barometers

View File

@ -72,7 +72,7 @@ define BOARD_RSSI_ANA_PIN 13
# LED
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PC10 LED OUTPUT HIGH GPIO(57)
define HAL_GPIO_A_LED_PIN 57
define AP_NOTIFY_GPIO_LED_1_PIN 57
# SPI
PA5 SPI1_SCK SPI1

View File

@ -120,7 +120,7 @@ PA9 TIM1_CH2 TIM1 PWM(9) GPIO(58) # M9
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PC14 LED0 OUTPUT LOW GPIO(90)
define HAL_GPIO_A_LED_PIN 90
define AP_NOTIFY_GPIO_LED_1_PIN 90
# Dataflash setup
SPIDEV dataflash SPI3 DEVID1 FLASH1_CS MODE3 104*MHZ 104*MHZ

View File

@ -108,7 +108,7 @@ PA9 TIM1_CH2 TIM1 PWM(5) GPIO(54) # M5
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PC14 LED0 OUTPUT LOW GPIO(90)
define HAL_GPIO_A_LED_PIN 90
define AP_NOTIFY_GPIO_LED_1_PIN 90
# Dataflash setup
SPIDEV dataflash SPI3 DEVID1 FLASH1_CS MODE3 104*MHZ 104*MHZ

View File

@ -138,7 +138,7 @@ PA8 TIM1_CH1 TIM1 PWM(9) GPIO(58) # M9
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PC13 LED0 OUTPUT LOW GPIO(90)
define HAL_GPIO_A_LED_PIN 90
define AP_NOTIFY_GPIO_LED_1_PIN 90
# Dataflash setup
SPIDEV dataflash SPI3 DEVID1 FLASH1_CS MODE3 104*MHZ 104*MHZ

View File

@ -110,7 +110,7 @@ PA9 TIM1_CH2 TIM1 PWM(9) GPIO(58) # LED
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PC14 LED0 OUTPUT LOW GPIO(90)
define HAL_GPIO_A_LED_PIN 90
define AP_NOTIFY_GPIO_LED_1_PIN 90
# Dataflash setup
SPIDEV dataflash SPI3 DEVID1 FLASH1_CS MODE3 104*MHZ 104*MHZ

View File

@ -139,7 +139,7 @@ define BOARD_RSSI_ANA_PIN 0
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
define HAL_GPIO_A_LED_PIN 41
define AP_NOTIFY_GPIO_LED_1_PIN 41
define OSD_ENABLED 1
define HAL_OSD_TYPE_DEFAULT 1

View File

@ -115,7 +115,7 @@ PA8 TIM1_CH1 TIM1 PWM(5) GPIO(54) # M5
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PC13 LED0 OUTPUT LOW GPIO(90)
define HAL_GPIO_A_LED_PIN 90
define AP_NOTIFY_GPIO_LED_1_PIN 90
# Dataflash setup
SPIDEV dataflash SPI3 DEVID1 FLASH1_CS MODE3 104*MHZ 104*MHZ

View File

@ -77,7 +77,7 @@ PA14 JTCK-SWCLK SWD
PB4 TIM3_CH1 TIM3 GPIO(56) ALARM
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PB5 LED OUTPUT HIGH GPIO(57)
define HAL_GPIO_A_LED_PIN 57
define AP_NOTIFY_GPIO_LED_1_PIN 57
PA11 OTG_FS_DM OTG1
PA12 OTG_FS_DP OTG1

View File

@ -99,7 +99,7 @@ define HAL_BATT_VOLT_SCALE 11
define HAL_BATT_CURR_SCALE 18.2
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
define HAL_GPIO_A_LED_PIN 57
define AP_NOTIFY_GPIO_LED_1_PIN 57
# 64kB FLASH_RESERVE_START_KB means we're lacking a lot of space:
include ../include/minimize_features.inc

View File

@ -143,7 +143,7 @@ define HAL_BATT_CURR_SCALE 18.2
define BOARD_RSSI_ANA_PIN 0
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
define HAL_GPIO_A_LED_PIN 41
define AP_NOTIFY_GPIO_LED_1_PIN 41
define OSD_ENABLED 1
#font for the osd

View File

@ -25,7 +25,7 @@ SERIAL_ORDER OTG1 USART1 USART2 USART3 UART4 UART5 USART6
PC8 LED_BLUE OUTPUT LOW GPIO(0)
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
define HAL_GPIO_A_LED_PIN 0
define AP_NOTIFY_GPIO_LED_1_PIN 0
# buzzer
PC5 BUZZER OUTPUT GPIO(80) LOW

View File

@ -123,7 +123,7 @@ PA8 TIM1_CH1 TIM1 PWM(9) GPIO(58) # M9
define AP_NOTIFY_GPIO_LED_1_ENABLED 1
PC13 LED0 OUTPUT LOW GPIO(90)
define HAL_GPIO_A_LED_PIN 90
define AP_NOTIFY_GPIO_LED_1_PIN 90
# OSD setup
SPIDEV osd SPI2 DEVID1 OSD1_CS MODE0 10*MHZ 10*MHZ