AnsweredAssumed Answered

merge usb cdc host and device

Question asked by Ji Hsiang Lum on Nov 5, 2017
Latest reply on Nov 22, 2017 by Daniel Chen

To whom it may concern,

 

I am attempting to develop an application for the FRDMKL82Z board which requires it to act as a cdc host some times and a cdc device at others.  I have gotten the demos to execute successfully and have been able to modify them for my purposes.  I now need to merge both code bases - I think I understand how to get FreeRTOS to switch one side on at a time but am having lots of linker problems if I just try to copy and paste one into the other.  I tried to follow the instructions as per https://community.nxp.com/thread/437502 but I ended up with lots of broken includes even though I have pointed the linker at the correct directory (I basically copied the entire vcom device directory into a special directory in the host project and pointed the linker at that).  Is there something I am missing?  I am somewhat out of practice coding - haven't done it for 20 years so there may be something obvious I am missing. 

 

I am using SDK 2.2 and KDS 3.2.  

 

Thanks

Outcomes