LCD-TFT Driver Controller (LTDC)

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
utzig
Posts: 359
Joined: Sat Jan 07, 2012 6:22 pm
Has thanked: 1 time
Been thanked: 20 times

Re: LCD-TFT Driver Controller (LTDC)

Post by utzig »

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

Re: LCD-TFT Driver Controller (LTDC)

Post by Tectu »

The following text is a result of a conversation between inmarket and me:

It has been asserted that uGFX cannot be linked with ChibiOS. That however is incorrect under the stable ChibiOS license due to the linking exception. uGFX is not a "binary" library, it is a collection of source code. It also is not distributed as a "combined work" and can therefore be linked with ChibiOS. Note that the ChibiOS HAL (under the Apache license) is also not GPL and if linking with non-GPL code was not allowed then ChibiOS could not link with its own HAL.
The reality is that the uGFX developers have spent considerable time and money developing the source code. We believe in open source but also believe that if you are going to profit commercially from our work you should contribute in like manner (with licensing fees) to uGFX. Note that we offer free licenses for open-hardware projects.
Our choice may not be your choice but it is our decision, just as Giovanni chooses how he wants to license his great product.



~ Tectu
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: LCD-TFT Driver Controller (LTDC)

Post by Giovanni »

Careful, I was not talking about ChibiOS but GPL code in general.

The ChibiOS exception does allow linking of proprietary code to stable versions without having to disclose source code but source code disclosure has never been a problem in your case.

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

Re: LCD-TFT Driver Controller (LTDC)

Post by inmarket »

Yes, pure GPL is a problem for just about every other license. Unfortunate.
User avatar
TexZK
Posts: 57
Joined: Sat Sep 22, 2012 7:06 pm

Re: LCD-TFT Driver Controller (LTDC)

Post by TexZK »

That's why we chose a revised BSD license for our free projects :|

Anyway, I'm having some trouble while trying to make my demo code work. I'm trying to debug the ST demo code step-by-step, since I cannot even change the background color of the LCD, which implies I can't test my LTDC driver for now.
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: LCD-TFT Driver Controller (LTDC)

Post by Tectu »

TexZK wrote:That's why we chose a revised BSD license for our free projects :|

I agree. The "problem" is that both, ChibiOS and uGFX, may have once started as a spare time project but have clearly developed into something with commercial potential (ChibiOS is of course a lot further).


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

Re: LCD-TFT Driver Controller (LTDC)

Post by inmarket »

And both projects now take considerable investment in time (and therefore money) to grow.
User avatar
TexZK
Posts: 57
Joined: Sat Sep 22, 2012 7:06 pm

Re: LCD-TFT Driver Controller (LTDC)

Post by TexZK »

Voilà, first screenshot of a meaningful texture displayed through the LTDC driver 8-)
I have to figure out why the texture is shifted. There could be some inconsistencies with the computation of LCD offsets (front-/back-porch) or similar things. I'll inspect the ST demo to see where I'm doing it wrong.
Attachments
XOR texture with Wolf3D palette
XOR texture with Wolf3D palette
1450218_202156143306028_2110725575_n.jpg (98.83 KiB) Viewed 9036 times
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: LCD-TFT Driver Controller (LTDC)

Post by Tectu »

Good work! Happy to see the first usable HAL in action on my board :)


~ Tectu
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: LCD-TFT Driver Controller (LTDC)

Post by Giovanni »

Good job :)

Giovanni
Post Reply