Porting to a new stack

28 views
Skip to first unread message

Seth Bollinger

unread,
Mar 16, 2015, 7:46:05 AM3/16/15
to smcp...@googlegroups.com
Hello,

My processor has an embedded IP stack.  I would like to port to this stack.  What would be the best/simplest approach to accomplish this task?

Thanks,

Seth

Robert Quattlebaum

unread,
Mar 16, 2015, 2:19:14 PM3/16/15
to Seth Bollinger, SMCP Developers Group Group
SMCP would could use an embedded IP stack, but it doesn't replace an IP stack.

What are you trying to do?

Seth Bollinger

unread,
Mar 16, 2015, 2:24:02 PM3/16/15
to smcp...@googlegroups.com, seth...@gmail.com
Currently it seems the code support the BSD or uIP stacks.  My processor uses neither of these.  It exposes an interface to a stack that's built in.  I would like to port SMCP to use this stack, and would like to know the best place to start.

I started by copying the smcp-plat-uip.[ch] and renaming.  Next step would be to alter the interfaces.  Does this seem reasonable, or is there a better way?

Robert Quattlebaum

unread,
Mar 20, 2015, 9:00:57 PM3/20/15
to Seth Bollinger, SMCP Developers Group Group
I'm working on making porting SMCP to other stacks easier as a part of adding session support (necessary for DTLS), but my life outside of SMCP development has been very busy lately and I haven't had a chance to get back to working on it.

Other people have successfully ported SMCP over to other stacks, so it is doable.
Reply all
Reply to author
Forward
0 new messages