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:
parent
8d3b7a28fc
commit
6a9175944c
1
dist/tools/edbg/.gitignore
vendored
Normal file
1
dist/tools/edbg/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
edbg
|
13
dist/tools/edbg/Makefile
vendored
Normal file
13
dist/tools/edbg/Makefile
vendored
Normal 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
|
@ -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…
Reference in New Issue
Block a user