Explicit fw (#3968)

* explicit FW ID

* explicit FW ID

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
rusefillc 2022-02-27 00:49:47 -05:00 committed by GitHub
parent 38cb44717e
commit f4fe1ce310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -18,6 +18,7 @@ DDEFS += -DLED_CRITICAL_ERROR_BRAIN_PIN=GPIOG_7
# We are running on Subaru EG33 hardware!
DDEFS += -DHW_SUBARU_EG33=1
DDEFS += -DFIRMWARE_ID=\"EG33\"
# Override DEFAULT_ENGINE_TYPE
DDEFS += -DDEFAULT_ENGINE_TYPE=SUBARUEG33_DEFAULTS

View File

@ -31,7 +31,3 @@
#include "datalogging.h"
#include "cli_registry.h"
#endif /* __cplusplus */
#ifndef FIRMWARE_ID
#define FIRMWARE_ID "source"
#endif

View File

@ -241,6 +241,8 @@ CPPWARN = -Wall -Wextra -Wundef
# List all user C define here, like -D_DEBUG=1
UDEFS = -DSIMULATOR
DDEFS += -DFIRMWARE_ID=\"simulator\"
# Define ASM defines here
UADEFS =