mirror of
https://github.com/juribeparada/MMDVM_HS.git
synced 2025-12-06 07:12:08 +01:00
Adding Nano hotSPOT support in Makefile (GPIO flashing sequence for Nano Pi)
This commit is contained in:
parent
03a51452d6
commit
cccf7dad72
11
Makefile
11
Makefile
|
|
@ -188,7 +188,16 @@ serial:
|
||||||
serial-bl:
|
serial-bl:
|
||||||
$(STM32FLASH) -v -w STM32F10X_Lib/utils/bootloader/generic_boot20_pc13.bin -g 0x0 $(devser)
|
$(STM32FLASH) -v -w STM32F10X_Lib/utils/bootloader/generic_boot20_pc13.bin -g 0x0 $(devser)
|
||||||
$(STM32FLASH) -v -w bin/$(BINBIN) -g 0x0 -S 0x08002000 $(devser)
|
$(STM32FLASH) -v -w bin/$(BINBIN) -g 0x0 -S 0x08002000 $(devser)
|
||||||
|
|
||||||
|
nano-hotspot:
|
||||||
|
ifneq ($(wildcard /usr/local/bin/stm32flash),)
|
||||||
|
/usr/local/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 -R -i 200,-3,3:-200,3 /dev/ttyAMA0
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(wildcard /usr/bin/stm32flash),)
|
||||||
|
/usr/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 -R -i 200,-3,3:-200,3 /dev/ttyAMA0
|
||||||
|
endif
|
||||||
|
|
||||||
zumspot-pi:
|
zumspot-pi:
|
||||||
ifneq ($(wildcard /usr/local/bin/stm32flash),)
|
ifneq ($(wildcard /usr/local/bin/stm32flash),)
|
||||||
/usr/local/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
|
/usr/local/bin/stm32flash -v -w bin/$(BINBIN) -g 0x0 -R -i 20,-21,21:-20,21 /dev/ttyAMA0
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue