david0126 / u8glib

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

flash memory access #153

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

if I am using fonts u8g_font_courB10, u8g_font_fub20, u8g_font_fub25 and 
u8g_font_fub30, everything works fine (on atmega128, totally 42132 Bytes for 
fonts).

When I add next font - u8g_font_fub17 (6938 B, totally 49070 B), it doesn't 
work. 
I tried change in u8g.h "pgm_read_byte_near" to "pgm_read_byte_far", but it 
doesnt help.

Is there problem in limited memory addressing? What should I change?

Thanks.

Original issue reported on code.google.com by radim.l...@gmail.com on 15 Mar 2013 at 5:44

GoogleCodeExporter commented 8 years ago
Unfortunately i do not own an atmega128. I also do not know anything about near 
and far addressing. 
You could try to reduce size by adding postfix "n" to the fonts:
u8g_font_fub30n, u8g_font_fub17n, etc

Original comment by olikr...@gmail.com on 16 Mar 2013 at 12:23

GoogleCodeExporter commented 8 years ago
no further information --> close

Original comment by olikr...@gmail.com on 24 Mar 2013 at 5:47