Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum

u8glib & OLED

EUbel
Beginner
1,121 Views

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

1 Solution
Diego_V_Intel
Employee
233 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
Diego_V_Intel
Employee
234 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.

Reply