File tree Expand file tree Collapse file tree 6 files changed +17
-18
lines changed Expand file tree Collapse file tree 6 files changed +17
-18
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ firmware.bin: firmware.elf
2323 arm-none-eabi-objcopy -O binary $< $@
2424
2525flash : firmware.bin
26- st-flash --reset write $< 0x8000000
26+ STM32_Programmer_CLI -c port=swd -e all -w $< 0x8000000 -hardRst
2727
2828cmsis_core :
29- git clone --depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
29+ git clone -q -c advice.detachedHead=false - -depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
3030
3131cmsis_f4 :
32- git clone --depth 1 -b v2.6.8 https://github.com/STMicroelectronics/cmsis_device_f4 $@
32+ git clone -q -c advice.detachedHead=false - -depth 1 -b v2.6.8 https://github.com/STMicroelectronics/cmsis_device_f4 $@
3333
3434clean :
3535 $(RM ) firmware.* cmsis_*
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ firmware.bin: firmware.elf
2121 arm-none-eabi-objcopy -O binary $< $@
2222
2323flash : firmware.bin
24- st-flash --reset write $< 0x8000000
24+ STM32_Programmer_CLI -c port=swd -e all -w $< 0x8000000 -hardRst
2525
2626cmsis_core :
27- git clone --depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
27+ git clone -q -c advice.detachedHead=false - -depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
2828
2929cmsis_l4 :
30- git clone --depth 1 -b v1.7.2 https://github.com/STMicroelectronics/cmsis_device_l4 $@
30+ git clone -q -c advice.detachedHead=false - -depth 1 -b v1.7.2 https://github.com/STMicroelectronics/cmsis_device_l4 $@
3131
3232clean :
3333 $(RM ) firmware.* cmsis_*
Original file line number Diff line number Diff line change @@ -28,12 +28,11 @@ flash: firmware.bin
2828 bossac -p /dev/cu.usb* -w -v -b $<
2929
3030cmsis_core :
31- git clone --depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
31+ git clone -q -c advice.detachedHead=false - -depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
3232
3333cmsis_sam :
3434 curl -sL https://packs.download.microchip.com/Microchip.SAME54_DFP.3.8.234.pack -o $@ .zip
3535 mkdir $@ && cd $@ && unzip ../$@ .zip
36- # git clone --depth 1 -b master https://github.com/modm-io/cmsis-header-sam $@
3736
3837clean :
3938 $(RM ) firmware.* cmsis_* * .zip
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ firmware.bin: firmware.elf
2222 arm-none-eabi-objcopy -O binary $< $@
2323
2424flash : firmware.bin
25- st-flash --reset write $< 0x8000000
25+ STM32_Programmer_CLI -c port=swd -e all -w $< 0x8000000 -hardRst
2626
2727cmsis_core :
28- git clone --depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
28+ git clone -q -c advice.detachedHead=false - -depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
2929
3030cmsis_f4 :
31- git clone --depth 1 -b v2.6.8 https://github.com/STMicroelectronics/cmsis_device_f4 $@
31+ git clone -q -c advice.detachedHead=false - -depth 1 -b v2.6.8 https://github.com/STMicroelectronics/cmsis_device_f4 $@
3232
3333clean :
3434 $(RM ) firmware.* cmsis_*
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ firmware.bin: firmware.elf
2121 arm-none-eabi-objcopy -O binary $< $@
2222
2323flash : firmware.bin
24- st-flash --reset write $< 0x8000000
24+ STM32_Programmer_CLI -c port=swd -e all -w $< 0x8000000 -hardRst
2525
2626cmsis_core :
27- git clone --depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
27+ git clone -q -c advice.detachedHead=false - -depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
2828
2929cmsis_l4 :
30- git clone --depth 1 -b v1.7.2 https://github.com/STMicroelectronics/cmsis_device_l4 $@
30+ git clone -q -c advice.detachedHead=false - -depth 1 -b v1.7.2 https://github.com/STMicroelectronics/cmsis_device_l4 $@
3131
3232clean :
3333 $(RM ) firmware.* cmsis_*
Original file line number Diff line number Diff line change @@ -21,17 +21,17 @@ firmware.bin: firmware.elf
2121 arm-none-eabi-objcopy -O binary $< $@
2222
2323flash : firmware.bin
24- st-flash --reset write $< 0x8000000
24+ STM32_Programmer_CLI -c port=swd -e all -w $< 0x8000000 -hardRst
2525
2626cmsis_core :
27- git clone --depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
27+ git clone -q -c advice.detachedHead=false - -depth 1 -b 5.9.0 https://github.com/ARM-software/CMSIS_5 $@
2828
2929cmsis_f3 :
30- git clone --depth 1 -b v2.3.7 https://github.com/STMicroelectronics/cmsis_device_f3 $@
30+ git clone -q -c advice.detachedHead=false - -depth 1 -b v2.3.7 https://github.com/STMicroelectronics/cmsis_device_f3 $@
3131
3232littlefs/lfs.c : littlefs
3333littlefs :
34- git clone --depth 1 -b v2.6.1 https://github.com/littlefs-project/littlefs $@
34+ git clone -q -c advice.detachedHead=false - -depth 1 -b v2.6.1 https://github.com/littlefs-project/littlefs $@
3535
3636clean :
3737 $(RM ) firmware.* cmsis_* littlefs
You can’t perform that action at this time.
0 commit comments