Search:

PmWiki

pmwiki.org

edit SideBar

Main / Autosar

Notable AUTOSAR specs

Avoidance of waste of RAM
If different variables (8, 16 and 32 bit) are used within different modules on a 32 bit platform, the linker will leave gaps in RAM when allocating the variables in the RAM. This is because the microcontroller platform requires a specific alignment of variables and some linkers do not allow an optimization of variable allocation. This waste of memory can be circumvented if the variables are mapped to specific memory sections depending on their size. This minimizes unused space in RAM.


Page last modified on November 01, 2018, at 04:25 PM