You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

RA Blinky Project

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

Install FSP

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

Create Project

Go to File >> New >> Renesas C/C++ Project >> Renesas RA


Select Renesas RA C/C++ Project


Type in the project name.  Do not use spaces. 


Select your board, toolchains, and debugger.  Device is auto populated from your board selection.  


From Project Type Selection Window, select Flat (Non-TrustZone) Project.   This window is used to select TrustZone or non-TrustZone project creation.   


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


Then, select Bare Metal - Blinky from the Project Template Selection.  This 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.   

Change Perspective

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

e2studio IDE

You should see your 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. 

For more information, please click Renesas Software Package User's Manual button.  

Generate Project

Click Generate Project Content button.  This adds the new FSP source code modules to your project and configures them.  

Build Project

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

Download and Debug

Make sure you 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.  

Run Project

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

Go to Run >> Resume.  Execution stops at main().  Go to Run >> Resume again.  

The LEDs on your board should now be blinking.  










  • No labels