The components required to execute the required project can be enabled from selecting the required ones from the components tab in the Stack configuration window.
The configurations for the components are done in the FSP configuration and Sparklet runs on these configurations.
The initialisation API for Sparklet has to be called from the thread created for the Sparklet.
Some of the memory is allocated by external code and is used inside Sparklet. For example, certain RAM addresses are allocated by business logic and provided to Sparklet via sgui_get_ram_bin_addr() (in ra6m3_bsp.c). These sections must be aligned for certain boundaries for proper operation, otherwise leading to memory alignment exceptions. It can be achieved via attribute alignment: