Makefile: local openocd config folder

This commit is contained in:
Christina Quast 2015-04-07 18:19:13 +02:00
parent 767fdeb0ca
commit 58c1ae31ee
2 changed files with 3 additions and 1 deletions

View File

@ -178,7 +178,7 @@ endef
$(foreach MEMORY, $(MEMORIES), $(eval $(call RULES,$(MEMORY))))
program:
openocd -f /home/chrysh/ba_thesis/thesis/openocd/openocd.cfg -c "init" -c "halt" -c "flash write_bank 0 ./bin/project-flash.bin 0" -c "reset" -c "shutdown"
openocd -f openocd/openocd.cfg -c "init" -c "halt" -c "flash write_bank 0 ./bin/project-flash.bin 0" -c "reset" -c "shutdown"
clean:
-rm -fR $(OBJ)/*.o $(BIN)/*.bin $(BIN)/*.elf $(BIN)/*.elf.txt $(BIN)/*.map $(BIN)/*.lst

View File

@ -0,0 +1,2 @@
source [find interface/ftdi/jtagkey.cfg]
source [find target/at91sam3sXX.cfg]