This repository has been archived on 2023-07-17. You can view files and clone it, but cannot push or open issues or pull requests.
bl_mcu_sdk/examples/boot2_isp/Makefile
2022-12-21 20:59:44 +08:00

14 lines
298 B
Makefile

SDK_DEMO_PATH ?= .
BL_SDK_BASE ?= $(SDK_DEMO_PATH)/../..
export BL_SDK_BASE
CHIP ?= bl616
BOARD ?= bl616dk
CROSS_COMPILE ?= riscv64-unknown-elf-
CONFIG_BOOT2_VER ?= 1.0.0
# add custom cmake definition
cmake_definition+=-DCONFIG_BOOT2_VER=${CONFIG_BOOT2_VER}
include $(BL_SDK_BASE)/project.build