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?
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.