rusEfi F767 does not start on my custom board #708

This commit is contained in:
rusefi 2019-03-20 16:54:09 -04:00
parent 7d987eb41d
commit 8e3e326603
4 changed files with 40 additions and 6 deletions

View File

@ -0,0 +1,17 @@
rem
rem STM32F767 version of the firmware for F767ZI chip NOT on Nucleo board, with a real oscilattor
rem
cd ../../..
set PROJECT_BOARD=NUCLEO_F767
set PROJECT_CPU=ST_STM32F7
set EXTRA_PARAMS=-DDUMMY -DSTM32F767xx ^
-DEFI_INJECTOR_PIN3=GPIO_UNASSIGNED ^
-DEFI_COMMUNICATION_PIN=GPIOB_7 ^
-DEFI_FATAL_ERROR_PIN=GPIOB_14 ^
-DEFI_ENABLE_ASSERTS=FALSE ^
-DEFI_USE_OSC=TRUE ^
-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
..\misc\hex2dfu\HEX2DFU.exe build/rusefi.hex -out build/rusefi.dfu

View File

@ -55,7 +55,12 @@
#define STM32_HSECLK 8000000U
#endif
// Nucleo boards use MCO signal from St-Link and NOT oscillator - these need STM32_HSE_BYPASS
// if you do not have Sl-Link and MCO on your board, you need EFI_USE_OSC
#ifndef EFI_USE_OSC
#define STM32_HSE_BYPASS
#endif /* EFI_USE_OSC */
/*
* Board voltages.

View File

@ -1,5 +1,5 @@
rm -rf temp
set folder=snapshot_%date:~10%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%_%stm_arch%_rusefi
set folder=snapshot_%date:~10%%date:~4,2%%date:~7,2%_%time:~0,2%%time:~3,2%_%bundle_name%_rusefi
set folder=temp\%folder%
rem this replaces spaces with 0s - that's needed before 10am
@ -12,7 +12,7 @@ rem TODO: extract FTP duplication with 407 build
echo open ftp://u71977750-build:%RUSEFI_BUILD_FTP_PASS%@%FTP_SERVER%/ > ftp_commands.txt
echo binary >> ftp_commands.txt
echo put rusefi_bundle.zip rusefi_bundle_%stm_arch%.zip >> ftp_commands.txt
echo put rusefi_bundle.zip rusefi_bundle_%bundle_name%.zip >> ftp_commands.txt
echo exit >> ftp_commands.txt

View File

@ -16,9 +16,9 @@ cd firmware\config\boards\NUCLEO_F746
call !compile-nucleo_f746.bat
cd ..
pwd
set stm_arch=stm32f746
set bundle_name=stm32f746_nucleo
call misc\jenkins\compile_other_versions\build_version.bat
echo Done with F746
echo Done with F746-nucleo
cd firmware
@ -29,7 +29,19 @@ cd firmware\config\boards\NUCLEO_F767
call !compile-nucleo_f767.bat
cd ..
pwd
set stm_arch=stm32f767
set bundle_name=stm32f767_nucleo
call misc\jenkins\compile_other_versions\build_version.bat
echo Done with F767-nucleo
cd firmware
call clean.bat
cd ..
echo Compiling F767
cd firmware\config\boards\NUCLEO_F767
call !compile-f767.bat
cd ..
pwd
set bundle_name=stm32f767_osc
call misc\jenkins\compile_other_versions\build_version.bat
echo Done with F767-osc
echo Done with F767