signed update working

This commit is contained in:
Conor Patrick
2018-12-02 23:31:34 -05:00
parent 0c461bb5d8
commit bfa2d2830d
12 changed files with 116 additions and 270 deletions

View File

@@ -1,9 +1,9 @@
all:
$(MAKE) -f application.mk -j8
$(MAKE) -f application.mk -j8 solo.hex
boot:
$(MAKE) -f bootloader.mk -j8
$(MAKE) -f bootloader.mk -j8 bootloader.hex
clean:
$(MAKE) -f application.mk clean
@@ -14,6 +14,11 @@ flash: solo.hex bootloader.hex
STM32_Programmer_CLI -c port=SWD -halt -e all --readunprotect
STM32_Programmer_CLI -c port=SWD -halt -d all.hex -rst
flashboot: solo.hex bootloader.hex
python merge_hex.py solo.hex bootloader.hex all.hex
STM32_Programmer_CLI -c port=SWD -halt -e all --readunprotect
STM32_Programmer_CLI -c port=SWD -halt -d bootloader.hex -rst
bootloader.hex:
echo "You need to build the bootloader first."