Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
907 Views

u8glib & OLED

Jump to solution

Hello,

I've been using the u8glib many times on my Arduino projects, with the promise of the Galileo Gen 2 being Arduino compatible, but with the so much needed memory and speed I'm now trying to get the u8glib running on the Galileo Gen 2. It doesn't even come to the point of a successful compile, I guess due to the different platform (none ARM). Would appreciate some guidance on how to get this going.

Regards,

Riverside


Accepted Solutions
Highlighted
Employee
19 Views

Hello Riverside,

Indeed, the issue is due to architecture compatibilities. The Galileo board is certainly Arduino compatible; however there are Arduino libraries that have been written based on AVR architectures (Arduino boards). This means, those libraries won't work on Galileo because it has a different architecture.

The alternative would be to re-write the Arduino library in order to be Galileo compatible, however this "conversion" might prove challenging, depending on the library. Other option would be to write a new library based on the device you want to use and its datasheet.

One third option is to use another library or approach for your project. The following thread is about an OLED display. I recommend you to check it, you might find it interesting:

Regards,

Diego.

View solution in original post

1 Reply
Highlighted
Employee
20 Views

Hello Riverside,

Indeed, the issue is due to architecture compatibilities. The Galileo board is certainly Arduino compatible; however there are Arduino libraries that have been written based on AVR architectures (Arduino boards). This means, those libraries won't work on Galileo because it has a different architecture.

The alternative would be to re-write the Arduino library in order to be Galileo compatible, however this "conversion" might prove challenging, depending on the library. Other option would be to write a new library based on the device you want to use and its datasheet.

One third option is to use another library or approach for your project. The following thread is about an OLED display. I recommend you to check it, you might find it interesting:

Regards,

Diego.

View solution in original post