From 3c4f9dc384300a95ac9c0de7ac15d154af726002 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 13 Jul 2019 15:17:52 -0400 Subject: [PATCH] FIRMWARE_ID --- .../config/boards/nucleo_f746/!compile-stm32f746_nucleo.bat | 1 + .../config/boards/nucleo_f767/!compile-stm32f767_nucleo.bat | 1 + firmware/config/boards/nucleo_f767/!compile-stm32f767_osc.bat | 1 + firmware/config/boards/prometheus/!compile-prometheus_405.bat | 4 +++- firmware/config/boards/prometheus/!compile-prometheus_469.bat | 4 +++- 5 files changed, 9 insertions(+), 2 deletions(-) diff --git a/firmware/config/boards/nucleo_f746/!compile-stm32f746_nucleo.bat b/firmware/config/boards/nucleo_f746/!compile-stm32f746_nucleo.bat index 82ba4ff18a..446d586c97 100644 --- a/firmware/config/boards/nucleo_f746/!compile-stm32f746_nucleo.bat +++ b/firmware/config/boards/nucleo_f746/!compile-stm32f746_nucleo.bat @@ -11,6 +11,7 @@ set PROJECT_CPU=ARCH_STM32F7 set EXTRA_PARAMS=-DDUMMY -DSTM32F746xx ^ -DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^ -DEFI_COMMUNICATION_PIN=GPIOB_7 ^ + -DFIRMWARE_ID=\"nucleo746\" ^ -DEFI_FATAL_ERROR_PIN=GPIOB_14 ^ -DEFI_TOOTH_LOGGER=FALSE ^ -DRAM_UNUSED_SIZE=10 ^ diff --git a/firmware/config/boards/nucleo_f767/!compile-stm32f767_nucleo.bat b/firmware/config/boards/nucleo_f767/!compile-stm32f767_nucleo.bat index e118f0406d..1397faaecc 100644 --- a/firmware/config/boards/nucleo_f767/!compile-stm32f767_nucleo.bat +++ b/firmware/config/boards/nucleo_f767/!compile-stm32f767_nucleo.bat @@ -10,6 +10,7 @@ set PROJECT_BOARD=nucleo_f767 set PROJECT_CPU=ARCH_STM32F7 set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^ -DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^ + -DFIRMWARE_ID=\"nucleo767\" ^ -DEFI_COMMUNICATION_PIN=GPIOB_7 ^ -DEFI_FATAL_ERROR_PIN=GPIOB_14 ^ -DEFI_ENABLE_ASSERTS=FALSE ^ diff --git a/firmware/config/boards/nucleo_f767/!compile-stm32f767_osc.bat b/firmware/config/boards/nucleo_f767/!compile-stm32f767_osc.bat index c106c9aa75..7ced41d213 100644 --- a/firmware/config/boards/nucleo_f767/!compile-stm32f767_osc.bat +++ b/firmware/config/boards/nucleo_f767/!compile-stm32f767_osc.bat @@ -7,6 +7,7 @@ set PROJECT_BOARD=nucleo_f767 set PROJECT_CPU=ARCH_STM32F7 set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^ -DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^ + -DFIRMWARE_ID=\"board767\" ^ -DEFI_COMMUNICATION_PIN=GPIOB_7 ^ -DEFI_FATAL_ERROR_PIN=GPIOB_14 ^ -DEFI_ENABLE_ASSERTS=FALSE ^ diff --git a/firmware/config/boards/prometheus/!compile-prometheus_405.bat b/firmware/config/boards/prometheus/!compile-prometheus_405.bat index 90c4a1eb00..a2bb40c09a 100644 --- a/firmware/config/boards/prometheus/!compile-prometheus_405.bat +++ b/firmware/config/boards/prometheus/!compile-prometheus_405.bat @@ -5,7 +5,9 @@ rem cd ../../.. set PROJECT_BOARD=prometheus set PROMETHEUS_BOARD=405 -set EXTRA_PARAMS="-DDUMMY -DSTM32F405xx -DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE" +set EXTRA_PARAMS=-DDUMMY -DSTM32F405xx -DEFI_ENABLE_ASSERTS=FALSE ^ + -DFIRMWARE_ID=\"prometheus405\" ^ + -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE set DEBUG_LEVEL_OPT="-O2" set USE_BOOTLOADER=yes diff --git a/firmware/config/boards/prometheus/!compile-prometheus_469.bat b/firmware/config/boards/prometheus/!compile-prometheus_469.bat index 978a9221b4..6dd85fac4d 100644 --- a/firmware/config/boards/prometheus/!compile-prometheus_469.bat +++ b/firmware/config/boards/prometheus/!compile-prometheus_469.bat @@ -5,7 +5,9 @@ rem cd ../../.. set PROJECT_BOARD=prometheus set PROMETHEUS_BOARD=469 -set EXTRA_PARAMS="-DDUMMY -DSTM32F469xx -DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE" +set EXTRA_PARAMS=-DDUMMY -DSTM32F469xx -DEFI_ENABLE_ASSERTS=FALSE ^ + -DFIRMWARE_ID=\"prometeus469\" ^ + -DCH_DBG_ENABLE_TRACE=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE set DEBUG_LEVEL_OPT="-O2" set USE_BOOTLOADER=yes