S32 DS new Project has .bss 2420 Bytes?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32 DS new Project has .bss 2420 Bytes?

690件の閲覧回数
hanisamara
Contributor III

Hello, 

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.

Hani 

ラベル(1)
1 返信

574件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello Hani,

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.

pastedImage_1.png

Regards,

Martin