Open daleInMelbourne opened 11 years ago
This is working for me. Double check you have the latest libraries and provide more details of what you're trying to compile.
This is the Due yes? i.e. you have d/l IDE 1.5.1r2 ?? for DUE only?
btw Chris confirmed my findings. and it is to do with the int data type on the Due being 32bit
I have IDE 1.5.1 and it is fine for me. Also refer to commit earlier today, i've upgraded the library to build against the 151 release. It's not 100% complete coverage but it's a good indicator.
There's a few more key items you're missing from issue report:
It's difficult for me to recreate without information above.
Maybe there's a difference between windows and linux version which is what I am using. Anyway seems like you know what the problem is maybe you should fix it? ;)
Hmm. I will go back and check. Chris ran his on iOS and had the same issues. He is looking to fix it..
Just to be clear. Before you compiled you did select the Due as the target board?
We have to go through and check all shields and libs now against the Due.
I seem to remember having similar issues with the Leonardo? and Chris looking into that one. It has something to do with the data type being used...
C:\arduino-1.5.1r2-windows\arduino-1.5.1r2\libraries\GBTransport\SC16SpiTransport.cpp:103: error: prototype for 'int16_t SC16SpiTransport::getBaudRate()' does not match any in class 'SC16SpiTransport' C:\arduino-1.5.1r2-windows\arduino-1.5.1r2\libraries\GBTransport\/SC16SpiTransport.h:42: error: candidate is: int SC16SpiTransport::getBaudRate()