dist: tools: add edbg

master
Kaspar Schleiser 6 years ago
parent 8d3b7a28fc
commit 6a9175944c

@ -0,0 +1,13 @@
PKG_NAME=edbg
PKG_URL=https://github.com/ataradov/edbg
PKG_VERSION=d499ffd8297233b65dd91fd58fb98b9f9a03fec1
PKG_LICENSE=BSD-3-Clause
PKG_BUILDDIR=$(CURDIR)/bin
.PHONY: all
all: git-download
"$(MAKE)" -C $(PKG_BUILDDIR)
mv $(PKG_BUILDDIR)/edbg .
include $(RIOTBASE)/pkg/pkg.mk

@ -9,3 +9,8 @@ $(RIOTBASE)/dist/tools/bossa/bossac:
@echo "[INFO] bossac binary not found - building it from source"
@make -C $(RIOTBASE)/dist/tools/bossa
@echo "[INFO] bossac binary successfully build!"
$(RIOTBASE)/dist/tools/edbg/edbg:
@echo "[INFO] edbg binary not found - building it from source now"
CC= CFLAGS= make -C $(RIOTBASE)/dist/tools/edbg
@echo "[INFO] edbg binary successfully build!"

Loading…
Cancel
Save