From 4ce0878ca6c3798731a0cc7906ad4ac5c8868e7e Mon Sep 17 00:00:00 2001 From: Sergei Date: Tue, 3 Dec 2019 16:38:08 +0300 Subject: [PATCH] added a description for orangepi added a description for orangepi --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 1750276..be8bb7b 100644 --- a/README.md +++ b/README.md @@ -319,3 +319,38 @@ Upload the firmware to ZUMspot RPi board: sudo make zumspot-pi +### MMDVM_HS_Dual_Hat\MMDVM_HS_Hat gpio fw update on OrangePI PC/PC Plus + +Install the necessary software tools: + + sudo apt-get update + sudo apt-get install gcc-arm-none-eabi gdb-arm-none-eabi libstdc++-arm-none-eabi-newlib libnewlib-arm-none-eabi + +Download the sources: + + cd ~ + git clone https://github.com/juribeparada/MMDVM_HS + cd MMDVM_HS/ + git submodule init + git submodule update + +Install the tools for building fw + cd MMDVM_HS/scripts + ./install_buildtools.sh + +Copy /MMDVM_HS/configs/MMDVM_HS_Dual_Hat.h or /MMDVM_HS/configs/MMDVM_HS_Hat.h (MMDVM_HS_Hat-12mhz.h) to /MMDVM_HS/Config.h and build the firmware: + + make + +Stop the MMDVMHost services: + + sudo systemctl stop mmdvmhost.timer + sudo systemctl stop mmdvmhost.service + +Upload the firmware to mmdvm_hs_dual_hat (mmdvm_hs_hat) on OrangePi PC\PC Plus: + + sudo make mmdvm_hs_dual_hat_opi (sudo make mmdvm_hs_hat_opi) +or + sudo /usr/local/bin/stm32flash -v -w bin/mmdvm_f1.bin -g 0x0 -R -i 198,-199,199:-198,199 /dev/ttyS3 + +