mirror of https://github.com/FOME-Tech/fome-fw.git
bootloader progress
This commit is contained in:
parent
6015be0bec
commit
b5f6e169ee
|
@ -3,6 +3,7 @@
|
||||||
*.o.d
|
*.o.d
|
||||||
*.o
|
*.o
|
||||||
build/
|
build/
|
||||||
|
blbuild/
|
||||||
Debug_EMS/
|
Debug_EMS/
|
||||||
Release_EMS/
|
Release_EMS/
|
||||||
Debug/
|
Debug/
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
echo Starting compilation for Discovery-407
|
||||||
|
|
||||||
|
rem set PROJECT_BOARD=Prometheus
|
||||||
|
rem set PROMETHEUS_BOARD=405
|
||||||
|
rem set EXTRA_PARAMS=-DDUMMY -DSTM32F405xx -DEFI_ENABLE_ASSERTS=FALSE -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 BOOTLOADER_CODE_PATH="."
|
||||||
|
rem set DEBUG_LEVEL_OPT="-O2"
|
||||||
|
|
||||||
|
call !compile_bootloader.bat -r
|
||||||
|
|
|
@ -131,7 +131,7 @@ include $(PROJECT_DIR)/hw_layer/$(CPU_HWLAYER)/hw_stm32.mk
|
||||||
|
|
||||||
# Define linker script file here
|
# Define linker script file here
|
||||||
ifeq ($(LDSCRIPT),)
|
ifeq ($(LDSCRIPT),)
|
||||||
LDSCRIPT= $(CONFIG)/stm32f4ems/STM32F407xG_CCM.ld
|
LDSCRIPT= $(CONFIG)/stm32f4ems/STM32F407xG.ld
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# C sources that can be compiled in ARM or THUMB mode depending on the global
|
# C sources that can be compiled in ARM or THUMB mode depending on the global
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
/*
|
/*
|
||||||
* STM32F405xG memory setup.
|
* STM32F405xG memory setup.
|
||||||
* Note: Use of ram1 and ram2 is mutually exclusive with use of ram0.
|
* Note: Use of ram1 and ram2 is mutually exclusive with use of ram0.
|
||||||
|
* 'bl' is related to rusefi bootloader
|
||||||
*/
|
*/
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
/*
|
/*
|
||||||
* ST32F469xI memory setup.
|
* ST32F469xI memory setup.
|
||||||
* Note: Use of ram1, ram2 and ram3 is mutually exclusive with use of ram0.
|
* Note: Use of ram1, ram2 and ram3 is mutually exclusive with use of ram0.
|
||||||
|
* 'bl' is related to rusefi bootloader
|
||||||
*/
|
*/
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,10 +17,12 @@
|
||||||
/*
|
/*
|
||||||
* STM32F407xG memory setup.
|
* STM32F407xG memory setup.
|
||||||
* Note: Use of ram1 and ram2 is mutually exclusive with use of ram0.
|
* Note: Use of ram1 and ram2 is mutually exclusive with use of ram0.
|
||||||
|
* 'bl' is related to rusefi bootloader
|
||||||
*/
|
*/
|
||||||
MEMORY
|
MEMORY
|
||||||
{
|
{
|
||||||
flash0 : org = 0x08000000, len = 1M
|
bl : org = 0x08000000, len = 16k /* bootloader section */
|
||||||
|
flash0 : org = DEFINED(BOOTLOADER) ? 0x08008000 : 0x08000000, len = DEFINED(BOOTLOADER) ? 1016k : 1024k
|
||||||
flash1 : org = 0x00000000, len = 0
|
flash1 : org = 0x00000000, len = 0
|
||||||
flash2 : org = 0x00000000, len = 0
|
flash2 : org = 0x00000000, len = 0
|
||||||
flash3 : org = 0x00000000, len = 0
|
flash3 : org = 0x00000000, len = 0
|
||||||
|
|
Loading…
Reference in New Issue