How to compile firmware

Post Reply
OH1E
Posts: 96
Joined: Sat Nov 16, 2019 8:59 am

How to compile firmware

Post by OH1E » Fri Dec 06, 2019 8:03 am

Heya, after searching there is no readme howto compile the firmware.
Would be nice to know exact what libraries and what is needed on different platforms is needed to fully compile firmware. example will this compile on linux? there is no makefile for it. what is needed on windows to get it compiled etc.

VK3KYY
Posts: 7590
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: How to compile firmware

Post by VK3KYY » Fri Dec 06, 2019 9:04 am


OH1E
Posts: 96
Joined: Sat Nov 16, 2019 8:59 am

Re: How to compile firmware

Post by OH1E » Fri Dec 06, 2019 10:23 am

thanks, got it.
it compile fine. now i can myself check the language things, saving you the time correcting my bads. :)

VK3KYY
Posts: 7590
Joined: Sat Nov 16, 2019 3:25 am
Location: Melbourne, Australia

Re: How to compile firmware

Post by VK3KYY » Fri Dec 06, 2019 10:50 am

Riku wrote:
Fri Dec 06, 2019 10:23 am
thanks, got it.
it compile fine. now i can myself check the language things, saving you the time correcting my bads. :)
Yes.

The best way is to compile and upload it yourself, then you can see quite quickly whether the text fits.

Note.

If you look in the tools directory, there is a program called GD77_firmware loader. Its a DOS type program I wrote as a simple way to upload.

Just drag you sgl file onto that program an it will upload it to the radio (if the radio is in firmware loader mode).
I have actually associated the .sgl file extension with that program, so I just double click on the sgl and it runs that program.

OH1E
Posts: 96
Joined: Sat Nov 16, 2019 8:59 am

Re: How to compile firmware

Post by OH1E » Fri Dec 06, 2019 11:02 am

Nice!, way faster way to upload:) using it now

NA7Q
Posts: 151
Joined: Wed Jan 01, 2020 3:41 pm

Re: How to compile firmware

Post by NA7Q » Thu Jan 02, 2020 8:00 pm

I compiled the firmware without issue. However, with the current code pulled from GitHub, the radio reboots about 1 second after transmitting or receiving any DMR transmission. The talkgroup name display and then the radio crashes to a reboot. No problems with analog though.

Update: Not sure what the issue was. Possible corruption of something. Re-downloaded the git and it worked. Very strange.

Post Reply