do not require FIRMWARE_ID

This commit is contained in:
rusefillc 2024-01-10 12:57:33 -05:00
parent 009cec6b2b
commit 54061bf163
4 changed files with 6 additions and 3 deletions

View File

@ -10,7 +10,6 @@ DDEFS += -DTRIGGER_SCOPE
export USE_OPENBLT=yes
# Add them all together
DDEFS += -DFIRMWARE_ID=\"AlphaX-2chan\"
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
# pretty temporary

View File

@ -5,7 +5,6 @@ BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
# Add them all together
DDEFS += -DFIRMWARE_ID=\"AlphaX-4chan\"
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
DDEFS += -DADC_MUX_PIN=Gpio::F2

View File

@ -5,7 +5,6 @@ BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
# Add them all together
DDEFS += -DFIRMWARE_ID=\"AlphaX-8chan\"
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
# MM176_GP9

View File

@ -19,6 +19,7 @@
#include "efifeatures.h"
#include "rusefi_types.h"
#include "efi_quote.h"
#include <math.h>
#include <stdio.h>
@ -29,6 +30,11 @@
#include "efilib.h"
#include "efitime.h"
// FIRMWARE_ID is only used to display custom nicer board names to the user in console window and error message
#ifndef FIRMWARE_ID
#define FIRMWARE_ID QUOTE(SHORT_BOARD_NAME)
#endif
#ifdef __cplusplus
#include "datalogging.h"
#include "cli_registry.h"