AnsweredAssumed Answered

Using RTCS on K24 with KDSK 1.3.0 for PPP over serial

Question asked by George Sosnowski on Nov 12, 2015
Latest reply on Nov 13, 2015 by Martin Kozusky

I'm using Kinetis MK24FN1M0CAJ12R with KDS 3.0.0 and KSDK 1.3.0 on a custom board with MQX_KDSK support.

Previously, I was using traditional MQX 4.1.0 and trying to migrate over to KSDK 1.3.0, there are a lot of differences. :-)

In MQX 4.1.0 I was using RTCS to communicate via PPP over serial port.

I'm trying to do the same thing with KSDK 1.3.0, however I'm having trouble getting the RTCS library to compile with my project, since there is a heavy dependency on phy and ethernet driver, which my processor does not have (in files fsl_enet_rtcs_adapter.c and .h).

I tried adding the Enet driver and Phy driver code anyway, but Processor Expert rightly complains that my processor doesn't have an ethernet device.

So, I'm stuck at this point, seeming that only option is to modify the RTCS library to take out Ethernet Driver dependencies which seems like a daunting task that could easily go down a rat hole.


My question is, are there any options in using RTCS for this purpose in KDSK 1.3.0 either by configuring/modifying the RTCS library (building without fsl_enet_rtcs_adapter.c and .h), forcing Ethernet driver into Processor Expert, or anything else?

An alternative, would be to use lwip instead of RTCS, however I'm not sure if lwip does not have this dependency as well for having an Ethernet driver. I notice it uses the phy and ethernet drivers in ethernetif.c and lwip_fsl_irq.c.