i am trying to create a project in S32 design studio for arm (KEAZN64, 4K SRAM). but i have the problem that the project is still empty and i just have the main.cpp file (empty) but the .bss section is about 2,5KB? the MCU has only 4KB SRAM and i do not have any thing till now in the source code. i am also using the library ewl_c++_no_IO but i really do not need it, but if i set the library selection on none, i get alot of erros?!
any suggestions please?
thanks in advance.
in the project linker file, there is by default set heap size to 0x500 and stack size 0x400, which causes, almost 2,5Kb of memory is reserved.
I recommend you to shrink these two areas (heap size can be 0 in case you do not use dynamic memory allocation or some similar features), stack size depends on your application.