manual:chapter1:buildfromsource

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
manual:chapter1:buildfromsource [2019/11/19 15:32]
jojo1973 Reformatted
manual:chapter1:buildfromsource [2019/11/19 15:37]
jojo1973 Fixed levels
Line 1: Line 1:
-====== Building newRPL from source code ======+===== Building newRPL from source code =====
  
- +==== Preparing a system for compiling the simulator ====
-===== Preparing a system for compiling the simulator =====+
  
 **Linux** **Linux**
Line 58: Line 57:
  
  
-===== Preparing a system for cross-compiling the firmware =====+==== Preparing a system for cross-compiling the firmware ====
  
 **Linux** **Linux**
Line 83: Line 82:
  
  
-===== Getting the source code =====+==== Getting the source code ====
  
 **Linux** **Linux**
Line 93: Line 92:
  
  
-===== Building the tools =====+==== Building the tools ====
  
-==== elf2rom ====+=== elf2rom ===
  
 The first tool that needs building is ''elf2rom''. The first tool that needs building is ''elf2rom''.
Line 110: Line 109:
 It's done: the ''elf2rom'' tool was built and installed in the appropriate location to be used by the other projects. Select ''Close all projects and editors'' from the main menu to end the session. It's done: the ''elf2rom'' tool was built and installed in the appropriate location to be used by the other projects. Select ''Close all projects and editors'' from the main menu to end the session.
  
-==== newRPL standalone compiler ====+=== newRPL standalone compiler ===
  
   - Open //Qt Creator//, select ''Open Project'', and go into ''newrpl-sources'';   - Open //Qt Creator//, select ''Open Project'', and go into ''newrpl-sources'';
Line 123: Line 122:
 It's done: the ''newrpl-comp'' tool was built and installed in the appropriate location to be used by the other projects. Select ''Close all projects and editors'' from the main menu to end the session. It's done: the ''newrpl-comp'' tool was built and installed in the appropriate location to be used by the other projects. Select ''Close all projects and editors'' from the main menu to end the session.
  
-===== Building the Desktop simulator =====+==== Building the Desktop simulator ====
  
   - Open //Qt Creator//, select ''Open Project'', and go into ''newrpl-sources'';   - Open //Qt Creator//, select ''Open Project'', and go into ''newrpl-sources'';
Line 138: Line 137:
 At the lower left area of the screen, use the upper //Play// button (Run without debugging) to start the application. At the lower left area of the screen, use the upper //Play// button (Run without debugging) to start the application.
  
-===== Building the firmware =====+==== Building the firmware ====
  
   - Open //Qt Creator//, select ''Open Project'', and go into ''newrpl-sources'', then select the ''newrpl-fw.pro'' project file for the **50g** target. Other project files are available for the other targets, follow exactly the same instructions for all targets;   - Open //Qt Creator//, select ''Open Project'', and go into ''newrpl-sources'', then select the ''newrpl-fw.pro'' project file for the **50g** target. Other project files are available for the other targets, follow exactly the same instructions for all targets;
Line 164: Line 163:
 If you see that line, everything went well, and your build directory (usually named ''build-newrpl-fw-Desktop...'') will contain the ''newrplfw.bin'' file, which is the ROM that needs to be flashed on the calculator. If you see that line, everything went well, and your build directory (usually named ''build-newrpl-fw-Desktop...'') will contain the ''newrplfw.bin'' file, which is the ROM that needs to be flashed on the calculator.
  
-===== Updating the source tree to a new version =====+==== Updating the source tree to a new version ====
  
 When updates are made to the source tree When updates are made to the source tree
  • manual/chapter1/buildfromsource.txt
  • Last modified: 2019/11/20 14:45
  • by jojo1973