Page 6 of 18

Re: GDISP driver

Posted: Thu Aug 02, 2012 11:24 am
by Tectu
Hello petr!

Thank you for trying out the GDISP driver. Sadly I couldn't compile it myself yet so I don't even know if I would have the same problem.
Feel free to attach your entire project folder, including source code, Makefile, all config files etc. as a zip file.

inmarket couldn't try out any of the code yet, so it is very likely that there is a bug in the font rendering.
Feel free to use the current implementation of the drivers to continue your work/project. One the halext stuff is done, you will be able to switch to it without loosing any features.


~ Tectu

Re: GDISP driver

Posted: Thu Aug 02, 2012 11:30 am
by Badger
Hi Petr,

what orientation are you using? it is likely that the write order for sequential write is wrong. If inverted then try non-inverted and see if the problem persists.

Re: GDISP driver

Posted: Thu Aug 02, 2012 11:59 am
by Abhishek
I just got my S6D1121 code to compile.

Testing now.

Re: GDISP driver

Posted: Thu Aug 02, 2012 12:03 pm
by Tectu
Abhishek wrote:I just got my S6D1121 code to compile.

Can you tell me exactly step by step what you did? I wasn't able to compile, doing exactly what's described in the readme.

Did you replace glcd/glcd.h with halext/inc/glcd.h ?


~ Tectu

Re: GDISP driver

Posted: Thu Aug 02, 2012 12:07 pm
by Abhishek
The thing is, you don't have to use the GLCD makefile. You'll have to use the makefile provided in halext folder.

Re: GDISP driver

Posted: Thu Aug 02, 2012 12:08 pm
by Abhishek
Hello petr,

which font are you using?

Re: GDISP driver

Posted: Thu Aug 02, 2012 12:18 pm
by Abhishek
I too got garbage in text rendering, the driver works fine.

Re: GDISP driver

Posted: Thu Aug 02, 2012 12:20 pm
by Abhishek
The new text rendering engine seems broken.

Re: GDISP driver

Posted: Thu Aug 02, 2012 12:22 pm
by Tectu
Fix it then :)


~ Tectu

Re: GDISP driver

Posted: Thu Aug 02, 2012 12:24 pm
by Abhishek
The code size is very less (only 9400 bytes, 8000 bytes by ChibiOS)

Looks like the font tables are getting optimized out.