summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-01-26 21:19:14 +0700
committerhathach <[email protected]>2021-01-26 21:19:14 +0700
commite230d683ca5ebda82da66935daa91661ad97c662 (patch)
tree0b9f7743dc1ea2292b250f78e729943f1327566d /examples/make.mk
parent4a0f5cbd6332a9ae76dc2eea293024fab2c81885 (diff)
add copy-artifact target, and add uf2 for all family board
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/make.mk b/examples/make.mk
index 329efa774..e820989b7 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -3,8 +3,10 @@
# ---------------------------------------
# Build directory
-BUILD = _build/$(BOARD)
-PROJECT = $(BOARD)-$(notdir $(CURDIR))
+BUILD := _build/$(BOARD)
+
+PROJECT := $(BOARD)-$(notdir $(CURDIR))
+BIN := $(TOP)/_bin/$(BOARD)/$(notdir $(CURDIR))
# Handy check parameter function
check_defined = \