mirror of https://github.com/g4klx/MMDVM.git
Workaround for stm32flash bug and STM32F446 Pi version
This commit is contained in:
parent
ce03ad4ab7
commit
7f45a0da83
2
Makefile
2
Makefile
|
@ -178,11 +178,13 @@ endif
|
|||
deploy-pi:
|
||||
ifneq ($(wildcard /usr/local/bin/stm32flash),)
|
||||
-/usr/local/bin/stm32flash -i 20,-21,21:-20,21 /dev/ttyAMA0
|
||||
-/usr/local/bin/stm32ld /dev/ttyAMA0 57600 bin/outp.bin
|
||||
/usr/local/bin/stm32flash -v -w bin/outp.bin -g 0x0 -R -c /dev/ttyAMA0
|
||||
endif
|
||||
|
||||
ifneq ($(wildcard /usr/bin/stm32flash),)
|
||||
-/usr/bin/stm32flash -i 20,-21,21:-20,21 /dev/ttyAMA0
|
||||
-/usr/bin/stm32ld /dev/ttyAMA0 57600 bin/outp.bin
|
||||
/usr/bin/stm32flash -v -w bin/outp.bin -g 0x0 -R -c /dev/ttyAMA0
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue