ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Help with other MMDVM Repeater Boards (with NO onboard RF)
Post Reply
KD0BQS
Posts: 3
Joined: Sun May 26, 2019 7:04 pm

ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by KD0BQS »

Pi-Star Version: 4.1.6 - freshly installed from image and updated before firmware build started.
Instructions used: https://github.com/juribeparada/MMDVM_m ... v1_0_en.md
Modifications made to Config.h:
  • none
  • also tried #define SERIAL_SPEED 115200 rather than 460800
When making no changes to Config.h, I see the following error in the MMDVM (MMDVMhost) log:

Code: Select all

M: 2021-11-28 09:49:51.496 Opening the MMDVM
E: 2021-11-28 09:50:04.314 Unable to read the firmware version after six attempts
Slowing down the serial speed to 115200 changes the MMDVM (MMDVMhost) log to:

Code: Select all

M: 2021-11-28 10:30:27.648 Opening the MMDVM
I: 2021-11-28 10:30:29.658 MMDVM protocol version: 2, description:B
E: 2021-11-28 10:30:29.679 Received a NAK to the SET_CONFIG command from the modem
The STAT light on the board is flashing, so it appears that the compiling and flashing process was completely successful, but MMDVMhost is not able to talk to the modem for some reason. What am I missing?

Thanks for any assistance or ideas.

KD0BQS
73!

Here is the full log from the slower 115200 SERIAL_SPEED:

Code: Select all

I: 2021-11-28 10:34:57.227 This software is for use on amateur radio networks only,
I: 2021-11-28 10:34:57.227 it is to be used for educational purposes only. Its use on
I: 2021-11-28 10:34:57.227 commercial networks is strictly prohibited.
I: 2021-11-28 10:34:57.227 Copyright(C) 2015-2020 by Jonathan Naylor, G4KLX and others
M: 2021-11-28 10:34:57.227 MMDVMHost-20210617_PS4 is starting
M: 2021-11-28 10:34:57.227 Built 16:32:57 Jun 17 2021 (GitID #9106fd6)
I: 2021-11-28 10:34:57.227 General Parameters
I: 2021-11-28 10:34:57.227     Callsign: KD0BQS
I: 2021-11-28 10:34:57.227     Id: 310337
I: 2021-11-28 10:34:57.227     Duplex: yes
I: 2021-11-28 10:34:57.227     Timeout: 240s
I: 2021-11-28 10:34:57.227     D-Star: enabled
I: 2021-11-28 10:34:57.227     DMR: enabled
I: 2021-11-28 10:34:57.228     YSF: enabled
I: 2021-11-28 10:34:57.228     P25: disabled
I: 2021-11-28 10:34:57.228     NXDN: disabled
I: 2021-11-28 10:34:57.228     POCSAG: disabled
I: 2021-11-28 10:34:57.228     FM: disabled
I: 2021-11-28 10:34:57.228 Modem Parameters
I: 2021-11-28 10:34:57.228     Port: /dev/ttyAMA0
I: 2021-11-28 10:34:57.228     Protocol: uart
I: 2021-11-28 10:34:57.228     RX Invert: no
I: 2021-11-28 10:34:57.228     TX Invert: yes
I: 2021-11-28 10:34:57.228     PTT Invert: no
I: 2021-11-28 10:34:57.228     TX Delay: 100ms
I: 2021-11-28 10:34:57.228     RX Offset: 0Hz
I: 2021-11-28 10:34:57.228     TX Offset: 0Hz
I: 2021-11-28 10:34:57.228     RX DC Offset: 0
I: 2021-11-28 10:34:57.228     TX DC Offset: 0
I: 2021-11-28 10:34:57.228     RF Level: 100.0%
I: 2021-11-28 10:34:57.228     DMR Delay: 0 (0.0ms)
I: 2021-11-28 10:34:57.228     RX Level: 50.0%
I: 2021-11-28 10:34:57.228     CW Id TX Level: 50.0%
I: 2021-11-28 10:34:57.228     D-Star TX Level: 50.0%
I: 2021-11-28 10:34:57.228     DMR TX Level: 50.0%
I: 2021-11-28 10:34:57.228     YSF TX Level: 50.0%
I: 2021-11-28 10:34:57.228     P25 TX Level: 50.0%
I: 2021-11-28 10:34:57.228     NXDN TX Level: 50.0%
I: 2021-11-28 10:34:57.228     POCSAG TX Level: 50.0%
I: 2021-11-28 10:34:57.228     FM TX Level: 50.0%
I: 2021-11-28 10:34:57.228     TX Frequency: 442450000Hz (442450000Hz)
I: 2021-11-28 10:34:57.228     Use COS as Lockout: no
M: 2021-11-28 10:34:57.231 Opening the MMDVM
I: 2021-11-28 10:34:59.242 MMDVM protocol version: 2, description:B
E: 2021-11-28 10:34:59.262 Received a NAK to the SET_CONFIG command from the modem
KD0BQS
Posts: 3
Joined: Sun May 26, 2019 7:04 pm

Re: ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by KD0BQS »

Hi Jason,
Thanks for the advice! I didn't have a pre-compiled binary laying around, but I did have the git revision (dfad6d8) I last used where the repeater was operational. I just rebuilt a new binary based on that commit and it appears to be working with the same config. Thank you!

I was hoping to try some of the newer FM features and maybe a bit of M17 too, but I think that's a bit out of reach for a lot of folks that use my system. :D

In general, when there is long weekend and I have time, I perform updates to firmware on this device in case something goes awry. I've only had one prior experience that caused extended downtime. https://github.com/g4klx/MMDVM/issues/205. This time would be the second. I really like to keep things up-to-date and try new features of Pi-Star and the related ecosystem, but is there a better way to know when to update the firmware beforehand? Maybe I'm too aggressive in my attempt to keep up-to-date? I would have to guess there is a better way to go about this process, but I'm not sure.

Thanks again!
KD0BQS
73!
M1DNS
Pi-Star Team
Posts: 1386
Joined: Thu Apr 05, 2018 5:30 am

Re: ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by M1DNS »


KD0BQS wrote: Maybe I'm too aggressive in my attempt to keep up-to-date? I would have to guess there is a better way to go about this process, but I'm not sure.

KD0BQS
73!
There is. its a vanilla install of mmdvmhost
and what i suggest to every repeater keeper. esp. onewho wants the newest features or updates within that software.

Pistar was created for the layman Ham, for use with his hotspot. The ones that aren't linux savvy. Those that dont know how to compile, etc.
Bleeding edge features mean you need put in the effort and do the heavy lifting, or at least, until we can get to it. Image

Theres other factors example: FM mode. None of the 7021rf chips (employed in 98% of hotspot devices) support FM transmission. theres also no gateway module for FM mode, its a standalone implementation.
Theres not much use for it to a simplex or duplex hotspot user.
Its important to understand why pistar was created, where its roots lye and who the intended user is, for which it was created.

Hopefully that might go to answer why pistar evolves the way it does?


Sent via smoke signals from my SM-G935F M1DNS (Admin)


Andrew M1DNS.
Pi-star Admin Team.
KD0BQS
Posts: 3
Joined: Sun May 26, 2019 7:04 pm

Re: ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by KD0BQS »

KE7FNS wrote:You pretty much would need to wait for any Pi-Star announcements.
I took a look at the announcements section of this board and It's not clear to me when updating firmware of an MMDVM or MMDVM_HS device would be advised. I've not often encountered an issue, so really never paid much attention to look for something specific here. But, I will keep a look out in the future.
KE7FNS wrote:Pi-Star lags behind with the MMDVMHost software. The reason for that is to try to prevent some recent github commit from completely breaking everyones system and then a lynch mob shows up on the forum with their pitchforks and torches wanting Andy's head.
I completely understand why holding all of the updates back for a portion of a complex system like Pi-Star is often beneficial. It's the same reasoning applied to a lot of "apt" repositories not running the absolute latest version of software all of the time. I truly understand it. As for pitchforks, torches, and lynch mobs; I don't understand that. ;)
KE7FNS wrote:If you want to live on the bleeding edge then maybe Pi-Star isn't the best choice and you should look into setting up your own Linux box and maintaining it yourself.
I think I'll choose to take a hard pass on this! I like Pi-Star and can be patient with new features. My intent was not to chase new features, it was simply to keep my repeater reasonably up-to-date and the long holiday provided extra time to troubleshoot any issues that may arise. Unfortunately, the FW update caused an issue this time and I was successfully able to roll back to an older version with your advice. Thank you!
M1DNS wrote:There is. its a vanilla install of mmdvmhost
and what i suggest to every repeater keeper. esp. onewho wants the newest features or updates within that software.

Pistar was created for the layman Ham, for use with his hotspot. The ones that aren't linux savvy. Those that dont know how to compile, etc.
Bleeding edge features mean you need put in the effort and do the heavy lifting, or at least, until we can get to it.
Ok, I can probably give this a shot on another system with pi-Star and similar hardware to see how it turns out. Thank you for the advice!

I believe I'm savvy enough to do this sort of thing. Say for a moment, that I am successful. How should I best share the information so that it helps with other folks using Pi-Star? I'm accustomed to a world of using git and issuing pull requests and the like, but I don't know this all works for the Pi-Star project.
M1DNS wrote:Theres other factors example: FM mode. None of the 7021rf chips (employed in 98% of hotspot devices) support FM transmission. theres also no gateway module for FM mode, its a standalone implementation.
Theres not much use for it to a simplex or duplex hotspot user.
Its important to understand why pistar was created, where its roots lye and who the intended user is, for which it was created.
Yes, I understand all of this. I also understand it makes an excellent repeater controller too! ;) The pleasant Pi-Star hotspot experience is the primary reason why I didn't hesitate to also use it on a repeater system!

Regards,
KD0BQS
73!
KZ4FOX
Posts: 18
Joined: Fri Jun 28, 2019 6:58 pm

Re: ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by KZ4FOX »

Hey Folks -

Having some problems with my ZUM Radio rev.1.0 board as well. I stupidly decided to update it and broke it xD Im not exactly a linux/unix n00b but nor a developer. I found some helpful posts on compiling for rev 1.0 build and seems to complete but Pi-Star doesn't "see" the board still. Any help would be great. Attached is the console output of the steps I took. 73!

Code: Select all

Linux hotspot2 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l

╔═══════════════════════════════════════════════════════════════════════╗
║                                                                       ║
║           ██████╗ ██╗      ███████╗████████╗ █████╗ ██████╗           ║
║           ██╔══██╗██║      ██╔════╝╚══██╔══╝██╔══██╗██╔══██╗          ║
║           ██████╔╝██║█████╗███████╗   ██║   ███████║██████╔╝          ║
║           ██╔═══╝ ██║╚════╝╚════██║   ██║   ██╔══██║██╔══██╗          ║
║           ██║     ██║      ███████║   ██║   ██║  ██║██║  ██║          ║
║           ╚═╝     ╚═╝      ╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝          ║
║                                                                       ║
╚═══════════════════════════════════════════════════════════════════════╝
The Pi-Star Dashboard can be found at one of the following locations:
http://hotspot2/  http://hotspot2.local/   http://10.86.1.28/

Pi-Star's disk is read-only by default, enable read-write with "rpi-rw".
Pi-Star built by Andy Taylor (MW0MWZ), pi-star tools all start "pistar-".

                     Welcome to Pi-Star: v4.1.5

pi-star@hotspot2(ro):~$ rpi-rw
pi-star@hotspot2(rw):~$ sudo apt-get update
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Hit:3 http://httpredir.debian.org/debian buster-backports InRelease
Reading package lists... Done
pi-star@hotspot2(rw):~$ sudo apt-get install git gcc-arm-none-eabi gdb-arm-none-eabi libstdc++-arm-none-eabi-newlib autoconf libtool pkg-config libusb-1.0-0 libusb-1.0-0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'gdb-multiarch' instead of 'gdb-arm-none-eabi'
git is already the newest version (1:2.20.1-2+deb10u3).
libusb-1.0-0 is already the newest version (2:1.0.22-2).
libusb-1.0-0-dev is already the newest version (2:1.0.22-2).
pkg-config is already the newest version (0.29-6).
The following additional packages will be installed:
  automake autotools-dev binutils-arm-none-eabi gdb libbabeltrace1 libc6-dbg libltdl-dev libltdl7
  libnewlib-arm-none-eabi libnewlib-dev libpython3.7 libsigsegv2 m4
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc gettext gdb-doc gdbserver libtool-doc libnewlib-doc
  gfortran | fortran95-compiler gcj-jdk m4-doc
The following NEW packages will be installed:
  autoconf automake autotools-dev binutils-arm-none-eabi gcc-arm-none-eabi gdb gdb-multiarch
  libbabeltrace1 libc6-dbg libltdl-dev libltdl7 libnewlib-arm-none-eabi libnewlib-dev libpython3.7
  libsigsegv2 libstdc++-arm-none-eabi-newlib libtool m4
0 upgraded, 18 newly installed, 0 to remove and 1 not upgraded.
Need to get 191 MB of archives.
After this operation, 1,777 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.raspberrypi.org/debian buster/main armhf libc6-dbg armhf 2.28-10+rpt2+rpi1 [10.7 MB]
Get:2 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB]
Get:3 http://raspbian.mirror.axinja.net/raspbian buster/main armhf m4 armhf 1.4.18-2 [185 kB]
Get:4 http://raspbian.mirror.axinja.net/raspbian buster/main armhf autoconf all 2.69-11 [341 kB]
Get:5 http://raspbian.mirror.axinja.net/raspbian buster/main armhf autotools-dev all 20180224.1 [77.0 kB]
Get:6 http://raspbian.mirror.axinja.net/raspbian buster/main armhf automake all 1:1.16.1-4 [771 kB]
Get:7 http://raspbian.mirror.axinja.net/raspbian buster/main armhf binutils-arm-none-eabi armhf 2.31.1-11+rpi1+11 [2,006 kB]
Get:8 http://raspbian.mirror.axinja.net/raspbian buster/main armhf gcc-arm-none-eabi armhf 15:7-2018-q2-6 [25.3 MB]
Get:9 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libbabeltrace1 armhf 1.5.6-2+deb10u1 [149 kB]
Get:10 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libpython3.7 armhf 3.7.3-2+deb10u3 [1,253 kB]
Get:11 http://raspbian.mirror.axinja.net/raspbian buster/main armhf gdb armhf 8.2.1-2 [2,725 kB]
Get:12 http://raspbian.mirror.axinja.net/raspbian buster/main armhf gdb-multiarch armhf 8.2.1-2 [2,905 kB]
Get:13 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libltdl7 armhf 2.4.6-9 [387 kB]
Get:14 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libltdl-dev armhf 2.4.6-9 [159 kB]
Get:15 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libnewlib-dev all 3.1.0.20181231-1 [259 kB]
Get:16 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libnewlib-arm-none-eabi all 3.1.0.20181231-1 [32.1 MB]
Get:17 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libstdc++-arm-none-eabi-newlib all 15:7-2018-q2-5+12 [111 MB]
Get:17 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libstdc++-arm-none-eabi-newlib all 15:7-2018-q2-5+12 [111 MB]
Get:18 http://raspbian.mirror.axinja.net/raspbian buster/main armhf libtool all 2.4.6-9 [547 kB]
Fetched 159 MB in 16min 59s (156 kB/s)
Selecting previously unselected package libsigsegv2:armhf.
(Reading database ... 45837 files and directories currently installed.)
Preparing to unpack .../00-libsigsegv2_2.12-2_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../01-m4_1.4.18-2_armhf.deb ...
Unpacking m4 (1.4.18-2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../02-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../03-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../04-automake_1%3a1.16.1-4_all.deb ...
Unpacking automake (1:1.16.1-4) ...
Selecting previously unselected package binutils-arm-none-eabi.
Preparing to unpack .../05-binutils-arm-none-eabi_2.31.1-11+rpi1+11_armhf.deb ...
Unpacking binutils-arm-none-eabi (2.31.1-11+rpi1+11) ...
Selecting previously unselected package gcc-arm-none-eabi.
Preparing to unpack .../06-gcc-arm-none-eabi_15%3a7-2018-q2-6_armhf.deb ...
Unpacking gcc-arm-none-eabi (15:7-2018-q2-6) ...
Selecting previously unselected package libbabeltrace1:armhf.
Preparing to unpack .../07-libbabeltrace1_1.5.6-2+deb10u1_armhf.deb ...
Unpacking libbabeltrace1:armhf (1.5.6-2+deb10u1) ...
Selecting previously unselected package libpython3.7:armhf.
Preparing to unpack .../08-libpython3.7_3.7.3-2+deb10u3_armhf.deb ...
Unpacking libpython3.7:armhf (3.7.3-2+deb10u3) ...
Selecting previously unselected package gdb.
Preparing to unpack .../09-gdb_8.2.1-2_armhf.deb ...
Unpacking gdb (8.2.1-2) ...
Selecting previously unselected package gdb-multiarch.
Preparing to unpack .../10-gdb-multiarch_8.2.1-2_armhf.deb ...
Unpacking gdb-multiarch (8.2.1-2) ...
Selecting previously unselected package libc6-dbg:armhf.
Preparing to unpack .../11-libc6-dbg_2.28-10+rpt2+rpi1_armhf.deb ...
Unpacking libc6-dbg:armhf (2.28-10+rpt2+rpi1) ...
Selecting previously unselected package libltdl7:armhf.
Preparing to unpack .../12-libltdl7_2.4.6-9_armhf.deb ...
Unpacking libltdl7:armhf (2.4.6-9) ...
Selecting previously unselected package libltdl-dev:armhf.
Preparing to unpack .../13-libltdl-dev_2.4.6-9_armhf.deb ...
Unpacking libltdl-dev:armhf (2.4.6-9) ...
Selecting previously unselected package libnewlib-dev.
Preparing to unpack .../14-libnewlib-dev_3.1.0.20181231-1_all.deb ...
Unpacking libnewlib-dev (3.1.0.20181231-1) ...
Selecting previously unselected package libnewlib-arm-none-eabi.
Preparing to unpack .../15-libnewlib-arm-none-eabi_3.1.0.20181231-1_all.deb ...
Unpacking libnewlib-arm-none-eabi (3.1.0.20181231-1) ...
Selecting previously unselected package libstdc++-arm-none-eabi-newlib.
Preparing to unpack .../16-libstdc++-arm-none-eabi-newlib_15%3a7-2018-q2-5+12_all.deb ...
Unpacking libstdc++-arm-none-eabi-newlib (15:7-2018-q2-5+12) ...
Selecting previously unselected package libtool.
Preparing to unpack .../17-libtool_2.4.6-9_all.deb ...
Unpacking libtool (2.4.6-9) ...
Setting up binutils-arm-none-eabi (2.31.1-11+rpi1+11) ...
Setting up libpython3.7:armhf (3.7.3-2+deb10u3) ...
Setting up gcc-arm-none-eabi (15:7-2018-q2-6) ...
Setting up libc6-dbg:armhf (2.28-10+rpt2+rpi1) ...
Setting up autotools-dev (20180224.1) ...
Setting up libsigsegv2:armhf (2.12-2) ...
Setting up libnewlib-dev (3.1.0.20181231-1) ...
Setting up libltdl7:armhf (2.4.6-9) ...
Setting up libbabeltrace1:armhf (1.5.6-2+deb10u1) ...
Setting up libnewlib-arm-none-eabi (3.1.0.20181231-1) ...
Setting up libtool (2.4.6-9) ...
Setting up m4 (1.4.18-2) ...
Setting up gdb (8.2.1-2) ...
Setting up libstdc++-arm-none-eabi-newlib (15:7-2018-q2-5+12) ...
Setting up gdb-multiarch (8.2.1-2) ...
Setting up autoconf (2.69-11) ...
Setting up automake (1:1.16.1-4) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libltdl-dev:armhf (2.4.6-9) ...
Processing triggers for libc-bin (2.28-10+rpt2+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for install-info (6.5.0.dfsg.1-4+b1) ...
pi-star@hotspot2(rw):~$ sudo shutdown -h now
Connection to hotspot2 closed by remote host.
Connection to hotspot2 closed.
 dasos@imac  ~/Downloads  ssh pi-star@hotspot2                      SIG(127) ↵  4481  17:44:30
pi-star@hotspot2's password:
Linux hotspot2 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l

╔═══════════════════════════════════════════════════════════════════════╗
║                                                                       ║
║           ██████╗ ██╗      ███████╗████████╗ █████╗ ██████╗           ║
║           ██╔══██╗██║      ██╔════╝╚══██╔══╝██╔══██╗██╔══██╗          ║
║           ██████╔╝██║█████╗███████╗   ██║   ███████║██████╔╝          ║
║           ██╔═══╝ ██║╚════╝╚════██║   ██║   ██╔══██║██╔══██╗          ║
║           ██║     ██║      ███████║   ██║   ██║  ██║██║  ██║          ║
║           ╚═╝     ╚═╝      ╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝          ║
║                                                                       ║
╚═══════════════════════════════════════════════════════════════════════╝
The Pi-Star Dashboard can be found at one of the following locations:
http://hotspot2/  http://hotspot2.local/   http://10.86.1.28/

Pi-Star's disk is read-only by default, enable read-write with "rpi-rw".
Pi-Star built by Andy Taylor (MW0MWZ), pi-star tools all start "pistar-".

                     Welcome to Pi-Star: v4.1.5

pi-star@hotspot2(ro):~$ rpi-rw
pi-star@hotspot2(rw):~$ cd ~
pi-star@hotspot2(rw):~$ git clone https://github.com/jsnyder/stm32ld
Cloning into 'stm32ld'...
remote: Enumerating objects: 67, done.
remote: Total 67 (delta 0), reused 0 (delta 0), pack-reused 67
Unpacking objects: 100% (67/67), done.
pi-star@hotspot2(rw):~$ cd stm32ld
pi-star@hotspot2(rw):stm32ld$ make
gcc -Wall   -c -o stm32ld.o stm32ld.c
stm32ld.c: In function ‘stm32h_send_command’:
stm32ld.c:35:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
gcc -Wall   -c -o main.o main.c
gcc -Wall   -c -o serial_posix.o serial_posix.c
gcc   stm32ld.o main.o serial_posix.o   -o stm32ld
pi-star@hotspot2(rw):stm32ld$ sudo cp stm32ld /usr/local/bin
pi-star@hotspot2(rw):stm32ld$ sudo apt-get remove libi2c-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libi2c-dev
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 31.7 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 49776 files and directories currently installed.)
Removing libi2c-dev (4.1-1) ...
pi-star@hotspot2(rw):stm32ld$ sudo apt-get remove stm32flash
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  stm32flash
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
After this operation, 63.5 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 49767 files and directories currently installed.)
Removing stm32flash (0.5-1) ...
Processing triggers for man-db (2.8.5-2) ...
pi-star@hotspot2(rw):stm32ld$ cd ~
pi-star@hotspot2(rw):~$ git clone https://git.code.sf.net/p/stm32flash/code stm32flash
Cloning into 'stm32flash'...
remote: Enumerating objects: 1467, done.
remote: Counting objects: 100% (1467/1467), done.
remote: Compressing objects: 100% (792/792), done.
remote: Total 1467 (delta 988), reused 994 (delta 671)
Receiving objects: 100% (1467/1467), 1.06 MiB | 1.79 MiB/s, done.
Resolving deltas: 100% (988/988), done.
pi-star@hotspot2(rw):~$ cd stm32flash
pi-star@hotspot2(rw):stm32flash$ make
cc -Wall -g   -c -o dev_table.o dev_table.c
cc -Wall -g   -c -o i2c.o i2c.c
cc -Wall -g   -c -o init.o init.c
cc -Wall -g   -c -o main.o main.c
cc -Wall -g   -c -o port.o port.c
cc -Wall -g   -c -o serial_common.o serial_common.c
cc -Wall -g   -c -o serial_platform.o serial_platform.c
cc -Wall -g   -c -o stm32.o stm32.c
cc -Wall -g   -c -o utils.o utils.c
cd parsers && make parsers.a
make[1]: Entering directory '/home/pi-star/stm32flash/parsers'
cc -Wall -g   -c -o binary.o binary.c
cc -Wall -g   -c -o hex.o hex.c
ar rc parsers.a binary.o hex.o
make[1]: Leaving directory '/home/pi-star/stm32flash/parsers'
cc  -o stm32flash dev_table.o i2c.o init.o main.o port.o serial_common.o serial_platform.o stm32.o utils.o parsers/parsers.a
pi-star@hotspot2(rw):stm32flash$ sudo make install
cd parsers && make parsers.a
make[1]: Entering directory '/home/pi-star/stm32flash/parsers'
make[1]: 'parsers.a' is up to date.
make[1]: Leaving directory '/home/pi-star/stm32flash/parsers'
install -d /usr/local/bin
install -m 755 stm32flash /usr/local/bin
install -d /usr/local/share/man/man1
install -m 644 stm32flash.1 /usr/local/share/man/man1
pi-star@hotspot2(rw):stm32flash$ cd ~
pi-star@hotspot2(rw):~$ git clone https://github.com/g4klx/MMDVM
Cloning into 'MMDVM'...
remote: Enumerating objects: 6134, done.
remote: Counting objects: 100% (471/471), done.
remote: Compressing objects: 100% (325/325), done.
remote: Total 6134 (delta 325), reused 277 (delta 146), pack-reused 5663
Receiving objects: 100% (6134/6134), 4.34 MiB | 2.18 MiB/s, done.
Resolving deltas: 100% (4244/4244), done.
pi-star@hotspot2(rw):~$pi-star@hotspot2(rw):~$ cd MMDVM
pi-star@hotspot2(rw):MMDVM$ git submodule init
Submodule 'STM32F10X_Lib' (https://github.com/shawnchain/STM32F10X_Lib.git) registered for path 'STM32F10X_Lib'
Submodule 'STM32F4XX_Lib' (https://github.com/juribeparada/STM32F4XX_Lib.git) registered for path 'STM32F4XX_Lib'
Submodule 'STM32F7XX_Lib' (https://github.com/juribeparada/STM32F7XX_Lib.git) registered for path 'STM32F7XX_Lib'
pi-star@hotspot2(rw):MMDVM$ git submodule update
Cloning into '/home/pi-star/MMDVM/STM32F10X_Lib'...
Cloning into '/home/pi-star/MMDVM/STM32F4XX_Lib'...
Cloning into '/home/pi-star/MMDVM/STM32F7XX_Lib'...
Submodule path 'STM32F10X_Lib': checked out '417e0c2f4a4571ff836d2705d7551bd07ebbf777'
remote: Enumerating objects: 13, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 13 (delta 3), reused 13 (delta 3), pack-reused 0
Unpacking objects: 100% (13/13), done.
From https://github.com/juribeparada/STM32F4XX_Lib
 * branch            18aeb6ea3a236088fc9f376077c651098e3a495e -> FETCH_HEAD
Submodule path 'STM32F4XX_Lib': checked out '18aeb6ea3a236088fc9f376077c651098e3a495e'
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 7 (delta 3), reused 3 (delta 3), pack-reused 4
Unpacking objects: 100% (7/7), done.
From https://github.com/juribeparada/STM32F7XX_Lib
 * branch            6241f7c05eeb6cf1ecd16ca0274bf310efee853f -> FETCH_HEAD
Submodule path 'STM32F7XX_Lib': checked out '6241f7c05eeb6cf1ecd16ca0274bf310efee853f'
pi-star@hotspot2(rw):MMDVM$ make pi-f722
echo "#define GITVERSION \"416fc8f\"" > GitVersion.h
mkdir bin
mkdir obj_f7
arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FMUpSampler.cpp -o obj_f7/FMUpSampler.o
Compiled FMUpSampler.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE DMRDMOTX.cpp -o obj_f7/DMRDMOTX.o
Compiled DMRDMOTX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE IOSTM.cpp -o obj_f7/IOSTM.o
Compiled IOSTM.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE SerialArduino.cpp -o obj_f7/SerialArduino.o
Compiled SerialArduino.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FMCTCSSRX.cpp -o obj_f7/FMCTCSSRX.o
Compiled FMCTCSSRX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE POCSAGTX.cpp -o obj_f7/POCSAGTX.o
Compiled POCSAGTX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE AX25Frame.cpp -o obj_f7/AX25Frame.o
Compiled AX25Frame.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FMCTCSSTX.cpp -o obj_f7/FMCTCSSTX.o
Compiled FMCTCSSTX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE SerialTeensy.cpp -o obj_f7/SerialTeensy.o
Compiled SerialTeensy.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FMKeyer.cpp -o obj_f7/FMKeyer.o
Compiled FMKeyer.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE IODue.cpp -o obj_f7/IODue.o
Compiled IODue.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE SerialPort.cpp -o obj_f7/SerialPort.o
Compiled SerialPort.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE DStarRX.cpp -o obj_f7/DStarRX.o
Compiled DStarRX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FMBlanking.cpp -o obj_f7/FMBlanking.o
Compiled FMBlanking.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CalNXDN.cpp -o obj_f7/CalNXDN.o
Compiled CalNXDN.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FMTimer.cpp -o obj_f7/FMTimer.o
Compiled FMTimer.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FM.cpp -o obj_f7/FM.o
Compiled FM.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE SerialSTM_CMSIS.cpp -o obj_f7/SerialSTM_CMSIS.o
Compiled SerialSTM_CMSIS.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FMTimeout.cpp -o obj_f7/FMTimeout.o
Compiled FMTimeout.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE M17RX.cpp -o obj_f7/M17RX.o
Compiled M17RX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE IO.cpp -o obj_f7/IO.o
Compiled IO.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE AX25TX.cpp -o obj_f7/AX25TX.o
Compiled AX25TX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE AX25Demodulator.cpp -o obj_f7/AX25Demodulator.o
Compiled AX25Demodulator.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE YSFTX.cpp -o obj_f7/YSFTX.o
Compiled YSFTX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FMDownSampler.cpp -o obj_f7/FMDownSampler.o
Compiled FMDownSampler.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE DMRIdleRX.cpp -o obj_f7/DMRIdleRX.o
Compiled DMRIdleRX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE MMDVM.cpp -o obj_f7/MMDVM.o
Compiled MMDVM.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CalDStarRX.cpp -o obj_f7/CalDStarRX.o
Compiled CalDStarRX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE DStarTX.cpp -o obj_f7/DStarTX.o
Compiled DStarTX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE NXDNRX.cpp -o obj_f7/NXDNRX.o
Compiled NXDNRX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE Utils.cpp -o obj_f7/Utils.o
Compiled Utils.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CalPOCSAG.cpp -o obj_f7/CalPOCSAG.o
Compiled CalPOCSAG.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE P25TX.cpp -o obj_f7/P25TX.o
Compiled P25TX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CalM17.cpp -o obj_f7/CalM17.o
Compiled CalM17.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STMUART.cpp -o obj_f7/STMUART.o
Compiled STMUART.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE FMNoiseSquelch.cpp -o obj_f7/FMNoiseSquelch.o
Compiled FMNoiseSquelch.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE DMRDMORX.cpp -o obj_f7/DMRDMORX.o
Compiled DMRDMORX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE YSFRX.cpp -o obj_f7/YSFRX.o
Compiled YSFRX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE M17TX.cpp -o obj_f7/M17TX.o
Compiled M17TX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CalFM.cpp -o obj_f7/CalFM.o
Compiled CalFM.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE DMRSlotRX.cpp -o obj_f7/DMRSlotRX.o
Compiled DMRSlotRX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE IOTeensy.cpp -o obj_f7/IOTeensy.o
Compiled IOTeensy.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE DMRRX.cpp -o obj_f7/DMRRX.o
Compiled DMRRX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CalDMR.cpp -o obj_f7/CalDMR.o
Compiled CalDMR.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE AX25RX.cpp -o obj_f7/AX25RX.o
Compiled AX25RX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CalP25.cpp -o obj_f7/CalP25.o
Compiled CalP25.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE DMRSlotType.cpp -o obj_f7/DMRSlotType.o
Compiled DMRSlotType.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE AX25Twist.cpp -o obj_f7/AX25Twist.o
Compiled AX25Twist.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE NXDNTX.cpp -o obj_f7/NXDNTX.o
Compiled NXDNTX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE P25RX.cpp -o obj_f7/P25RX.o
Compiled P25RX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CalRSSI.cpp -o obj_f7/CalRSSI.o
Compiled CalRSSI.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CalDStarTX.cpp -o obj_f7/CalDStarTX.o
Compiled CalDStarTX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE CWIdTX.cpp -o obj_f7/CWIdTX.o
Compiled CWIdTX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE SerialSTM.cpp -o obj_f7/SerialSTM.o
Compiled SerialSTM.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE DMRTX.cpp -o obj_f7/DMRTX.o
Compiled DMRTX.cpp!

arm-none-eabi-g++ -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-builtin -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE IOSTM_CMSIS.cpp -o obj_f7/IOSTM_CMSIS.o
Compiled IOSTM_CMSIS.cpp!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_dac.c -o obj_f7/stm32f7xx_dac.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_dac.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_pwr.c -o obj_f7/stm32f7xx_pwr.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_pwr.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_i2c.c -o obj_f7/stm32f7xx_i2c.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_i2c.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_rcc.c -o obj_f7/stm32f7xx_rcc.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_rcc.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_flash.c -o obj_f7/stm32f7xx_flash.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_flash.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_usart.c -o obj_f7/stm32f7xx_usart.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_usart.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/misc.c -o obj_f7/misc.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/misc.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_tim.c -o obj_f7/stm32f7xx_tim.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_tim.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_adc.c -o obj_f7/stm32f7xx_adc.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_adc.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_gpio.c -o obj_f7/stm32f7xx_gpio.o
Compiled STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/src/stm32f7xx_gpio.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/Device/system_stm32f7xx.c -o obj_f7/system_stm32f7xx.o
Compiled STM32F7XX_Lib/Device/system_stm32f7xx.c!

arm-none-eabi-gcc -Os -ffunction-sections -fdata-sections -fno-builtin -Wno-implicit -DCUSTOM_NEW -DNO_EXCEPTIONS -c -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork -I. -I./STM32F7XX_Lib/CMSIS/Include/ -I./STM32F7XX_Lib/Device/ -I./STM32F7XX_Lib/STM32F7xx_StdPeriph_Driver/inc/ -DUSE_HAL_DRIVER -DSTM32F722xx -DSTM32F7XX -DSTM32F722_PI -DHSE_VALUE=12000000 -DMADEBYMAKEFILE STM32F7XX_Lib/Device/startup/startup_stm32f7xx.c -o obj_f7/startup_stm32f7xx.o
Compiled STM32F7XX_Lib/Device/startup/startup_stm32f7xx.c!

arm-none-eabi-g++ obj_f7/FMUpSampler.o obj_f7/DMRDMOTX.o obj_f7/IOSTM.o obj_f7/SerialArduino.o obj_f7/FMCTCSSRX.o obj_f7/POCSAGTX.o obj_f7/AX25Frame.o obj_f7/FMCTCSSTX.o obj_f7/SerialTeensy.o obj_f7/FMKeyer.o obj_f7/IODue.o obj_f7/SerialPort.o obj_f7/DStarRX.o obj_f7/FMBlanking.o obj_f7/CalNXDN.o obj_f7/FMTimer.o obj_f7/FM.o obj_f7/SerialSTM_CMSIS.o obj_f7/FMTimeout.o obj_f7/M17RX.o obj_f7/IO.o obj_f7/AX25TX.o obj_f7/AX25Demodulator.o obj_f7/YSFTX.o obj_f7/FMDownSampler.o obj_f7/DMRIdleRX.o obj_f7/MMDVM.o obj_f7/CalDStarRX.o obj_f7/DStarTX.o obj_f7/NXDNRX.o obj_f7/Utils.o obj_f7/CalPOCSAG.o obj_f7/P25TX.o obj_f7/CalM17.o obj_f7/STMUART.o obj_f7/FMNoiseSquelch.o obj_f7/DMRDMORX.o obj_f7/YSFRX.o obj_f7/M17TX.o obj_f7/CalFM.o obj_f7/DMRSlotRX.o obj_f7/IOTeensy.o obj_f7/DMRRX.o obj_f7/CalDMR.o obj_f7/AX25RX.o obj_f7/CalP25.o obj_f7/DMRSlotType.o obj_f7/AX25Twist.o obj_f7/NXDNTX.o obj_f7/P25RX.o obj_f7/CalRSSI.o obj_f7/CalDStarTX.o obj_f7/CWIdTX.o obj_f7/SerialSTM.o obj_f7/DMRTX.o obj_f7/IOSTM_CMSIS.o obj_f7/stm32f7xx_dac.o obj_f7/stm32f7xx_pwr.o obj_f7/stm32f7xx_i2c.o obj_f7/stm32f7xx_rcc.o obj_f7/stm32f7xx_flash.o obj_f7/stm32f7xx_usart.o obj_f7/misc.o obj_f7/stm32f7xx_tim.o obj_f7/stm32f7xx_adc.o obj_f7/stm32f7xx_gpio.o obj_f7/system_stm32f7xx.o obj_f7/startup_stm32f7xx.o -Os --specs=nano.specs -Wl,-Map=bin/mmdvm.map -T stm32f722_link.ld -mcpu=cortex-m7 -mthumb -mlittle-endian -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb-interwork --specs=nosys.specs ./STM32F7XX_Lib/CMSIS/Lib/GCC/libarm_cortexM7lfsp_math.a -o bin/mmdvm_f7.elf
Linking complete!

arm-none-eabi-size bin/mmdvm_f7.elf
   text	   data	    bss	    dec	    hex	filename
 337688	   2428	  74444	 414560	  65360	bin/mmdvm_f7.elf
arm-none-eabi-objcopy -O ihex bin/mmdvm_f7.elf bin/mmdvm_f7.hex
Objcopy from ELF to IHEX complete!

arm-none-eabi-objcopy -O binary bin/mmdvm_f7.elf bin/mmdvm_f7.bin
Objcopy from ELF to BINARY complete!

pi-star@hotspot2(rw):MMDVM$ sudo make deploy-pi-f7
/usr/local/bin/stm32flash -i 20,-21,21:-20,21 /dev/ttyAMA0
stm32flash 0.6

http://stm32flash.sourceforge.net/

Interface serial_posix: 57600 8E1

GPIO sequence start
 setting gpio 20 to 1... OK
 delay 100000 us
 setting gpio 21 to 0... OK
 delay 100000 us
 setting gpio 21 to 1... OK
GPIO sequence end

Failed to init device after retry.

GPIO sequence start
 setting gpio 20 to 0... OK
 delay 100000 us
 setting gpio 21 to 1... OK
GPIO sequence end


make: [Makefile:386: deploy-pi-f7] Error 1 (ignored)
/usr/local/bin/stm32flash -v -w bin/mmdvm_f7.bin -g 0x0 -R /dev/ttyAMA0
stm32flash 0.6

http://stm32flash.sourceforge.net/

Using Parser : Raw BINARY
Size         : 340116
Interface serial_posix: 57600 8E1
Version      : 0x31
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0452 (STM32F72xxx/73xxx)
- RAM        : Up to 256KiB  (16384b reserved by bootloader)
- Flash      : Up to 512KiB (size first sector: 1x16384)
- Option RAM : 32b
- System RAM : 59KiB
Write to memory
Erasing memory
Wrote and verified address 0x08053094 (100.00%) Done.

Starting execution at address 0x08000000... done.

pi-star@hotspot2(rw):MMDVM$ sudo reboot
Connection to hotspot2 closed by remote host.
Connection to hotspot2 closed.
 dasos@imac  ~/Downloads  ssh pi-star@hotspot2                      SIG(127) ↵  4481  18:01:15
pi-star@hotspot2's password:
Linux hotspot2 5.10.63-v7+ #1496 SMP Wed Dec 1 15:58:11 GMT 2021 armv7l

╔═══════════════════════════════════════════════════════════════════════╗
║                                                                       ║
║           ██████╗ ██╗      ███████╗████████╗ █████╗ ██████╗           ║
║           ██╔══██╗██║      ██╔════╝╚══██╔══╝██╔══██╗██╔══██╗          ║
║           ██████╔╝██║█████╗███████╗   ██║   ███████║██████╔╝          ║
║           ██╔═══╝ ██║╚════╝╚════██║   ██║   ██╔══██║██╔══██╗          ║
║           ██║     ██║      ███████║   ██║   ██║  ██║██║  ██║          ║
║           ╚═╝     ╚═╝      ╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═╝          ║
║                                                                       ║
╚═══════════════════════════════════════════════════════════════════════╝
The Pi-Star Dashboard can be found at one of the following locations:
http://hotspot2/  http://hotspot2.local/   http://10.86.1.28/

Pi-Star's disk is read-only by default, enable read-write with "rpi-rw".
Pi-Star built by Andy Taylor (MW0MWZ), pi-star tools all start "pistar-".

                     Welcome to Pi-Star: v4.1.5

pi-star@hotspot2(ro):~$ sudo pistar-mmdvmcal
Stopping Pi-Star Services...
Killing any remaining MMDVMHost processes...
MMDVMHost: no process found
MMDVMHost_NoOLED: no process found
MMDVMHost_Adafruit: no process found
Starting Calibration...
Unable to read the firmware version after six attempts
Starting Pi-Star Services...
Finnished...
pi-star@hotspot2(ro):~$
KZ4FOX
Posts: 18
Joined: Fri Jun 28, 2019 6:58 pm

Re: ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by KZ4FOX »

Thanks! To be honest, I just stuck it on this thread because it was the most talked about recently related to that board not the posts I was following doing the compiling. So here is where my "I am not a dev" question comes, how do I get the roll backed version assuming from github?

- Mark
KZ4FOX
Posts: 18
Joined: Fri Jun 28, 2019 6:58 pm

Re: ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by KZ4FOX »

KE7FNS wrote: Thu Dec 16, 2021 2:01 am
KZ4FOX wrote: Thu Dec 16, 2021 12:13 am So here is where my "I am not a dev" question comes, how do I get the roll backed version assuming from github?
Yeah.


From the command prompt.

Code: Select all

rpi-rw
cd MMDVM  (or whatever directory your MMDVM source code is in)
git checkout 9c883cfafdb183da01d888b67f2803f13698653f
git submodule init
git submodule update
nano Config.h
Make sure you at least make the following changes to the Config.h file.

Code: Select all

// For 12 MHz
// #define EXTERNAL_OSC 12000000
// For 12.288 MHz
// #define EXTERNAL_OSC 12288000
// For 14.4 MHz
// #define EXTERNAL_OSC 14400000
// For 19.2 MHz
// #define EXTERNAL_OSC 19200000
Example, if I was building a firmware for a board with a 14.4 MHz TCXO, I would uncomment the corresponding define like this:

Code: Select all

// For 14.4 MHz
#define EXTERNAL_OSC 14400000
Then force the serial port speed to 115200, so it matches Pi-Stars MMDVMHost and MMDVMCal.

Code: Select all

// Use a higher baudrate for host communication. Required for FM network !
#define SERIAL_SPEED 115200 //suitable for most older boards (Arduino, Due STM3$
// #define SERIAL_SPEED 230400 // Only works on newer board M4, M7, Teensy. Ext$
// #define SERIAL_SPEED 460800 // Only works on newer board M4, M7, Teensy. Ext$
(uncomment the 115200 define, and comment out the 460800 define by adding two // at the start of the line)

Any other configuration changes specific to your hardware need to also be adjusted in the Config.h file.

Then hit Ctrl+X and Y then hit enter to save

Then recompile. If you have an old RPi with a single core (RPi1, RPi Zero W) leave out the "-j4" That just tells the compiler to use 4 processors to compile instead of 1.

Code: Select all

make clean
make -j4 pi-f722
If you get the following prompt.

Code: Select all

Linking complete!

arm-none-eabi-size bin/mmdvm_f7.elf
   text    data     bss     dec     hex filename
 336672    2428   74284  413384   64ec8 bin/mmdvm_f7.elf
arm-none-eabi-objcopy -O ihex bin/mmdvm_f7.elf bin/mmdvm_f7.hex
arm-none-eabi-objcopy -O binary bin/mmdvm_f7.elf bin/mmdvm_f7.bin
Objcopy from ELF to BINARY complete!

Objcopy from ELF to IHEX complete!
Then there were no compile errors, so now you should try to flash it to the board.

Code: Select all

sudo make deploy-pi-f7
Hopefully that version of the firmware will work properly, then when Andy pushes a newer MMDVMHost you should be able to just reset the repo to the latest commit and recompile and upload.
Thanks KE7FNS for clearing that up I didnt have the right hash :) With that said, still not quite there for some reason. I did a fresh install of 4.15 Oct 2021 build. I made a "run book" based on your feedback and previous posts:

Code: Select all

Enable RW filesystem if you are using Pi-Star:

rpi-rw

Update list of packages:

sudo apt-get update

Install toolchain and necessary packages:

sudo apt-get install git gcc-arm-none-eabi gdb-arm-none-eabi libstdc++-arm-none-eabi-newlib autoconf libtool pkg-config libusb-1.0-0 libusb-1.0-0-dev

Download and compile serial flashing utilities:

cd ~
git clone https://github.com/jsnyder/stm32ld
cd stm32ld
make
sudo cp stm32ld /usr/local/bin

Remove libi2c-dev and stm32flash packages if you are using Pi-Star:

sudo apt-get remove libi2c-dev
sudo apt-get remove stm32flash

Install the latest stm32flash:

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

Another place to get the lastest stm32flash is:

https://sourceforge.net/projects/stm32flash/files/

MMDVM firmware compilation and uploading for MMDVM-Pi

Download firmware sources:

rpi-rw (if needed)
cd ~
git clone https://github.com/g4klx/MMDVM
cd MMDVM  (or whatever directory your MMDVM source code is in)
git checkout 9c883cfafdb183da01d888b67f2803f13698653f
git submodule init
git submodule update

nano Config.h

Make sure you at least make the following changes to the Config.h file.

Code: Select all

// For 12 MHz
// #define EXTERNAL_OSC 12000000
// For 12.288 MHz
// #define EXTERNAL_OSC 12288000
// For 14.4 MHz
// #define EXTERNAL_OSC 14400000
// For 19.2 MHz
// #define EXTERNAL_OSC 19200000

Example, if I was building a firmware for a board with a 14.4 MHz TCXO, I would uncomment the corresponding define like this:

Code: Select all

// For 14.4 MHz
#define EXTERNAL_OSC 14400000

Then force the serial port speed to 115200, so it matches Pi-Stars MMDVMHost and MMDVMCal.

Code: Select all

// Use a higher baudrate for host communication. Required for FM network !
#define SERIAL_SPEED 115200 //suitable for most older boards (Arduino, Due STM3$
// #define SERIAL_SPEED 230400 // Only works on newer board M4, M7, Teensy. Ext$
// #define SERIAL_SPEED 460800 // Only works on newer board M4, M7, Teensy. Ext$

(uncomment the 115200 define, and comment out the 460800 define by adding two // at the start of the line)

Any other configuration changes specific to your hardware need to also be adjusted in the Config.h file.

Then hit Ctrl+X and Y then hit enter to save

Compile:
	-Note:  If you have an old RPi with a single core (RPi1, RPi Zero W) leave out the "-j4" That just tells the compiler to use 4 processors to compile instead of 1. 

sudo make clean
sudo make -j4 pi-f722

If you are using Pi-Star, stop services:

sudo pistar-watchdog.service stop
sudo systemctl stop mmdvmhost.timer
sudo systemctl stop mmdvmhost.service

Upload the firmware:

sudo make deploy-pi-f7
I didnt have my scollback set deep enough but everything went smoothly. Only error I got was from compliling "stm32ld":

Code: Select all

pi-star@pi-star(rw):~$ git clone https://github.com/jsnyder/stm32ld
Cloning into 'stm32ld'...
remote: Enumerating objects: 67, done.
remote: Total 67 (delta 0), reused 0 (delta 0), pack-reused 67
Unpacking objects: 100% (67/67), done.
pi-star@pi-star(rw):~$ cd stm32ld
pi-star@pi-star(rw):stm32ld$ make
gcc -Wall   -c -o stm32ld.o stm32ld.c
stm32ld.c: In function ‘stm32h_send_command’:
stm32ld.c:35:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
gcc -Wall   -c -o main.o main.c
gcc -Wall   -c -o serial_posix.o serial_posix.c
gcc   stm32ld.o main.o serial_posix.o   -o stm32ld
For the Config.h I made the edit for 12.000 MHz because thats what I recall and what the crystal had wrote on it. Along with the serial line speed for 115200. Flashed fine, too but still isn't be reconized. Would try with an older pi-star help? Or building on a straight raspbian-OS? Just kind of scratching my head. Thanks again!

-Mark
KZ4FOX
KZ4FOX
Posts: 18
Joined: Fri Jun 28, 2019 6:58 pm

Re: ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by KZ4FOX »

Thanks KE7FNS some good things to try there. Yeah, I know what you mean about troubleshooting and not having the hardware. Ran into that more than once in my career.

I'll give those a shot and report back :)

73!

Mark
KZ4FOX
KZ4FOX
Posts: 18
Joined: Fri Jun 28, 2019 6:58 pm

Re: ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by KZ4FOX »

So, here is something interesting. Started fresh, followed the guidelines I setup but minus replace the stm32flash & using the other hash you mentioned. When doing the deploy it errors out:

Code: Select all

root@pi-star(rw):MMDVM# sudo make deploy-pi-f7
/usr/bin/stm32flash -i 20,-21,21:-20,21 /dev/ttyAMA0
stm32flash 0.5

http://stm32flash.sourceforge.net/

Interface serial_posix: 57600 8E1
Unknown/unsupported device (Device ID: 0x452)

make: [Makefile:376: deploy-pi-f7] Error 1 (ignored)
/usr/bin/stm32flash -v -w bin/mmdvm_f7.bin -g 0x0 -R /dev/ttyAMA0
stm32flash 0.5

http://stm32flash.sourceforge.net/

Using Parser : Raw BINARY
Interface serial_posix: 57600 8E1
Unknown/unsupported device (Device ID: 0x452)

make: *** [Makefile:377: deploy-pi-f7] Error 1
Oh I did remember to comment out the other serial line. Normally, that would be something I would miss :)

When I power up the device all the lights flash then goes to a slow blinking SRV light.

Thanks!

Mark KZ4FOX
KZ4FOX
Posts: 18
Joined: Fri Jun 28, 2019 6:58 pm

Re: ZUM Radio - MMDVM-Pi rev. 1.0 board firmware update

Post by KZ4FOX »

I found the solution! Toss the @#$%y thing in the trash and get new hat from RB lol. Just kidding, I didnt toss it but I did just order a one from RB. Set several of those up didn't give me nearly as much trouble plus he publishes pre-built binaries for updates when/if I feel adventurous to compile my own. I may try tackling the ZUMRadio again; hate defeat, lol. I have this thread flagged curious if anyone runs into issues or posts.

Thanks though for your help! Still wasn't a waste learned quite a bit more about MMDVM & the Pi-Star builds which is *always* useful.
73 for meow!

Mark
KZ4FOX
Post Reply