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
Location: Brazil
Has thanked: 1 time
Been thanked: 20 times
Contact:

Re: LCD-TFT Driver Controller (LTDC)

Postby utzig » Sat Nov 23, 2013 11:13 pm

LOL!

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: LCD-TFT Driver Controller (LTDC)

Postby Tectu » Sun Nov 24, 2013 2:25 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: LCD-TFT Driver Controller (LTDC)

Postby Giovanni » Sun Nov 24, 2013 3:58 pm

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
Location: Brisbane, Australia

Re: LCD-TFT Driver Controller (LTDC)

Postby inmarket » Sun Nov 24, 2013 4:19 pm

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
Location: Lodi, Italy
Contact:

Re: LCD-TFT Driver Controller (LTDC)

Postby TexZK » Sun Nov 24, 2013 4:51 pm

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: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: LCD-TFT Driver Controller (LTDC)

Postby Tectu » Sun Nov 24, 2013 4:59 pm

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
Location: Brisbane, Australia

Re: LCD-TFT Driver Controller (LTDC)

Postby inmarket » Mon Nov 25, 2013 1:24 pm

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
Location: Lodi, Italy
Contact:

Re: LCD-TFT Driver Controller (LTDC)

Postby TexZK » Mon Nov 25, 2013 7:40 pm

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
1450218_202156143306028_2110725575_n.jpg
XOR texture with Wolf3D palette
1450218_202156143306028_2110725575_n.jpg (98.83 KiB) Viewed 5452 times

User avatar
Tectu
Posts: 1226
Joined: Thu May 10, 2012 9:50 am
Location: Switzerland
Contact:

Re: LCD-TFT Driver Controller (LTDC)

Postby Tectu » Mon Nov 25, 2013 7:45 pm

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


~ Tectu

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: LCD-TFT Driver Controller (LTDC)

Postby Giovanni » Mon Nov 25, 2013 8:48 pm

Good job :)

Giovanni


Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 4 guests