.bss file is too large

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

.bss file is too large

Jump to solution
746 Views
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.

Labels (1)
0 Kudos
Reply
1 Solution
737 Views
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.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
738 Views
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 Kudos
Reply