mirror of
https://github.com/Fishwaldo/bl808_coprocessor.git
synced 2025-03-15 19:31:39 +00:00
20 lines
No EOL
393 B
Makefile
20 lines
No EOL
393 B
Makefile
SDK_DEMO_PATH ?= .
|
|
BL_SDK_BASE ?= /home/fish/bl808/bl_mcu_sdk
|
|
|
|
export BL_SDK_BASE
|
|
|
|
CHIP ?= bl808
|
|
BOARD ?= bl808dk
|
|
CPU_ID ?= d0
|
|
CROSS_COMPILE ?= riscv64-unknown-elf-
|
|
|
|
# add custom cmake definition
|
|
#cmake_definition+=-Dxxx=sss
|
|
|
|
include $(BL_SDK_BASE)/project.build
|
|
|
|
flash:
|
|
bflb-mcu-tool --chipname=bl808 --firmware build/build_out/ox64_coproc_bl808_m0.bin
|
|
|
|
monitor:
|
|
screen /dev/ttyACM0 2000000
|