remove printf references, add bootloader script, merge hex files

This commit is contained in:
Conor Patrick
2018-12-01 17:10:49 -05:00
parent 93d4112bc3
commit ac7950f4c4
22 changed files with 409 additions and 74 deletions

View File

@@ -71,12 +71,16 @@ bootloader:
make -f bootloader.mk
clean:
rm -f *.o src/*.o src/*.elf *.elf *.hex $(OBJ)
rm -f *.o src/*.o src/*.elf bootloader/*.o $(OBJ)
flash: $(TARGET).hex
STM32_Programmer_CLI -c port=SWD -halt -e all --readunprotect
# STM32_Programmer_CLI -c port=SWD -halt -e all --readunprotect
STM32_Programmer_CLI -c port=SWD -halt -d $(TARGET).hex -rst
flashall:
# STM32_Programmer_CLI -c port=SWD -halt -e all --readunprotect
STM32_Programmer_CLI -c port=SWD -halt -d all.hex -rst
detach:
STM32_Programmer_CLI -c port=usb1 -ob nBOOT0=1