diff --git a/Makefile b/Makefile index 14b6cc4..3ce027c 100644 --- a/Makefile +++ b/Makefile @@ -188,7 +188,16 @@ serial: serial-bl: $(STM32FLASH) -v -w STM32F10X_Lib/utils/bootloader/generic_boot20_pc13.bin -g 0x0 $(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: 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