Download RX Family Application Note Board Support Package Module Using

Transcript
RX Family Board Support Package Module Using Firmware Integration Technology
7. Adding r_bsp manually
This section will give instruction on how to add the r_bsp to an e2studio project manually (without use of the FIT Plugin).
1.
Copy the r_bsp folder to your e2studio project’s root. Once clicking Copy in Windows you can right-click on
your project in e2studio and click Paste.
2.
Expand the r_bsp >> board folder and delete all of the folders except the one for the board you are using. You
can leave the ‘user’ directory if you wish to have a directory to start off with when you create your own BSP.
3.
Expand the r_bsp >> mcu folder and delete all of the folders except the one for your MCU group and the one
named all.
4.
It is recommended to create a directory to store all FIT configuration files. Having one place for configuration
files make them easy to find and easy to backup. The default name for this folder is r_config. If an r_config
folder was not included in your r_bsp zip file then we will create one here. Create an r_config folder for your
project by right-clicking on your project and choosing New >> Folder. In the window that pops up enter
‘r_config’ for the folder name and click Finish.
5.
We will now setup include paths for the r_bsp and r_config folders. Right-click on your project and click
Properties.
6.
Under ‘Tool Settings’ select Compiler >> Source.
7.
In the ‘Include file directories’ box click the ‘Add’ button.
R01AN1685EJ0310 Rev. 3.10
Dec. 1, 2015
Page 50 of 61