AP_HAL_ChibiOS: remove VRBrain board sub-types

these were only used to turn choose between AP_Notify LED backends, which can be done much more neatly with specific features defines.
This commit is contained in:
Peter Barker 2024-03-22 14:03:51 +11:00 committed by Andrew Tridgell
parent bb76b7f480
commit df19fed523
5 changed files with 10 additions and 10 deletions

View File

@ -1,8 +1,6 @@
# hw definition file for processing by chibios_hwdef.py
# for VRBRAINv51 hardware
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_VRBRAIN_V51
# MCU class and specific type
MCU STM32F4xx STM32F407xx
@ -139,6 +137,8 @@ define HAL_OS_FATFS_IO 1
define HAL_GPIO_LED_ON 0
define HAL_GPIO_LED_OFF 1
define AP_NOTIFY_VRBOARD_LED_ENABLED 1
define AP_NOTIFY_EXTERNALLED_ENABLED 1
define HAL_GPIO_A_LED_PIN 25
define HAL_GPIO_B_LED_PIN 26
define HAL_GPIO_C_LED_PIN 27

View File

@ -1,8 +1,6 @@
# hw definition file for processing by chibios_hwdef.py
# for VRBRAINv52 hardware
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_VRBRAIN_V52
# MCU class and specific type
MCU STM32F4xx STM32F407xx
@ -139,6 +137,8 @@ define HAL_OS_FATFS_IO 1
define HAL_GPIO_LED_ON 0
define HAL_GPIO_LED_OFF 1
define AP_NOTIFY_VRBOARD_LED_ENABLED 1
define AP_NOTIFY_EXTERNALLED_ENABLED 1
define HAL_GPIO_A_LED_PIN 25
define HAL_GPIO_B_LED_PIN 26
define HAL_GPIO_C_LED_PIN 27

View File

@ -1,8 +1,6 @@
# hw definition file for processing by chibios_hwdef.py
# for VRBRAINv54 hardware
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_VRBRAIN_V54
# MCU class and specific type
MCU STM32F4xx STM32F427xx
@ -140,6 +138,8 @@ define HAL_OS_FATFS_IO 1
define HAL_GPIO_LED_ON 0
define HAL_GPIO_LED_OFF 1
define AP_NOTIFY_VRBOARD_LED_ENABLED 1
define AP_NOTIFY_EXTERNALLED_ENABLED 1
define HAL_GPIO_A_LED_PIN 25
define HAL_GPIO_B_LED_PIN 26
define HAL_GPIO_C_LED_PIN 27

View File

@ -1,8 +1,6 @@
# hw definition file for processing by chibios_hwdef.py
# for VRCOREv10 hardware
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_VRCORE_V10
# MCU class and specific type
MCU STM32F4xx STM32F407xx
@ -139,6 +137,8 @@ define HAL_OS_FATFS_IO 1
define HAL_GPIO_LED_ON 0
define HAL_GPIO_LED_OFF 1
define AP_NOTIFY_VRBOARD_LED_ENABLED 1
define AP_NOTIFY_EXTERNALLED_ENABLED 1
define HAL_GPIO_A_LED_PIN 25
define HAL_GPIO_B_LED_PIN 26
define HAL_GPIO_C_LED_PIN 27

View File

@ -1,8 +1,6 @@
# hw definition file for processing by chibios_hwdef.py
# for VRUBRAINv51 hardware
define CONFIG_HAL_BOARD_SUBTYPE HAL_BOARD_SUBTYPE_CHIBIOS_VRUBRAIN_V51
# MCU class and specific type
MCU STM32F4xx STM32F407xx
@ -142,6 +140,8 @@ define HAL_OS_FATFS_IO 1
define HAL_GPIO_LED_ON 0
define HAL_GPIO_LED_OFF 1
define AP_NOTIFY_VRBOARD_LED_ENABLED 1
define AP_NOTIFY_EXTERNALLED_ENABLED 1
define HAL_GPIO_A_LED_PIN 25
define HAL_GPIO_B_LED_PIN 26
define HAL_GPIO_C_LED_PIN 27