|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| ==== FreeRTOS ( with IOT Libraries ) ====
| |
| e2studio 2022-01 and later support FreeRTOS (with IoT Libraries ) for the RZA2M from scratch. Follow the steps below.
| |
|
| |
|
| Step 1) Create a GNU for Renesas RZ C/C++ Executable Project. Then Create a project name.
| |
| [[File:RZA2M Project Creation Settings.png|thumb|This is an example of what the RZA2M Dialog Creation Settings should be.]]
| |
| Step 2) In the next dialog after creating project name the following setting are required.
| |
|
| |
| * Toolchain version: 7.2.1.20170904
| |
| * RTOS: FreeRTOS (with IoT libraries)
| |
| * RTOS Version: v202012.00-rza2m-1.0.0 NOTE if this is not in the drop down you need to click the Manage RTOS Versions. Set the Target Device to a RZA2M be download.
| |
| * Target Device: Set this to RZA2M
| |
| * Language: C or C++
| |
| ** NOTE: The Renesas drivers are written in C language. To uses these drivers follow the C standard to handle mixed C/C++ API and header usage.
| |
|
| |
| Step 3) Use the default setting of every dialog after.
| |
|
| |
| Step 4) Next open the smart configuration perspective for this project. This would be the ProjectName.scfg file ( i.e. Test.sctg).
| |
|
| |
| Step 5) Click the generate Code in the SC Overview Information Window. This will generate the default drivers.
| |
|
| |
| Step 6) By default a main.c file is not created. You will need to manually need to create this file and define the main function.
| |
|
| |
| Step 7) Compile
| |