Barry is intended to be cross platform, but I do not have the machines to test it with. If you look in the library source tree, you'll see endian.h, which is currently only filled in for little endian machines.
The library proper does use those macros, so in theory endian.h should only need to be properly updated for your machine, and it should work. Testing is obviously needed though.
The error you're getting is from libusb somehow failing. This could be two separate issues we're looking at.
Please join the mailing list. I'm excited to see someone with a big endian machine using Barry, and I'll definitely help out in debugging if you can help out with testing.
- Chris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1383461
Originator: NO
Barry is intended to be cross platform, but I do not have the machines to test it with. If you look in the library source tree, you'll see endian.h, which is currently only filled in for little endian machines.
The library proper does use those macros, so in theory endian.h should only need to be properly updated for your machine, and it should work. Testing is obviously needed though.
The error you're getting is from libusb somehow failing. This could be two separate issues we're looking at.
Please join the mailing list. I'm excited to see someone with a big endian machine using Barry, and I'll definitely help out in debugging if you can help out with testing.
- Chris
Logged In: YES
user_id=96140
Originator: YES
Chris,
Thanks for that. I have a project of SF (w1retap) that uses libusb, so I'm not unfamiliar with it. I'll start with endian.h and join the M/L.
-jonathan
Logged In: YES
user_id=1388245
Originator: NO
Closed, as version 0.5 supports big endian machines.
- Chris