imxrt build error, `SRAM_DTC_cm7' overflowed

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

imxrt build error, `SRAM_DTC_cm7' overflowed

728 Views
sukyeong
Contributor III

I modified the code a little, but suddenly I get a build error.

Is there a problem with the settings?

I've tried to find a solution to the problem, but I'm not sure..

 

error message is 

`.bss' will not fit in region `SRAM_DTC_cm7'

region `SRAM_DTC_cm7' overflowed by 162336 bytes

 

sukyeong_0-1691972217950.png

sukyeong_0-1691972316600.png

 

 

 

 

0 Kudos
Reply
1 Reply

700 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @sukyeong ,

   Your result demonstrate your project DTCM is not enough to use.

    To this situation, you can put some data in the ITCM, don't just use the DTCM, your ITCM, OCRAM are all not used. If you must to use the DTCM, you can reallocate the flexRAM to get the larger DTCM, you can refer to this application note:

 https://www.nxp.com/docs/en/application-note/AN12077.pdf

 

Wish it helps you!

Best Regards,

kerry

0 Kudos
Reply