AnsweredAssumed Answered

Suggestion: fix old/buggy FreeRTOSConfig.h in KSDK 2.1

Question asked by Engin Lee on Feb 16, 2017
Latest reply on Apr 10, 2017 by xiangjun.rong

Hi All,

 

I am testing K64F with the latest KSDK2.1 (SDK_2.1_MK64FN1M0xxx12.zip), and FreeRTOS + lwIP works very well with my board. Very good!

I just found a small bug about FreeRTOSConfig.h: Most of FreeRTOS configuration files are correct (version 9.0.0), but some of them are incorrect (version 8.2.1). Which causes the delay time is shorter then it should be, because of the mismatch between 96Mhz (#define configCPU_CLOCK_HZ (96000000UL)) and 120Mhz (based on clock setting for K64F).

Here is a list of old/buggy configuration files:

boards\frdmk64f\demo_apps\lwip\lwip_httpsrv\freertos\FreeRTOSConfig.h
boards\frdmk64f\demo_apps\lwip\lwip_ping\freertos\FreeRTOSConfig.h
boards\frdmk64f\demo_apps\lwip\lwip_tcpecho\freertos\FreeRTOSConfig.h
boards\frdmk64f\demo_apps\lwip\lwip_udpecho\freertos\FreeRTOSConfig.h
boards\frdmk64f\driver_examples\sdcard\freertos\FreeRTOSConfig.h

boards\twrk64f120m\demo_apps\lwip\lwip_httpsrv\freertos\FreeRTOSConfig.h
boards\twrk64f120m\demo_apps\lwip\lwip_ping\freertos\FreeRTOSConfig.h
boards\twrk64f120m\demo_apps\lwip\lwip_tcpecho\freertos\FreeRTOSConfig.h
boards\twrk64f120m\demo_apps\lwip\lwip_udpecho\freertos\FreeRTOSConfig.h
boards\twrk64f120m\driver_examples\sdcard\freertos\FreeRTOSConfig.h

 

BRs,

 

-Engin

Outcomes