Building Own Application for the RZA1H
Generate Makefiles with CMake
For general information about CGI Studio Build System and CMake properties available to configure Candera applications refer to CGI Studio Build System.
To configure and generate makefiles for compiling the CGI CourierSampleAppLight, follow below steps:
/cgi_studio_courier_apps/src/CourierSampleAppLightPoint CMake to build directory
/cgi_studio_devices/src/RZA1H/ToolchainFiles/GCC-toolchain-RZA1H_Native2D.txt
Adapt the CMake settings if necessary, e.g.:
Press Generate
Building Application
After generating your cmake files, in Command Prompt simply navigate to the specified build directory and type "mingw32-make" ("ninja") to start the build.
The output executable file can be found in your build directory.
Open this file with the Green Hills MULTI IDE debugger and load it to RAM as described in the previous chapter.