AnsweredAssumed Answered

RNDIS Support in MQX 4.1.0 for K70 Board

Question asked by Indrajit Kumar on May 25, 2016
Latest reply on May 27, 2016 by Indrajit Kumar

We want to enable RNDIS support on MQX. 4.1.0 .In short, we need to get “OS\usb\device\examples\cdc\virtual_nic” running successfully.

 

As per Freescale documentation we are using RTCS module to achieve RNDIS.

We have enabled following in user_config.h:

#define RTCSCFG_ENABLE_ICMP      1

#define RTCSCFG_ENABLE_UDP       1

#define RTCSCFG_ENABLE_TCP       1

#define RTCSCFG_ENABLE_STATS     1@

#define RTCSCFG_ENABLE_GATEWAYS  1

#define FTPDCFG_USES_MFS         1

#define RTCSCFG_ENABLE_SNMP      1

 

While compiling the usb_device code (after enabling the macro DELAYED_PROCESSING), we are getting some compilation errors.

The same compilation issue is discussed in Freescale Community too https://community.freescale.com/thread/65659 , but no solution offered.

 

  1. How do we successfully compile the usb cdc device component for RNDIS ?
  2. What additional changes to do done to execute “virtual_nic” ?
  3. How to test if the RNDIS is working ?

Outcomes