µGFX:How to getting start

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
asdasd
Posts: 18
Joined: Wed May 01, 2019 8:54 am
Has thanked: 9 times

µGFX:How to getting start

Postby asdasd » Mon Oct 19, 2020 9:08 am

HI
I have STM32F769I discovery and i want to use the touch screen with µGFX .
is there a demo project ? :?:
I have add µGFX to the project , i have also add to the make file doc but i have an "error GOS:unsupported version of chibios" ,i am using chibios 20.3.2 kernal 6.1.2 .
how can i solve this problem? :?:

best regard,
asd

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: µGFX:How to getting start

Postby Giovanni » Mon Oct 19, 2020 9:56 am

By asking to the author of uGFX.

Giovanni

asdasd
Posts: 18
Joined: Wed May 01, 2019 8:54 am
Has thanked: 9 times

Re: µGFX:How to getting start

Postby asdasd » Tue Oct 20, 2020 7:18 am

is there a way to have smart display with STM32F769I discovery touch screen with chibios 20.3 like touchgfx?or anther.

steved
Posts: 823
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: µGFX:How to getting start

Postby steved » Tue Oct 20, 2020 8:43 am

You could try updating the chibios-related files in /src/gos with the attached; probably that's all you need to do. I updated them for Chibi 19, which also uses the version 6 core, but haven't tried them with Chibi 20; so there may be a few more adjustments, but hopefully my changes will point you in the right direction.

Touchgfx is on my list to look at sometime; although I get the impression that ST's support software is of somewhat variable quality (not having looked at it in any detail)
Attachments
gos.7z
(2.53 KiB) Downloaded 168 times

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: µGFX:How to getting start

Postby Giovanni » Tue Oct 20, 2020 10:20 am

I would like to try LVGL, it looks interesting and free but I don't have time for it right now.

Giovanni

asdasd
Posts: 18
Joined: Wed May 01, 2019 8:54 am
Has thanked: 9 times

Re: µGFX:How to getting start

Postby asdasd » Tue Oct 20, 2020 12:06 pm

steved wrote:You could try updating the chibios-related files in /src/gos with the attached; probably that's all you need to do. I updated them for Chibi 19, which also uses the version 6 core, but haven't tried them with Chibi 20; so there may be a few more adjustments, but hopefully my changes will point you in the right direction.


THanks for your batch i have replace the files but I have many problem like:
1-target 'build/obj/main.o' give more than once in the same rule
2-error:request for member 'sem' in something not a structure or union
3- conflicting types for 'gfx SemDestroy'
........
.....

what i do is :
1-I have creat chibios project for stm32f769
2-add ugfx project to chibi studio file
3-include gfx.mk , stm32f769i/board.mk .to the make file
4-add GFXDemo =modules/gdisp/basics to the make file.
5= add gfxconf.h and modify #define GFX_USE_OS_CHIBIOS GFXON

i don't know what is the problem.
Can i have your demo porject.plz?

best regard,
asd

steved
Posts: 823
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: µGFX:How to getting start

Postby steved » Tue Oct 20, 2020 1:33 pm

I don't have a 'demo' project; uGfx was part of something much bigger. I've taken its makefile, and stripped out most of the irrelevant; will hopefully give you the idea.
Attachments
Makefile_ugfx_skeleton.7z
(2.5 KiB) Downloaded 163 times


Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 9 guests