Skip to content

GetStarted

Yutaka Matsubara edited this page Oct 3, 2016 · 9 revisions

Get Started by using web compiler

The Renesas web compiler

  • The Renesas web compiler provided by Renesas Electronics Corporation is a web browser based development environment for Gadget RENESAS boards including GR-PEACH.
  • It enables application developers to make and build their programs without installing cross compilers on their host computer.
  • Fortunately for everyone, it's free of charge! Therefore, it's the easiest way to try programming for GR-PEACH.

webcompiler

How to build by using Web compiler

(1) Visit the website of the web compiler (http://gadget.renesas.com/en/).

website

(2) Click "Guest Log In". If you will use the web compiler as a usual development environment for GR-PEACH, I recommend you to register to My Renesas for getting a new account.

(3) If you logged in the web compiler as a guest, Select "Accept".

guest_login

(4) Select "GR-PEACH_TOPPERS_ASP_V1.00.zip" and input your project name. Then, click "Create Project" button.

selecttemplate

(5) You can find your source code tree at Explore.

explore

(6) Several examples have been already prepared in the examples directory.

examplelist

(7) You can specify the target program to be built in the build_target file. As the default, blinky is specified.

build_target

(8) Click "Execute Build" in the right pane to build the program.

(9) During compilation, the following dialog is presented. **NOTICE: Compilation may take over 2 minutes at the first time. Do not close the window and please wait to finish! **

compile

(10) When compilation is finished, the following dialog is presented.

compilefinished

(11) You can find blinky.bin at the Explore.

binfile

(12) Connect your GR-PEACH to your computer by a micro USB cable. The MBED device would be shown on your computer. If you use Windows PC and your GR-PEACH is not recognized as MBED device, please see https://developer.mbed.org/handbook/Windows-serial-configuration and install the USB-Serial device driver.

connection

(13) Click right button on the file, and select download. Then, save it to the MBED device.

downloadbin

(14) Wait for a minute, and Push the Reset button.

exetution

Trying to build other examples

(1) To change the target program, open the build_target file. Specify the name of an example program. In the following window, multitask_arduino is specified as the target program.

change_build_target

(2) Click "Execute Build" in the right pane to build the program. When compilation is finished, the following dialog is presented.

compilefinished-2

(3) You can find multitask_arduino.bin at the Explore.

binfile2

(4) Download the binary file to the MBED device. Wait for a minute, and Push the Reset button.

Enjoy!