MMDVM HotSpot: firmware for ZUMspot or MMDVM_HS based boards (D-Star, DMR, YSF, P25, NXDN and POCSAG)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Andy CA6JAU 354496817b
Updating and formatting documentation
9 years ago
.gitignore Add git ignore file 9 years ago
ADF7021.cpp Adding support for P25 wide modulation 9 years ago
ADF7021.h Adding support for P25 wide modulation 9 years ago
BUILD.md Updating and formatting documentation 9 years ago
BitRB.cpp Fix serial port bug and several small changes 9 years ago
BitRB.h Fix serial port bug and several small changes 9 years ago
Config.h Updating comments 9 years ago
DMRDMORX.cpp Adding Jonathan G4KLX run-time debugging option 9 years ago
DMRDMORX.h Adding RSSI support for ADF7021, and RSSI for DStar and DMR 9 years ago
DMRDMOTX.cpp Adding Jonathan G4KLX run-time debugging option 9 years ago
DMRDMOTX.h Reverting TX continuous mode in DMR DMO 9 years ago
DMRDefines.h First commit 9 years ago
DMRSlotType.cpp First commit 9 years ago
DMRSlotType.h First commit 9 years ago
DStarDefines.h First commit 9 years ago
DStarRX.cpp Adding Jonathan G4KLX run-time debugging option 9 years ago
DStarRX.h Adding RSSI support for ADF7021, and RSSI for DStar and DMR 9 years ago
DStarTX.cpp Adding Jonathan G4KLX run-time debugging option 9 years ago
DStarTX.h Fix serial port bug and several small changes 9 years ago
Debug.h Adding Jonathan G4KLX run-time debugging option 9 years ago
Globals.h Doubling bit I/O buffer ring 9 years ago
IO.cpp Improving D-Star detection 9 years ago
IO.h Improving D-Star detection 9 years ago
IOArduino.cpp Adding pin definitions for Teensy boards 9 years ago
IOSTM.cpp Moving specific ADF7021 code to ADF7021.cpp 9 years ago
LICENCE First commit 9 years ago
MMDVM_HS.cpp Improving D-Star detection 9 years ago
MMDVM_HS.ino Improving D-Star detection 9 years ago
Makefile Add Git ID to MMDVM description 9 years ago
P25Defines.h First commit 9 years ago
P25RX.cpp Adding Jonathan G4KLX run-time debugging option 9 years ago
P25RX.h Adding RSSI support for P25 9 years ago
P25TX.cpp Adding Jonathan G4KLX run-time debugging option 9 years ago
P25TX.h Fix serial port bug and several small changes 9 years ago
README.md Updating and formatting documentation 9 years ago
SerialArduino.cpp Fix serial repeater port 9 years ago
SerialPort.cpp Revert "Adding Jonathan’s ring buffer to serial repeater" 9 years ago
SerialPort.h Revert "Adding Jonathan’s ring buffer to serial repeater" 9 years ago
SerialRB.cpp First commit 9 years ago
SerialRB.h First commit 9 years ago
SerialSTM.cpp Fix serial repeater port 9 years ago
Utils.cpp First commit 9 years ago
Utils.h First commit 9 years ago
YSFDefines.h First commit 9 years ago
YSFRX.cpp Adding Jonathan G4KLX run-time debugging option 9 years ago
YSFRX.h Adding RSSI support for YSF 9 years ago
YSFTX.cpp Adding Jonathan G4KLX run-time debugging option 9 years ago
YSFTX.h Fix serial port bug and several small changes 9 years ago
bootloader.ld Adding USB bootloader support 9 years ago
normal.ld Adding USB bootloader support 9 years ago
stm32f10x_link.ld Adding USB bootloader support 9 years ago

README.md

Introduction

This is the source code of ZUMSpot, personal hotspot (ADF7021 version of the MMDVM firmware), based on Jonathan G4KLX's MMDVM software. This firmware supports D-Star, DMR, System Fusion and P25 digital modes.

This software is intended to be run on STM32F103 microcontroller. You can build this code using Arduino IDE with STM32duino package, or using "make" with ARM GCC tools. Also, Arduino with 3.3 V I/O (Arduino Due and Zero) and Teensy (3.1, 3.2, 3.5 or 3.6) are supported.

This software is licenced under the GPL v2 and is intended for amateur and educational use only. Use of this software for commercial purposes is strictly forbidden.

Quick start

Please see BUILD.md for more details, and also MMDVM Yahoo Groups.

ZUMSpot Libre Kit (under Linux Raspbian)

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 clone https://github.com/juribeparada/STM32F10X_Lib

Build the firmware with USB bootloader support (the default Config.h is OK for Libre Kit):

make bl

Upload the firmware to ZUMSpot Libre Kit using the USB port (your Libre Kit has the bootloader already installed):

sudo make dfu devser=/dev/ttyACM0

ZUMSpot RPi

Enable serial port in Raspberry Pi 3 or Pi Zero W

This this necessary only if you are installing a fresh copy of Raspbian OS.

Edit /boot/cmdline.txt:

sudo nano /boot/cmdline.txt
(remove the text: console=serial0,115200)

Disable services:

sudo systemctl disable serial-getty@ttyAMA0.service
sudo systemctl disable bluetooth.service

Edit /boot/config.txt

sudo nano /boot/config.txt

and add the following lines at the end of /boot/config.txt:

enable_uart=1
dtoverlay=pi3-disable-bt

Reboot your RPi:

sudo reboot

Build de firmware and upload to ZUMSpot RPi

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

cd ~
git clone https://git.code.sf.net/p/stm32flash/code stm32flash
cd stm32flash
make
sudo make install

Download the firmware sources:

cd ~
git clone https://github.com/juribeparada/MMDVM_HS
cd MMDVM_HS/
git clone https://github.com/juribeparada/STM32F10X_Lib

Edit Config.h

nano Config.h

and enable:

#define PI_HAT_7021_REV_03
#define ENABLE_ADF7021
#define BIDIR_DATA_PIN
#define ADF7021_14_7456
#define STM32_USART1_HOST
#define ENABLE_SCAN_MODE

Build the firmware:

make

Upload the firmware to ZUMSpot RPi board:

sudo make zumspot-pi

Powered by TurnKey Linux.