Running the CGI CourierSampleAppLight Demo Application on RZA1H
Download the Application
To download and debug the application you need Renesas e2 Studio, a working sample project and a J-Link probe.
Include "cgi_studio_courier_apps\src\CourierSampleAppLight\AppPlatform\Target_FreeRTOS_ARM\SampleAppConnector.h" in the main.c og the sample application.
Declare extern function SwapRequiredBuffers "extern void SwapRequiredBuffers();"
Initialize the App with SampleAppInit();
In a loop call SampleAppRun(); and SwapRequiredBuffers();
#include "../cgi_studio_courier_apps/src/CourierSampleAppLight/AppPlatform/Target_FreeRTOS_ARM/SampleAppConnector.h"
extern void SwapRequiredBuffers();
//FreeRTOS Setup
//...
SampleAppInit();
while (1)
{
SampleAppRun();
SwapRequiredBuffers();
}Start SEGGER J-Flash lite and download the asset file to the address defined in linker_settings.ld as __graphics_data_start.
Compile the project and use Renesas e2 Studio to download and debug the binary to the target.