mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-27 02:58:31 -04:00
AP_HAL: add LEDs for BBBMini
Use pins P8.9, P8.10 and P8.11
This commit is contained in:
parent
875538ccb5
commit
203073e543
@ -215,6 +215,11 @@
|
||||
#elif CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BBBMINI
|
||||
#define HAL_BOARD_LOG_DIRECTORY "/var/APM/logs"
|
||||
#define HAL_BOARD_TERRAIN_DIRECTORY "/var/APM/terrain"
|
||||
#define HAL_GPIO_A_LED_PIN 69
|
||||
#define HAL_GPIO_B_LED_PIN 68
|
||||
#define HAL_GPIO_C_LED_PIN 45
|
||||
#define HAL_GPIO_LED_ON LOW
|
||||
#define HAL_GPIO_LED_OFF HIGH
|
||||
#define HAL_INS_DEFAULT HAL_INS_BBBMINI
|
||||
#define HAL_INS_DEFAULT_ROTATION ROTATION_NONE
|
||||
#define HAL_INS_MPU9250_NAME "mpu9250"
|
||||
|
Loading…
Reference in New Issue
Block a user