The platform software provides support for the application execution through the tasks identified above. Each of these tasks requires some memory to record its state and the platform does so dynamically by storing this information on the stack.
Table 5.21. Automatic ASAP2 entries for memory use information
ASAP2 name | Description | Units |
---|---|---|
mpl_max_used_stack | The amount of stack used since power up by the application software. | bytes |
In the Sim-API, the size of the stack can be modified in the OpenECU RTW options. For instance, this might be necessary after testing shows that the average amount of used stack at run time is too large in comparison to the allocated stack size.