GDISP driver

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

Re: GDISP driver

Post by Abhishek »

The problem lies in the ways structures are packed. I will have to do some modifications.
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post by Abhishek »

One thing that has been done is that inmarket's code relies on the fact that the structures are linked sequentially, unfortunately, it's happening that the code's messed up. It'll require reworking of the font structure. I'll give it a try, but ultimately, inmarket, sorry, you will have to tweak your code.
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post by Abhishek »

I'm close, but not too much. It's coming but still dirty. I'm going away for a few hrs, after I come back I'll check
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: GDISP driver

Post by Tectu »

Can you please keep things in a single post? This way we keep the forum clean.
Thank you :)


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

Re: GDISP driver

Post by Abhishek »

I did some restructuring in the font structure, currently targeting just 1 font. When I get it working, I'll post it here / submit a patch.

I'll be editing this post for updates.

EDIT 19:18 +530: Going away again now, should be back in ~ 2hrs
inmarket
Posts: 89
Joined: Fri Jul 27, 2012 1:37 pm

Re: GDISP driver

Post by inmarket »

Not unexpected that the fonts are broken. It was almost a complete rewrite.
I am glad that at least the other operations are working.
I have just got my own screen driver operational for rectangular fills so I will now switch focus and get the fonts sorted out.
Thinking about it - It could be the sub-structure tables are being optimised out by the compiler as they are not referenced directly. I will investigate.
For the other drivers - can someone submit any changes needed to make these operational.
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post by Abhishek »

BINGO!!!!

Just Before leaving, saw that there was one small change. When I did it, works like a charm.

I'll give the details once I'm back.
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

Re: GDISP driver

Post by Abhishek »

I'm making a lot of posts again, sorry ;)

Indeed inmarket, the problem is related to sub-structures. A small change is required to get it running. especially removin that SC stuff from the table, and referencing all tables from inside the main font table.

I left a c - f->min somewhere while changing, causing the problem. Now, its fine. Don't worry inmarket, you've done excellent work! :) I'll get back soon with my changes
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: GDISP driver

Post by Tectu »

Sounds good, waiting for pull requests :)


~ Tectu
inmarket
Posts: 89
Joined: Fri Jul 27, 2012 1:37 pm

Re: GDISP driver

Post by inmarket »

Tectu wrote:

Code: Select all

Compiling /home/tectu/projects/resources/chibios/ext/lcd/drivers/lcd/ssd1289_lld.c


It looks like your still compiling and linking the GLCD code in (perhaps as well as the GDISP). Try removing GLCD from the make chain and just using GDISP and it should work.
Locked