Hi Paul,
- You can follow slides 0 - 7 from How to add RTCS to a Processor Expert Project Using KDS and KSDK to create a PEx project.
- Then in slide 8 switch MQX_KSDK option to FreeRTOS (if you need it)
- After this follow slides 18 - 20 for ENET pin config.
- Copy the whole lwip folder from the following path into your project. C:\Freescale\KSDK_1.2.0\middleware\tcpip
- In the lwip that was copied into the project it is necessary to delete all ipv6 folders.
- \lwip\src\core\ipv6
- \lwip\src\include\ipv6
- Add your application's code.
- You may need to add the following paths in the compiler Include settings
../lwip/port
../lwip/port/arch
../lwip/src/api
../lwip/src/core
../lwip/src/core/ipv4
../lwip/src/core/snmp
../lwip/src/include
../lwip/src/include/ipv4
../lwip/src/include/ipv4/lwip
../lwip/src/include/lwip
../lwip/src/include/netif
../lwip/src/include/posix
../lwip/src/include/posix/sys
C:\Freescale\KSDK_1.2.0\platform\osa\inc
C:\Freescale\KSDK_1.2.0\platform\CMSIS\Include
C:\Freescale\KSDK_1.2.0\platform\devices
C:\Freescale\KSDK_1.2.0\platform\devices\MK64F12\include
C:\Freescale\KSDK_1.2.0\platform\hal\inc
C:\Freescale\KSDK_1.2.0\platform\drivers\inc
C:\Freescale\KSDK_1.2.0\platform\system\inc
- You may also compare the preprocessor settings form TCP_echo demo with your project's settings.
I hope this helps.
Best regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------