学习NXP的i.MXRT1050/1060(一)

**

程序溢出:nable to allocate space for sections/blocks with a total estimated minimum size of 0x2’32ac bytes (max align 0x8) in <[0x0-0x3ff], [0x400-0x1’ffff]> (total uncommitted space 0x1’fc00)

**

开始啦---------------------------------------------------------------
第一次开始分享,加油。

When we used freertos+lwip+sdmmc+fatfs and many other features in RT1050, we encountered a problem.
As follows:
1、Based on SDK_2.6.2_EVK-MIMXRT1060.
2、When I choose not to use optimization:
学习NXP的i.MXRT1050/1060(一)_第1张图片
2、optinos use MIMXRT1062xxxxx_ram.icf:

学习NXP的i.MXRT1050/1060(一)_第2张图片
学习NXP的i.MXRT1050/1060(一)_第3张图片
3、IAR compilation ram result:
unable to allocate space for sections/blocks with a total estimated minimum size of 0x2’32ac bytes (max align 0x8) in <[0x0-0x3ff], [0x400-0x1’ffff]> (total uncommitted space 0x1’fc00).
学习NXP的i.MXRT1050/1060(一)_第4张图片
4、error:IAR compilation fails and can only be passed when optimization is used.
学习NXP的i.MXRT1050/1060(一)_第5张图片
5、The project size now does not exceed the memory of RT1060:
1)RT1060:1MB On-Chip SRAM - up to 512KB configurable as Tightly Coupled Memory (TCM)
6、question:
1)Why is this problem? --------------nable to allocate space for sections/blocks with a total estimated minimum size of 0x2’32ac bytes (max align 0x8) in <[0x0-0x3ff], [0x400-0x1’ffff]> (total uncommitted space 0x1’fc00).
2)How to solve the problem of iar compilation failure?
3)Do you have any better suggestions?
7、Solution:
1)Modify the MIMXRT1062xxxxx_ram.icf file
学习NXP的i.MXRT1050/1060(一)_第6张图片

2)run OK.

学习NXP的i.MXRT1050/1060(一)_第7张图片

你可能感兴趣的:(NXP)