mirror of https://github.com/ArduPilot/ardupilot
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:
parent
bb76b7f480
commit
df19fed523
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue