Compare commits
No commits in common. "c745f865bd8c787ddc4dd5c52f2774234e0f7ff0" and "1e35af770f8da34f1ccfcd991fabede5f832be38" have entirely different histories.
c745f865bd
...
1e35af770f
@ -80,6 +80,7 @@ default: $(target).elf
|
||||
%.hex: %.elf
|
||||
$(QUIET)$(OBJCOPY) -O ihex $^ $@
|
||||
|
||||
|
||||
#Linking
|
||||
$(target).elf: $(OBJ) $(ASOBJ)
|
||||
@echo [LD] $@
|
||||
@ -100,10 +101,7 @@ $(ASOBJ):
|
||||
$(QUIET)$(CC) $(CFLAGS) -MMD -MT $@ $(INCLUDEPATH) $(DEFINES) -o $@ $(@:$(OBJDIR)/%.S.o=%.S)
|
||||
|
||||
|
||||
.PHONY: qtproject clean mrproper objcopy disassemble program
|
||||
|
||||
program: $(target).elf
|
||||
./program-device.sh $<
|
||||
.PHONY: qtproject clean mrproper objcopy disassemble
|
||||
|
||||
disassemble: $(target).elf
|
||||
$(QUIET)$(OBJDUMP) -D -s $< > $(target).lss
|
||||
|
@ -1,10 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ -z $1 ]]; then
|
||||
echo "Usage: $0 <ELF-file>"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
JLinkGDBServer -if SWD -device STM32F407VE &
|
||||
sleep 2
|
||||
|
||||
@ -17,7 +12,7 @@ if [[ $gdbpid == "" ]]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
arm-none-eabi-gdb -x program-device.gdb $1
|
||||
arm-none-eabi-gdb -x program-device.gdb reflow-controller.elf
|
||||
sleep 2
|
||||
|
||||
kill $gdbpid
|
||||
|
Loading…
x
Reference in New Issue
Block a user