add copy-artifact target, and add uf2 for all family board

This commit is contained in:
hathach
2021-01-26 21:19:14 +07:00
parent 4a0f5cbd63
commit e230d683ca
9 changed files with 51 additions and 14 deletions

View File

@@ -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 = \