imxrt build error, `SRAM_DTC_cm7' overflowed

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

imxrt build error, `SRAM_DTC_cm7' overflowed

721 次查看
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 项奖励
回复
1 回复

693 次查看
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 项奖励
回复