mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-23 08:48:35 +03:00
Makefile: local openocd config folder
This commit is contained in:
@@ -178,7 +178,7 @@ endef
|
|||||||
$(foreach MEMORY, $(MEMORIES), $(eval $(call RULES,$(MEMORY))))
|
$(foreach MEMORY, $(MEMORIES), $(eval $(call RULES,$(MEMORY))))
|
||||||
|
|
||||||
program:
|
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:
|
clean:
|
||||||
-rm -fR $(OBJ)/*.o $(BIN)/*.bin $(BIN)/*.elf $(BIN)/*.elf.txt $(BIN)/*.map $(BIN)/*.lst
|
-rm -fR $(OBJ)/*.o $(BIN)/*.bin $(BIN)/*.elf $(BIN)/*.elf.txt $(BIN)/*.map $(BIN)/*.lst
|
||||||
|
|||||||
2
sam3s_example/openocd/openocd.cfg
Normal file
2
sam3s_example/openocd/openocd.cfg
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
source [find interface/ftdi/jtagkey.cfg]
|
||||||
|
source [find target/at91sam3sXX.cfg]
|
||||||
Reference in New Issue
Block a user