mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
The gpio leg can use either the FMU GPIO_SERVO (Aux Pins) or the FMUv1 style IO pins. We define either LED_ON_SERVO_GPIO or LED_ON_EXT_GPIO_AND_PIO based on if the board_config provides GPIO_SERVO_1 or GPIO_EXT_1. For LED_ON_SERVO_GPIO we further define GPIO_MIN_SERVO_PIN and the GPIO_MAX_SERVO_PIN based on the highest GPIO_SERVO_x provided by the board_config When base the ability to use the PX4PIO not in the existance of the path but on the define BOARD_USES_PX4PIO