olikraus / u8glib

Arduino Monochrom Graphics Library for LCDs and OLEDs
https://github.com/olikraus/u8glib/wiki
Other
1.24k stars 313 forks source link

Raspberry PI port, what files to compile #515

Closed ObligedTester closed 3 years ago

ObligedTester commented 3 years ago

Hello,

I have successfully compiled and run the C-version of the library on my Raspberry PI. Works great, i am using it without Wiring PI.

However, I compile it with gcc *.c and that results in over 20mb of binary.

Currently not using any IDE.

My experience with compiling with this kind of library as you understand is very limited.

Is there like a flowchart of what files to compile / link or any other trick? I have seen another project like this with a build script, that is also producing very large binarys so that does not seem to work either.

My guess is now that i compile support for every LCD, every font etc.

If it helps, i am using the ST756s ERC240160

Any pointers here would be greatly appreciated.

ObligedTester commented 3 years ago

wrong place