mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-06 21:08:50 +00:00
[feat] update makefile
This commit is contained in:
parent
c9924b3fd7
commit
1a7d02ee63
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -3,6 +3,7 @@ CHIP?=bl702
|
|||
APP_DIR?=examples
|
||||
APP?=helloworld
|
||||
CPU_ID?=m0
|
||||
COMx?=
|
||||
|
||||
SUPPORT_SHELL?=n
|
||||
SUPPORT_FREERTOS?=n
|
||||
|
@ -43,7 +44,7 @@ build:
|
|||
make -C ./build -f ./project.build
|
||||
|
||||
download:
|
||||
./tools/bflb_flash_tool/bflb_mcu_tool --chipname=$(CHIP) --interface=$(INTERFACE) --baudrate=$(BAUDRATE)
|
||||
./tools/bflb_flash_tool/bflb_mcu_tool --chipname=$(CHIP) --interface=$(INTERFACE) --port=$(COMx) --baudrate=$(BAUDRATE)
|
||||
|
||||
format:
|
||||
find $(FORMAT_DIR)/ -name "*.c" -o -name "*.h" | xargs clang-format -style=file -i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue