mirror of https://github.com/ArduPilot/ardupilot
parent
6c4da9e38f
commit
f303e5b659
|
@ -17,3 +17,7 @@ undef HAL_BATT_VOLT_SCALE
|
|||
define HAL_BATT_VOLT_SCALE 18.182
|
||||
undef HAL_BATT_CURR_SCALE
|
||||
define HAL_BATT_CURR_SCALE 36.364
|
||||
|
||||
# setup safety switch
|
||||
PE12 LED_SAFETY OUTPUT
|
||||
PE10 SAFETY_IN INPUT PULLDOWN
|
||||
|
|
|
@ -241,6 +241,22 @@ PC11 SDMMC_D3 SDMMC1
|
|||
PC12 SDMMC_CK SDMMC1
|
||||
PD2 SDMMC_CMD SDMMC1
|
||||
|
||||
# red LED marked as B/E
|
||||
PB1 LED_RED OUTPUT GPIO(90)
|
||||
|
||||
# green LED marked as PWR. We leave this solid on, but allow
|
||||
# for it to be controlled as a relay if needed
|
||||
PC6 LED_GREEN OUTPUT GPIO(91) LOW
|
||||
|
||||
# blue LED marked as ACT
|
||||
PC7 LED_BLUE OUTPUT GPIO(92) HIGH
|
||||
|
||||
# setup for BoardLED2
|
||||
define HAL_GPIO_A_LED_PIN 90
|
||||
define HAL_GPIO_B_LED_PIN 92
|
||||
define HAL_GPIO_LED_ON 0
|
||||
|
||||
|
||||
# enable RAMTROM parameter storage
|
||||
define HAL_STORAGE_SIZE 16384
|
||||
define HAL_WITH_RAMTRON 1
|
||||
|
|
Loading…
Reference in New Issue