...
Within a example folder “ugoal/exampleprojects/ugoal/…” of the software delivery, build the firmware with following commands:
...
This chapter describes the integration of the source files into a new e2 studio project, to edit, compile and debug the software delivery.
Automatic project generation
From any project folder a project generator can be run to create an e2studio project for the application. The project generator requires a python3 installation. Required dependencies are installed automatically.
If you want to create a e2studio project, run the following command:
Code Block |
---|
make PLATFORM=rl78g14 gen_project
Please select a template - OR - press <CTRL+c> and set the
GEN_PROJECT_TPL environment variable.
Choose IDE:
[ 1] e2studio
[ 2] eclipse
[ 3] stmcubeide
Choice [1-3]: |
For the RL78 platform the template number 1 needs to be chosen.
Code Block |
---|
Selected template: [1] e2studio/renesas/rl78 gen_project ----------- Project: 01_ethercat_rl78g14 Templates: /Users/torstenbitterlich/port/2015013_irj45/ugoal/tools/gen_project/templates/e2studio/renesas/rl78 Generating: RL78G14.ld .project .cproject renesasPGModel.xml e2studio_project.prefs DebugVirtualConsoleSetting. |
...
xml language.settings.xml CoverageSetting.xml IORegisterSetting.xml start.s
Output dir: /Users/torstenbitterlich/port/2015013_irj45/ugoal/projects/ugoal/01_ethercat/ide/e2studio/renesas/rl78g14/
|
The generated project should be imported into e2studio using “Import → Existing Projects into Workspace” and be browsing to the project folder:
...
The imported project can be compiled and debugged:
...
Manually import sources into new project
Install the latest e2 studio with RL78 support, which is downloadable from https://www.renesas.com/us/en/software-tool/e-studio.
...