GDISP driver

Locked
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: GDISP driver

Post 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
User avatar
Badger
Posts: 346
Joined: Mon Apr 18, 2011 6:07 pm

Re: GDISP driver

Post 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.
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post by Abhishek »

I just got my S6D1121 code to compile.

Testing now.
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: GDISP driver

Post 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
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post 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.
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post by Abhishek »

Hello petr,

which font are you using?
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post by Abhishek »

I too got garbage in text rendering, the driver works fine.
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post by Abhishek »

The new text rendering engine seems broken.
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: GDISP driver

Post by Tectu »

Fix it then :)


~ Tectu
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post by Abhishek »

The code size is very less (only 9400 bytes, 8000 bytes by ChibiOS)

Looks like the font tables are getting optimized out.
Locked