Commit ea00f1bf authored by Christian Eichler's avatar Christian Eichler
Browse files

Implement makefile target reset_%

parent 1e692ee9
.PHONY: flash/ids_% flash/bch_%
.PHONY: flash/ids_% flash/bch_% reset_%
#### Setup ####
XMC = $(shell pwd)/XMC
......@@ -109,6 +109,12 @@ bin/xmc.axf: $(OBJS_MAIN) bin/startup_XMC4500.o gene.o
@echo LD $<
@$(CC) -T $(LINKER_FILE) $(LFLAGS) -o bin/xmc.axf $^ $(LIBS)
reset_%:
echo "connect\n\
r\n\
g\n\
exit\n" | $(JLINK) $(JLFLAGS) -SelectEmuBySN $*
gdbsrv:
JLinkGDBServer -device XMC4500-1024 -if SWD -speed 300
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment