Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This page shows you how to create an RA blinky project.  As an example, we used use an EK-RA8D1 board but you can use any official Renesas RA board for this project.  This The Blinky project is also a good test project to verify your tools installations installation before you start diving into more advanced projects.  

...

Install FSP from GitHub FSP site.  Recommend that you use the latest FSP and platform installation installer that includes e2studio and toolchains.  

...

Select Executable and No RTOS from the Build Artifact and RTOS Selection window.  In this window, you can select executable or library project typetypes.  You could also select if you want to use an RTOS or not.  

...

Then, select Bare Metal - Blinky from the Project Template Selection.  This project comes with template includes simple source code to blink LEDs on an official Renesas RA board.  For your non-RTOS custom projects, start with Bare Metal - Minimal.   

...

If you see the window below, check the Remember my decision box.  This opens the FSP Configuration perspective.  You will use the visual configuration perspective to configure your project.  

...

e2studio IDE

You should see your blink blinky project in Project Explorer pane.  In the editor pane, the project configuration is shown.  Since we used a template to create the project, all required source code is created by the tool.  There are tabs at the bottom of the FSP Configuration editor: BSP, Clocks, Pins, Interrupts, Event Links, Stacks, Components.  These tabs help configure the project and add new FSP modules. 

...

Go to Project >> Build Project.  You should see your project is built without errors.  

Download and

...

Debug

Make sure you connected connect your board to your PC with the USB mini Debug port.  Go to Run >> Debug.  If you see the window below, check the Remember my decision box.  This switches to the Debug perspective and rearranges your views for easy debugging.  

...

You should see window below.  In editor pane, the source code shows the reset startup code.  

...