hwdef.dat 516 B

1234567891011121314151617181920212223
  1. # hw definition file for processing by chibios_hwdef.py
  2. # for CUAVv5 hardware.
  3. include ../fmuv5/hwdef.dat
  4. # extra LEDs, active low, used using the pixracer LED scheme
  5. PH10 LED_R1 OUTPUT OPENDRAIN HIGH GPIO(0)
  6. PH11 LED_G1 OUTPUT OPENDRAIN HIGH GPIO(1)
  7. PH12 LED_B1 OUTPUT OPENDRAIN HIGH GPIO(2)
  8. undef HAL_GPIO_A_LED_PIN
  9. undef HAL_GPIO_B_LED_PIN
  10. define HAL_GPIO_A_LED_PIN 0
  11. define HAL_GPIO_B_LED_PIN 1
  12. define HAL_GPIO_C_LED_PIN 2
  13. define HAL_GPIO_LED_ON 0
  14. define HAL_GPIO_LED_OFF 1
  15. define HAL_HAVE_PIXRACER_LED