mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2026-01-11 19:20:02 +01:00
Adding more upload options for Makefile in Linux/macOS (boot loader options)
This commit is contained in:
parent
b016d6d6cb
commit
9d292fa809
26
Makefile
26
Makefile
|
|
@ -176,5 +176,29 @@ endif
|
|||
|
||||
serial:
|
||||
ifneq ($(wildcard /usr/local/bin/stm32flash),)
|
||||
/usr/local/bin/stm32flash -w bin/$(BINBIN) -g 0x0 $(devser)
|
||||
/usr/local/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 $(devser)
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard /usr/bin/stm32flash),)
|
||||
/usr/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 $(devser)
|
||||
endif
|
||||
|
||||
serial-bl:
|
||||
ifneq ($(wildcard /usr/local/bin/stm32flash),)
|
||||
/usr/local/bin/stm32flash -v -w STM32F10X_Lib/utils/bootloader/generic_boot20_pc13.bin -g 0x0 $(devser)
|
||||
/usr/local/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 -S 0x08002000 $(devser)
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard /usr/bin/stm32flash),)
|
||||
/usr/bin/stm32flash -v -w STM32F10X_Lib/utils/bootloader/generic_boot20_pc13.bin -g 0x0 $(devser)
|
||||
/usr/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 -S 0x08002000 $(devser)
|
||||
endif
|
||||
|
||||
dfu:
|
||||
ifneq ($(wildcard /usr/local/bin/dfu-util),)
|
||||
/usr/local/bin/dfu-util -D bin/$(BINBIN) -d 1eaf:0003 -a 2 -R -R
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard /usr/bin/dfu-util),)
|
||||
/usr/bin/dfu-util -D bin/$(BINBIN) -d 1eaf:0003 -a 2 -R -R
|
||||
endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue