diff --git a/firmware/config/boards/nucleo_f746/!compile-nucleo_f746.bat b/firmware/config/boards/nucleo_f746/!compile-nucleo_f746.bat index 5958a10596..2a9f22b591 100644 --- a/firmware/config/boards/nucleo_f746/!compile-nucleo_f746.bat +++ b/firmware/config/boards/nucleo_f746/!compile-nucleo_f746.bat @@ -3,7 +3,7 @@ rem STM32F767 version of the firmware for Nucleo-F746ZG board rem cd ../../.. -set PROJECT_BOARD=NUCLEO_F746 +set PROJECT_BOARD=nucleo_F746 set PROJECT_CPU=ST_STM32F7 set EXTRA_PARAMS=-DDUMMY -DSTM32F746xx ^ -DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^ diff --git a/firmware/config/boards/nucleo_f767/!compile-nucleo_f767.bat b/firmware/config/boards/nucleo_f767/!compile-nucleo_f767.bat index ac4aad6d82..3c6537db56 100644 --- a/firmware/config/boards/nucleo_f767/!compile-nucleo_f767.bat +++ b/firmware/config/boards/nucleo_f767/!compile-nucleo_f767.bat @@ -3,7 +3,7 @@ rem STM32F767 version of the firmware for Nucleo-F767ZI board rem cd ../../.. -set PROJECT_BOARD=NUCLEO_F767 +set PROJECT_BOARD=nucleo_f767 set PROJECT_CPU=ST_STM32F7 set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^ -DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^ @@ -13,6 +13,9 @@ set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^ -DCH_DBG_ENABLE_CHECKS=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 DEBUG_LEVEL_OPT="-O2" make -j4 +if not exist build/rusefi.hex echo FAILED to compile nucleo_f767 +if not exist build/rusefi.hex exit -1 + ..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu rem Clean up so that no one inherits this value diff --git a/firmware/config/boards/nucleo_f767/!compile-f767.bat b/firmware/config/boards/nucleo_f767/!compile-osc_f767.bat similarity index 85% rename from firmware/config/boards/nucleo_f767/!compile-f767.bat rename to firmware/config/boards/nucleo_f767/!compile-osc_f767.bat index d66b6ae67a..75036c453b 100644 --- a/firmware/config/boards/nucleo_f767/!compile-f767.bat +++ b/firmware/config/boards/nucleo_f767/!compile-osc_f767.bat @@ -3,7 +3,7 @@ rem STM32F767 version of the firmware for F767ZI chip NOT on Nucleo board, with rem cd ../../.. -set PROJECT_BOARD=NUCLEO_F767 +set PROJECT_BOARD=nucleo_f767 set PROJECT_CPU=ST_STM32F7 set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^ -DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^ @@ -14,6 +14,9 @@ set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^ -DCH_DBG_ENABLE_CHECKS=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 DEBUG_LEVEL_OPT="-O2" make -j4 +if not exist build/rusefi.hex echo FAILED to compile osc_f767 +if not exist build/rusefi.hex exit -1 + ..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu rem Clean up so that no one inherits this value diff --git a/firmware/config/boards/prometheus/!compile-prometheus-405.bat b/firmware/config/boards/prometheus/!compile-prometheus-405.bat index 5461b20c36..6a3d5e59de 100644 --- a/firmware/config/boards/prometheus/!compile-prometheus-405.bat +++ b/firmware/config/boards/prometheus/!compile-prometheus-405.bat @@ -3,7 +3,7 @@ rem STM32F405 version of the firmware for https://rusefi.com/forum/viewtopic.php rem cd ../../.. -set PROJECT_BOARD=Prometheus +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 DEBUG_LEVEL_OPT="-O2" @@ -11,6 +11,7 @@ set USE_BOOTLOADER=yes rem call compile.bat -r rem temp stuff trying to fix CI make clean +mkdir .dep make -r rem Clean up so that no one inherits this value diff --git a/firmware/config/boards/prometheus/!compile-prometheus-469.bat b/firmware/config/boards/prometheus/!compile-prometheus-469.bat index 6396b4cdfe..e8c74452a8 100644 --- a/firmware/config/boards/prometheus/!compile-prometheus-469.bat +++ b/firmware/config/boards/prometheus/!compile-prometheus-469.bat @@ -3,7 +3,7 @@ rem STM32F469 version of the firmware for https://rusefi.com/forum/viewtopic.php rem cd ../../.. -set PROJECT_BOARD=Prometheus +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 DEBUG_LEVEL_OPT="-O2" @@ -11,6 +11,7 @@ set USE_BOOTLOADER=yes rem call compile.bat -r rem temp stuff trying to fix CI make clean +mkdir .dep make -r rem Clean up so that no one inherits this value