onewire and other libraries that contain AVR specific code will not work yet on Galileo.
Galileo sketches run on top of linux so all libraries just use the standard user space linux calls
you will see examples in many of the core libraries such as hardware\arduino\x86\cores\arduino\wiring_digital.c
porting of libraries is underway but if you get to port it before others do, please post back
Thanks ado for the answer.
At makerfaire I talked with a Intel technician about the architecture of Galileo that has a sort of HAL layer on top of linux core, I didn't know where to look at.
I'll try to undestand the code that you indicated to see if can translate the AVR defines into X86 defines.
Hi there just wondering if you guys got any further with porting this library? I'm working on a project that uses this library and it wasn't until I got my hands on an Galileo that I realised they won't quite support Arduino code out of the box.
I'm going to try and work it out myself otherwise.
Now we are more than 6 months into this. Has onewire been ported yet? Is there a way to do this on the Linux side. On Raspberry Pi, it is quite easy to map the GPIO pin to a device. if this is possible on the Galileo, then we could use the system() method and do a cat on the device to get the data needed.