Post Reply 
newRPL: [UPDATED April 27-2017] Firmware for testing available for download
10-03-2016, 09:45 PM (This post was last modified: 10-03-2016 09:46 PM by Claudio L..)
Post: #400
RE: newRPL: [UPDATED September-17-16] Firmware for testing available for download
(10-03-2016 05:20 PM)Bruno Wrote:  Hi,

is there a few note anywhere that describe the pre-requisite and how to compile the newRPL ROM please ?

I tried a 'make rom.bin' under the /newrpl-source/firmware directory,
but make can't find a directive to build fw_base.c


EDIT : The project seems to be created with Qt, I suppose the makefiles require some modifications to work without Qt ?

The steps are quite simple, the following should work on Linux/FreeBSD:
* Install gcc or Clang compiler.
* Install Qt with Qt Creator (for easier coding).
* Install arm-none-eabi-gcc and arm-none-eabi-binutils
* Install libelf-devel package (if it's not already installed).
* Open Qt Creator, first you need to build the tools: go to the newrpl/tools directory and open the project elf2rom, choose the "Release" version, edit the make steps to add a "make install" step at the end.
* Do a build-all, look at the output to make sure the executable was copied properly.
* Now do the same with the other tools.
* Now go back to the main directory, open the project Same thing (select Release, add a make install step, then build-all).
* Now close all, open, edit the .pro file as needed to change the folders where you have arm-none-eabi-gcc (they change according to version, look at the file).
* Hit build and everything should work fine, if there are no errors, you should see the last line "Binary newrplfw.bin written".
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: newRPL: [UPDATED September-17-16] Firmware for testing available for download - Claudio L. - 10-03-2016 09:45 PM

User(s) browsing this thread: 2 Guest(s)