This feature enables the initialization of all the data in the model through calls to the
RESET_DATA
macro in theTASKINIT
function.The initialization is enabled by the Memory Initializing check box in the Target Properties tab.TheRESET_DATA
macro uses the functionmemset
, which should be defined in the environment. In the case where the functionmemset
is not defined, you can define the macroAVOID_MEMSET
and use the functionrimc_mem_set
(defined in the<profile>.c
file).