Omit canned configs from Proteus (#1159)
* omit presets from proteus * ifdef guard
This commit is contained in:
parent
836aca5426
commit
6307a446d3
|
@ -9,4 +9,4 @@ BOARDINC = $(PROJECT_DIR)/config/boards/nucleo_f767 $(PROJECT_DIR)/config/stm32f
|
||||||
LDSCRIPT= $(PROJECT_DIR)/config/boards/nucleo_f767/STM32F76xxI.ld
|
LDSCRIPT= $(PROJECT_DIR)/config/boards/nucleo_f767/STM32F76xxI.ld
|
||||||
|
|
||||||
# Override DEFAULT_ENGINE_TYPE
|
# Override DEFAULT_ENGINE_TYPE
|
||||||
DDEFS += -DSTM32F767xx -DEFI_USE_OSC=TRUE -DEFI_FATAL_ERROR_PIN=GPIOE_3 -DFIRMWARE_ID=\"proteus\" -DDEFAULT_ENGINE_TYPE=PROTEUS -DUSE_ADC3_VBATT_HACK -DSTM32_ADC_USE_ADC3=TRUE
|
DDEFS += -DSTM32F767xx -DEFI_USE_OSC=TRUE -DEFI_FATAL_ERROR_PIN=GPIOE_3 -DFIRMWARE_ID=\"proteus\" -DDEFAULT_ENGINE_TYPE=PROTEUS -DUSE_ADC3_VBATT_HACK -DSTM32_ADC_USE_ADC3=TRUE -DEFI_INCLUDE_ENGINE_PRESETS=FALSE
|
||||||
|
|
|
@ -246,7 +246,9 @@
|
||||||
/**
|
/**
|
||||||
* Should PnP engine configurations be included in the binary?
|
* Should PnP engine configurations be included in the binary?
|
||||||
*/
|
*/
|
||||||
|
#ifndef EFI_INCLUDE_ENGINE_PRESETS
|
||||||
#define EFI_INCLUDE_ENGINE_PRESETS TRUE
|
#define EFI_INCLUDE_ENGINE_PRESETS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef EFI_ENGINE_SNIFFER
|
#ifndef EFI_ENGINE_SNIFFER
|
||||||
#define EFI_ENGINE_SNIFFER TRUE
|
#define EFI_ENGINE_SNIFFER TRUE
|
||||||
|
|
Loading…
Reference in New Issue