If you encounter any issues after the upgrade, please open a support request TICKET.🙌
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. The Blinky project is also a good way to verify your tools installation before you start diving into more advanced projects.
Install FSP from GitHub FSP site. Recommend that you use the latest FSP
...
platform installer that includes e2studio and toolchains. At the time of writing, the platform installer file is named setup_fsp_v5_6_0_e2s_v2024-10.exe.
Go to File >> New >> Renesas C/C++ Project >> Renesas RA
Image Modified
Select Renesas RA C/C++ Project
Image Modified
Type in the project name. Do not use spaces.
Image Modified
Select your board, toolchains, and debugger. Device is auto populated from your board selection.
Image Modified
From Project Type Selection Window, select Flat (Non-TrustZone) Project. This window is used to select TrustZone or non-TrustZone project creation.
Image Modified
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.
Image Modified
...
And lastly, select Bare Metal - Blinky from the Project Template Selection. This template includes simple source code to blink LEDs on an official Renesas RA board.
...
Image Modified
If you see the window below, check the Remember my decision box and click on Open Perspective button. This opens the FSP Configuration perspective
...
that allows you to configure your project visually.
Image Modified
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, and Components. These tabs help configure the project and add new FSP modules.
For more information, please click Renesas Software Package User's Manual button.
Image Modified
Click Generate Project Content button. This adds the new FSP source code
...
to your project and configures them.
Go to Project >> Build Project. You should see your project is built without errors.
Image Modified
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 and click Switch button. This switches the view to the Debug perspective and rearranges your
...
panes for easy debugging.
Image Modified
You should see window below. In editor pane, source code shows the reset startup code.
Image Modified
Go to Run >> Resume. Execution stops at main(). Go to Run >> Resume again.
...
The LEDs on your board should now be blinking.
Table of Contents |
---|