1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

dist: tools: add edbg

This commit is contained in:
Kaspar Schleiser 2017-05-19 00:28:19 +02:00
parent 8d3b7a28fc
commit 6a9175944c
3 changed files with 19 additions and 0 deletions

1
dist/tools/edbg/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
edbg

13
dist/tools/edbg/Makefile vendored Normal file
View File

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

View File

@ -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!"