mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-04 20:08:44 +00:00
[chore] add flash ini for bl808 triplecore
This commit is contained in:
parent
c46458dd1a
commit
46b6b22b7f
5 changed files with 30 additions and 3 deletions
|
@ -2,9 +2,17 @@ build_dirs += helloworld_m0
|
||||||
build_dirs += helloworld_d0
|
build_dirs += helloworld_d0
|
||||||
build_dirs += helloworld_lp
|
build_dirs += helloworld_lp
|
||||||
|
|
||||||
|
CHIP ?= bl808
|
||||||
|
|
||||||
all: $(build_dirs)
|
all: $(build_dirs)
|
||||||
|
|
||||||
$(build_dirs):
|
$(build_dirs):
|
||||||
make -C $@
|
make -C $@
|
||||||
|
|
||||||
.PHONY: $(build_dirs)
|
.PHONY: $(build_dirs)
|
||||||
|
|
||||||
|
BL_SDK_BASE = ./../..
|
||||||
|
|
||||||
|
export BL_SDK_BASE
|
||||||
|
|
||||||
|
include $(BL_SDK_BASE)/project.build
|
19
examples/bl808_triplecore/flash_prog_cfg.ini
Normal file
19
examples/bl808_triplecore/flash_prog_cfg.ini
Normal 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
|
|
@ -1,5 +1,5 @@
|
||||||
SDK_DEMO_PATH ?= .
|
SDK_DEMO_PATH ?= .
|
||||||
BL_SDK_BASE ?= $(SDK_DEMO_PATH)/../../..
|
BL_SDK_BASE = $(SDK_DEMO_PATH)/../../..
|
||||||
|
|
||||||
export BL_SDK_BASE
|
export BL_SDK_BASE
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SDK_DEMO_PATH ?= .
|
SDK_DEMO_PATH ?= .
|
||||||
BL_SDK_BASE ?= $(SDK_DEMO_PATH)/../../..
|
BL_SDK_BASE = $(SDK_DEMO_PATH)/../../..
|
||||||
|
|
||||||
export BL_SDK_BASE
|
export BL_SDK_BASE
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SDK_DEMO_PATH ?= .
|
SDK_DEMO_PATH ?= .
|
||||||
BL_SDK_BASE ?= $(SDK_DEMO_PATH)/../../..
|
BL_SDK_BASE = $(SDK_DEMO_PATH)/../../..
|
||||||
|
|
||||||
export BL_SDK_BASE
|
export BL_SDK_BASE
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue