Omit canned configs from Proteus (#1159)

* omit presets from proteus

* ifdef guard
This commit is contained in:
Matthew Kennedy 2020-02-25 16:46:23 -08:00 committed by GitHub
parent 836aca5426
commit 6307a446d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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