I have a system that uses an arduino and a node.js host process and works on a PC or rPi. I'd like to have this all run on the Edison, so i'm looking for a way to minimally modify the arduino code to do this, and what I've come up with is using socat to create some virtual serial devices and use TTYUARTClass to make a serial object in arduino. this way i can use defines to pick what serial device name to use on the arduino side and leave the rest of the code alone.
problem is, there's no socat. so, other ideas? I've seen the fifo files idea, but that's a lot of modding on the arduino code.