shangma / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

Adapting u8glib for other platforms #290

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just a general question. How would you approach adapting this library for other 
platforms. For example, I'd like to install the library on an Atheros AR9331 
MIPS chipset, which supports SPI. Where in the Library code would I need to 
make modifications? Thank you for guidance. 

Original issue reported on code.google.com by omar.aljadda@gmail.com on 5 Oct 2014 at 4:46

GoogleCodeExporter commented 9 years ago
Try to start with the ARM variant of u8glib. It also contains t a description 
how to integrate u8glib into a complete unknown environment.

See also here: http://blog.bastelhalde.de/?p=759

Original comment by olikr...@gmail.com on 5 Oct 2014 at 6:28

GoogleCodeExporter commented 9 years ago
Thanks for the tips. I'm trying to implement the u8g_Delay() function in my 
environment. However, I'm finding that I can't get a reliable delay of 1uS (I'm 
not using a real-time OS, I'm using OpenWrt linux) ... how important  is it to 
get exactly 1uS/300uS/400uS etc.. do you think this will cause major issue?

For more detail I've got a post on SO:
http://stackoverflow.com/questions/27163501/delay-by-1-microsecond-in-c-mips-env
ironment

Original comment by omar.aljadda@gmail.com on 27 Nov 2014 at 7:44

GoogleCodeExporter commented 9 years ago
It is no problem to have a larger delay. However shorter delays may affect the 
communication between the host and the display.

Original comment by olikr...@gmail.com on 27 Nov 2014 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by olikr...@gmail.com on 13 Dec 2014 at 5:33