[chore] add flash ini for bl808 triplecore

This commit is contained in:
jzlv 2023-03-06 15:28:15 +08:00
parent c46458dd1a
commit 46b6b22b7f
5 changed files with 30 additions and 3 deletions

View file

@ -2,9 +2,17 @@ build_dirs += helloworld_m0
build_dirs += helloworld_d0
build_dirs += helloworld_lp
CHIP ?= bl808
all: $(build_dirs)
$(build_dirs):
make -C $@
.PHONY: $(build_dirs)
BL_SDK_BASE = ./../..
export BL_SDK_BASE
include $(BL_SDK_BASE)/project.build

View file

@ -0,0 +1,19 @@
[cfg]
# 0: no erase, 1:programmed section erase, 2: chip erase
erase = 1
# skip mode set first para is skip addr, second para is skip len, multi-segment region with ; separated
skip_mode = 0x0, 0x0
# 0: not use isp mode, #1: isp mode
boot2_isp_mode = 0
[FW1]
filedir = ./helloworld_m0/build/build_out/helloworld_bl808_m0.bin
address = 0x000000
[FW2]
filedir = ./helloworld_d0/build/build_out/helloworld_bl808_d0.bin
address = 0x100000
[FW3]
filedir = ./helloworld_lp/build/build_out/helloworld_bl808_lp.bin
address = 0x20000

View file

@ -1,5 +1,5 @@
SDK_DEMO_PATH ?= .
BL_SDK_BASE ?= $(SDK_DEMO_PATH)/../../..
BL_SDK_BASE = $(SDK_DEMO_PATH)/../../..
export BL_SDK_BASE

View file

@ -1,5 +1,5 @@
SDK_DEMO_PATH ?= .
BL_SDK_BASE ?= $(SDK_DEMO_PATH)/../../..
BL_SDK_BASE = $(SDK_DEMO_PATH)/../../..
export BL_SDK_BASE

View file

@ -1,5 +1,5 @@
SDK_DEMO_PATH ?= .
BL_SDK_BASE ?= $(SDK_DEMO_PATH)/../../..
BL_SDK_BASE = $(SDK_DEMO_PATH)/../../..
export BL_SDK_BASE