ardupilot/libraries/AP_HAL_Linux/hwdef/obal/hwdef.dat
Peter Barker 6004ed44c7 AP_HAL_Linux: add and use linux_hwdef.py
like chibios_hwdef.py - but for Linux
2025-02-19 15:42:52 +11:00

18 lines
735 B
Plaintext

# Open Board Architecture for Linux
define HAL_BOARD_LOG_DIRECTORY "/home/pi/ardupilot/logs"
define HAL_BOARD_TERRAIN_DIRECTORY "/home/pi/ardupilot/terrain"
define HAL_BOARD_STORAGE_DIRECTORY "/home/pi/ardupilot"
define HAL_PARAM_DEFAULTS_PATH "/home/pi/ardupilot.parm"
define AP_NOTIFY_GPIO_LED_3_ENABLED 1
define HAL_GPIO_A_LED_PIN 27 // You can choose between 27,22,4,12
define HAL_GPIO_C_LED_PIN 22 // You can choose between 27,22,4,12
define HAL_GPIO_B_LED_PIN 4 // You can choose between 27,22,4,12
define HAL_GPIO_LED_ON 1
define HAL_BUZZER_PIN 12 // You can choose between 27,22,4,12
define OBAL_ALLOW_ADC 1
define HAL_BOARD_SUBTYPE_LINUX_OBAL_V1_MPU_9250_SPI 1