Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 6 months ago.
Websocket Ethernet code did not work for FRDM-K64F?
I import this sample code and compiled with a error:
the remote repository did not exsist :/RPC_Ethernet_Helloworld/mbed_rtos/rtos the remote repository did not exsist :/RPC_Ethernet_Helloworld/mbed_rtos/rtx
Some help?
Thanks!
Question relating to:
1 Answer
9 years, 6 months ago.
Hi,
those examples use old mbed library (from 2012). Please update all libraries (mainly mbed) to the newest version (to include support for K64F), and they should be working. Let us know.
Regards,
0xc0170
After update mbed & mbed_rtos & ethernet_interface , now i compiled it succesfully!
But there are seveal warnings:
Warning: Incompatible redefinition of macro "FSL_RTOS_MBED" in "extras/mbed_552587b429a1/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/utilities/fsl_os_abstraction.h", Line: 70, Col: 9 Warning: Enumeration value is out of "int" range in "extras/mbed_552587b429a1/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/drivers/enet/fsl_enet_driver.h", Line: 166, Col: 20 Warning: Incompatible redefinition of macro "FSL_RTOS_MBED" in "extras/mbed_552587b429a1/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/utilities/fsl_os_abstraction.h", Line: 70, Col: 9 Warning: Enumeration value is out of "int" range in "extras/mbed_552587b429a1/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/drivers/enet/fsl_enet_driver.h", Line: 166, Col: 20 Warning: C4017W: qry may be used before being set in "EthernetInterface/lwip/core/dns.c", Line: 564, Col: 18 Warning: Variable "recv" was declared but never referenced in "main.cpp", Line: 7, Col: 10
posted by 13 Oct 2014