Makefile: local openocd config folder
diff --git a/sam3s_example/Makefile b/sam3s_example/Makefile
index b702c33..88cab26 100644
--- a/sam3s_example/Makefile
+++ b/sam3s_example/Makefile
@@ -178,7 +178,7 @@
 $(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
diff --git a/sam3s_example/openocd/openocd.cfg b/sam3s_example/openocd/openocd.cfg
new file mode 100644
index 0000000..9ab657a
--- /dev/null
+++ b/sam3s_example/openocd/openocd.cfg
@@ -0,0 +1,2 @@
+source [find interface/ftdi/jtagkey.cfg]
+source [find target/at91sam3sXX.cfg]