Building MMDVM firmware
On Windows 10
Install bash using these instructions:
Once bash is installed, install GCC for ARM. Open the command prompt and type in the
following instructions.
o
bash
o
sudo apt-get install gcc
o
sudo apt-get install make
o
sudo apt-get remove gcc-arm-none-eabi
o
sudo apt-get install gcc-arm-none-eabi gdb-arm-none-eabi +-arm-none-
eabi-newlib libnewlib-arm-none-eabi
Make sure git is installed. If it isn’t then use this command:
sudo apt-get install git
Get the latest source code from GitHub:
o
git clone
https://github.com/g4klx/MMDVM
o
cd MMDVM
o
git submodule init
o
git submodule update
Edit Config.h. Uncomment the line:
#define MODE_LEDS
o
If you want to connect a Nextion display, then also uncomment the line:
#define SERIAL_REPEATER
To start build run:
make nucleo
Binaries will be under the
bin/
folder
On Ubuntu
Follow the same instructions as
Windows 10
but skip the part about installing bash
On macOS
First install Homebrew:
o
Open the Terminal
o
Paste this in and press Enter:
/usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install
Once Homebrew has been installed, run the following command:
brew install libusb autogen automake wget pkg-config cmake openocd
Install the ARM GCC toolchain:
o
Run the following command:
brew tap ArmMbed/homebrew-formulae
o
Run the following command:
brew install arm-none-eabi-gcc
Get the latest source code from GitHub:
o
git clone
https://github.com/g4klx/MMDVM
o
cd MMDVM
o
git submodule init
o
git submodule update