µ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.
Post Reply
asdasd
Posts: 18
Joined: Wed May 01, 2019 8:54 am
Has thanked: 9 times

µGFX:How to getting start

Post by asdasd »

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: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: µGFX:How to getting start

Post by Giovanni »

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

Post by asdasd »

is there a way to have smart display with STM32F769I discovery touch screen with chibios 20.3 like touchgfx?or anther.
steved
Posts: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: µGFX:How to getting start

Post by steved »

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 429 times
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: µGFX:How to getting start

Post by Giovanni »

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

Post by asdasd »

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: 834
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 138 times

Re: µGFX:How to getting start

Post by steved »

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 479 times
Post Reply