Hey,
I am currently porting Gwen to Chibios/GFX.
You can find the code here: https://github.com/mobyfab/ChibiOS-Gwen
I do have a working, yet limited, demo on the examples repo.
I will post the progress and changes here.
Right now I am mostly optimizing the code as it is not really meant for embedded devices.
Simples things such as const-correctness have not been done everywhere on the original code.
I am making it modular so that you only pay for what you use.
I made unicode support and animations optional, which saves 155K of code(!)
Here is the current size of the demo binary: Flash: 116912 RAM: 13588
(The first working version of the port was over 300K of code.)
Also I am making lightweight skins for faster rendering.
I will post a video as soon as I have something nice to show.
Feel free to participate in testing, commenting or developping
Thanks.
Gwen Port to Chibios/GFX
Re: Gwen Port to Chibios/GFX
This is very nice, thank you very much for your work, Mobyfab!
Whenever I'll find some time in my life (so yes, never, you're right), I'll try to port it directly into the library. Maybe this helps some users to keep stuff simple.
I guess you are not interested in keeping everything inside the ChibiOS/GFX repo, right?
~ Tectu
Whenever I'll find some time in my life (so yes, never, you're right), I'll try to port it directly into the library. Maybe this helps some users to keep stuff simple.
I guess you are not interested in keeping everything inside the ChibiOS/GFX repo, right?
~ Tectu
Re: Gwen Port to Chibios/GFX
Tectu wrote:Whenever I'll find some time in my life (so yes, never, you're right), I'll try to port it directly into the library. Maybe this helps some users to keep stuff simple.
I don't think this is a good idea. Best to keep things separate and simple, but provide well documented means of using the two together. You could always have an upstream 'super' repo which has the two projects as submodules to make it easy.
Re: Gwen Port to Chibios/GFX
Gwen is certainly a nice idea for a GUI system. I haven't tried it out yet but then this looks to be a good solution for a GUI abstraction.
Keep it going mobyfab, We'll contribute as and when required. Hope the code size comes down further in the months to come without compromise of functionality.
Cheers
Abhishek
Keep it going mobyfab, We'll contribute as and when required. Hope the code size comes down further in the months to come without compromise of functionality.
Cheers
Abhishek
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
-
- Posts: 483
- Joined: Sat Nov 19, 2011 6:47 pm
- Location: Le Mans, France
- Has thanked: 21 times
- Been thanked: 30 times
Re: Gwen Port to Chibios/GFX
http://www.youtube.com/watch?v=iICqELELbL0
Now this is getting interesting.
I'll have to test all widgets. For some reason the slider was crashing so I had to disable some code. (the code that moves the slider button when you keep pressed on it, that's why it lags on the video)
Now this is getting interesting.
I'll have to test all widgets. For some reason the slider was crashing so I had to disable some code. (the code that moves the slider button when you keep pressed on it, that's why it lags on the video)
Return to “LCD Driver and Graphic Framework”
Who is online
Users browsing this forum: No registered users and 5 guests