This commit is contained in:
parent
3068846bcf
commit
80f38c476a
|
@ -1,7 +1,13 @@
|
||||||
|
|
||||||
cd ../../..
|
cd ../../..
|
||||||
|
|
||||||
set EXTRA_PARAMS=-DDUMMY
|
set EXTRA_PARAMS=-DDUMMY ^
|
||||||
|
-DEFI_COMMUNICATION_PIN=GPIOE_1 ^
|
||||||
|
-DEFI_FATAL_ERROR_PIN=GPIOE_2 ^
|
||||||
|
-DEFI_RUNNING_PIN=GPIOE_3 ^
|
||||||
|
-DEFI_WARNING_PIN=GPIOE_4 ^
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
call config/boards/common_make.bat
|
call config/boards/common_make.bat
|
||||||
|
|
||||||
|
|
|
@ -451,16 +451,25 @@ void setDefaultBasePins(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
#ifdef EFI_FATAL_ERROR_PIN
|
#ifdef EFI_FATAL_ERROR_PIN
|
||||||
engineConfiguration->fatalErrorPin = EFI_FATAL_ERROR_PIN;
|
engineConfiguration->fatalErrorPin = EFI_FATAL_ERROR_PIN;
|
||||||
#else
|
#else
|
||||||
engineConfiguration->fatalErrorPin = GPIOD_14;
|
engineConfiguration->fatalErrorPin = GPIOD_14; // red LED on discovery
|
||||||
#endif /* EFI_FATAL_ERROR_PIN */
|
#endif /* EFI_FATAL_ERROR_PIN */
|
||||||
engineConfiguration->warningLedPin = GPIOD_13;
|
#ifdef EFI_WARNING_PIN
|
||||||
|
engineConfiguration->warningLedPin = EFI_WARNING_PIN;
|
||||||
|
#else
|
||||||
|
engineConfiguration->warningLedPin = GPIOD_13; // orange LED on discovery
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef EFI_COMMUNICATION_PIN
|
#ifdef EFI_COMMUNICATION_PIN
|
||||||
engineConfiguration->communicationLedPin = EFI_COMMUNICATION_PIN;
|
engineConfiguration->communicationLedPin = EFI_COMMUNICATION_PIN;
|
||||||
#else
|
#else
|
||||||
engineConfiguration->communicationLedPin = GPIOD_15; // blue LED on discovery
|
engineConfiguration->communicationLedPin = GPIOD_15; // blue LED on discovery
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef EFI_RUNNING_PIN
|
||||||
|
engineConfiguration->runningLedPin = EFI_RUNNING_PIN;
|
||||||
|
#else
|
||||||
engineConfiguration->runningLedPin = GPIOD_12; // green LED on discovery
|
engineConfiguration->runningLedPin = GPIOD_12; // green LED on discovery
|
||||||
|
#endif
|
||||||
|
|
||||||
#if EFI_PROD_CODE
|
#if EFI_PROD_CODE
|
||||||
// call overrided board-specific serial configuration setup, if needed (for custom boards only)
|
// call overrided board-specific serial configuration setup, if needed (for custom boards only)
|
||||||
|
|
Loading…
Reference in New Issue