Why does inport SDK exmples fail to compile/link

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

Why does inport SDK exmples fail to compile/link

989 Views
tbiberdorf
Contributor IV

I created a new SDK Builder zip file based on the MK60DN512xxx10 with the middleware: lwIP and FreeRTOS

I included the demo_apps->lwip->lwip_tcpecho->freertos project.

I build the project and I receive the following linker error:


region `SRAM_UPPER' overflowed by 16496 bytes

twrk60d100m_demo_apps_lwip_lwip_tcpecho_freertos.axf section `.heap' will not fit in region `SRAM_UPPER'

Why does a example code generated from the SDK not work?

0 Kudos
1 Reply

776 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi Terry,

I don't know which IDE you use. I use Kinetis SDK to build the project.

Follow these step, I think the result will be ok:

1. File menu -> new -> Kinetis SDK 2.x Project. 

2. In the first wizard page, input your project name and select the SDK folder. My SDK folder name is SDK_2.2_TWR-K60D100M. Then goto next step.

3. Select lwip/lwip_tcpecho/freertos as the base project.

4. click finish

Then if you compile the project, it will be ok.

I hope my answer will be helpful to you.

0 Kudos