diff options
Diffstat (limited to 'boot/Makefile')
-rw-r--r-- | boot/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/boot/Makefile b/boot/Makefile index 86d4d2c..4891184 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -30,3 +30,19 @@ include ../Makefile.include CFLAGS += -I.. +ds: + $(Q)$(OOCD) -f $(OOCD_INTERFACE) \ + -f $(OOCD_BOARD) \ + +debug: ${PROG}.elf + ${PREFIX}-gdb -x gdb.script ${PROG}.elf + +reset: + $(Q)$(OOCD) -f $(OOCD_INTERFACE) \ + -f $(OOCD_BOARD) \ + -c "init" -c "reset run" \ + -c shutdown + +tidy: + astyle -A3 -s2 --attach-extern-c -L -c -w -Y -m0 -f -p -H -U -k3 -xj -xd ${CSRCS} ${HSRCS} || astyle -A3 -s2 -L -c -w -Y -m0 -f -p -H -U -k3 -xj -xd ${CSRCS} ${HSRCS} + |