Web Compiler Startup Guide

This is the English translation of the following url. Author: Okamiya Yuuki.

http://japan.renesasrulz.com/gr_user_forum_japanese/b/weblog2/archive/2015/06/05/web.aspx

Web Compiler is a web-based program development environment. Compiler engine, editor, and file storage are on our cloud server so you are ready to start writing your codes, free from IDE installation and securing work space.

1. Compatible Browser

The following browser versions are confirmed for the web compiler operation.

  • Chrome 17 or later versions
  • Internet Explore 9 or later versions
  • FireFox 4 or later versions
  • Opera 11 or later versions

Note: all browsers must have JapaScript and Flash Player

2. Login

You can login to the web compiler from Gadget Renesas site.

We offer two login entries:

  • Log In: MyRenesas account is required. This entry provides personal storage space to keep your projects.
  • Guest Log In: It's a quick start entry without registration. This entry offer offers the same edit and build environment as the above.  However, no storage is offered ...your project will be deleted when you leave the site.

3. System Language 

The web compiler language menu supports Japanese and English. The displayed menu language changes depend on the registration data in each MyRenesas account.  The menu language is set by the browser language setting when Guest Log In is used.

4. Create New Project

A project is like a folder consisting of various files to manage your code development.  The project includes not just your own codes but also many libraries which fill in detailed hardware configurations so you don't have to learn everything from scratch . Gadget Renesas Web Compiler offers many libraries which support various popular hardware accessories such as dot-matrix LCD module, SD-card, Ethernet, and so on. All you need to do is to connect such hardware and include and call the respective library in your code.

To create a new project, click the  '+' icon shown below. If you are logging in to the system for first time, the web compiler will display the project creation window and ask you to make a project.

When the project creation menu pops up, select the template according to the board you are using; a special shield is bundled in the template.  Then type your project name and click "Create Project".

5. Editing Your Code

When you create a new project. the web compiler generates a file named "gr_sketch.cpp", which you can see under the Explorer menu.  File "gr_sketch.cpp" is the template code you will start editing with.

6. Save Your Code

Please save your editing code frequently by pressing the "Save" icon shown below or 'Ctrl' + 'S' keys.

7. Build Your Code

Build is a chain of operations: compiling, assembling your source codes, and linking all necessary files shown below in one binary file.  The following files are searched in the project and cataloged in makefile:

  • Source files of which extension ends with .C, .CPP, .s, and .asm
  • Header files of which extension ends with .h
  • Build tool specific to the project, such as GNURX and GNURL78

Once "Execute Build" is clicked, the following window pops up.

When the build has no error and indicates "Make process completed" at the end of list,  the web compiler generates the binary file which you flash program to the board. For Kurumi projects, the file must be "kurumi_sketch.bin" as shown below.

If there are errors as shown below, you must fix them and do the build again.

8. Download A File

You can download any file in the project, such as  *.bin, which you flash in the MCU on your board. Move your mouse over the file you downloaded and right-click the mouse. The following popup menu appears. Click "Download" on the menu.

9. Upload A File

You can also upload a file located in your PC to the project. When you right-click your mouse on the folder where you upload your file, the following menu pops up.  Just click "Upload" on the menu.

When the following popup comes out, just drag and drop the necessary files.

10. Download/Upload The Project

For data backup or retrieve, you can download or upload your project to/from your computer. To download, go to the root folder in Explore menu and right-click the mouse, the following menu pops up.

The project ZIP file is stored in the specified destination  in your computer.

If you want to upload your project, click the following  icon on project bar.

You need to select a corresponding template and type the project name as well as select the uploading file.