Portability of cobra code to spider?

As both the cobra and spider boards share the EMX module, I wonder is the code writen in netmf is portable from the cobra to the spider ? (I have built a network services thread on the cobra, that launchs FTP,web,telnet servers and an ntp client. I would love to not rewrite everything on the spider…)

I also wonder is we can still create custom solutions on the spider by getting the EMX pins using custom home made sockets and program each IO individualy for given purposes ?

Thanks

You can use a Spider in “non-gadgeteer” mode. You can’t use ALL the pins, because there are some that are re-used (can’t tell you exactly how to find those though sorry!) but otherwise, yes you can do as you think.

The gadgeteer layer makes some significant changes so I suspect that it might take a little bit more effort to integrate your code into that model, but I doubt it’ll require “full rewrite”