.bss file is too large

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

.bss file is too large

跳至解决方案
1,173 次查看
VolcanicCheese
Contributor III

I am trying to program a code for the MIXMRT 1020 MCU. I have issue with dealing with .bss file being too large. The SRAM_DTC region overflowed by 2952184 bytes. I tried looking at documentation on flexram_ram_allocate sdk example code. I look through the reference manual and it says that I could only allocate up to 256 KB. I was wondering if somehow I could allocate the .bss file to the SDRAM or flash.

标签 (1)
0 项奖励
回复
1 解答
1,164 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) I was wondering if somehow I could allocate the .bss file to the SDRAM or flash.
-- Of course, you can make it via modifying the linker file.
Regarding linker modification, please refer to the user guide of the specific IDE.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,165 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
1) I was wondering if somehow I could allocate the .bss file to the SDRAM or flash.
-- Of course, you can make it via modifying the linker file.
Regarding linker modification, please refer to the user guide of the specific IDE.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复