this is more robust
This commit is contained in:
parent
e5d28022ad
commit
0fef22667d
|
@ -17,7 +17,7 @@
|
|||
#undef TS_SIGNATURE
|
||||
|
||||
#ifndef SHORT_BOARD_NAME
|
||||
#error SHORT_BOARD_NAME must be defined!
|
||||
#define SHORT_BOARD_NAME f407-discovery
|
||||
#endif /* SHORT_BOARD_NAME */
|
||||
|
||||
#pragma message ("SHORT_BOARD_NAME: " QUOTE(SHORT_BOARD_NAME))
|
||||
|
|
|
@ -253,7 +253,7 @@ CPPWARN = -Wall -Wextra -Wundef
|
|||
|
||||
# List all user C define here, like -D_DEBUG=1
|
||||
UDEFS = -DSIMULATOR
|
||||
DDEFS += -DFIRMWARE_ID=\"simulator\" -DSHORT_BOARD_NAME=f407-discovery
|
||||
DDEFS += -DFIRMWARE_ID=\"simulator\"
|
||||
|
||||
|
||||
# Define ASM defines here
|
||||
|
|
|
@ -56,8 +56,6 @@ USE_OPT += -DEFI_UNIT_TEST=1 -DEFI_PROD_CODE=0 -DEFI_SIMULATOR=0
|
|||
# Pretend we are all different hardware so that all canned engine configs are included
|
||||
USE_OPT += -DHW_MICRO_RUSEFI=1 -DHW_PROTEUS=1 -DHW_FRANKENSO=1 -DHW_HELLEN=1
|
||||
|
||||
DDEFS += -DSHORT_BOARD_NAME=f407-discovery
|
||||
|
||||
ifeq ($(CCACHE_DIR),)
|
||||
$(info No CCACHE_DIR)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue