diff --git a/simulator/Makefile b/simulator/Makefile index ea771d3356..33ffaeaa65 100644 --- a/simulator/Makefile +++ b/simulator/Makefile @@ -262,7 +262,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\" -DSHORT_BOARD_NAME=$(SHORT_BOARD_NAME) # Define ASM defines here