Compare commits

..

No commits in common. "f119433814ff3226fee45965b9406e89e01c33bb" and "18bb0ae1aff139da9fbf678e3bf7ed2c7ac99ebb" have entirely different histories.

4 changed files with 3 additions and 15 deletions

4
.gitmodules vendored
View File

@ -1,7 +1,3 @@
[submodule "stm-firmware/shellmatta"]
path = stm-firmware/shellmatta
url = https://git.shimatta.de/mhu/shellmatta
[submodule "c-style-checker"]
path = c-style-checker
url = https://git.shimatta.de/mhu/c-style-checker.git
branch = master

@ -1 +0,0 @@
Subproject commit 3a58e3dd1c2ef6de78df89c8fdc7ba96b51cd4e0

View File

@ -82,6 +82,7 @@ default: $(target).elf
%.hex: %.elf
$(QUIET)$(OBJCOPY) -O ihex $^ $@
#Linking
$(target).elf: $(OBJ) $(ASOBJ)
@echo [LD] $@
@ -102,10 +103,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

View File

@ -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