cancel
Showing results for 
Search instead for 
Did you mean: 

How to work with touchgfx in bare metal ?

PM.5
Associate III

Hi...

I m working on STM32f746g-Disco board, In cubemx I have added touchgfx software & since I want to configure the display on Bare metal I have disabled FREERTOS. When I have regenerate the code , OSWarraper file is getting generated. I want to know without OSwrappers , what needs to be written so that it works on bare metal.

4 REPLIES 4
MM..1
Chief II

Maybe stop write here ... questions and debug and read OSWrapper.cpp.

For NO OS is very simple control with two variables.

void OSWrappers::initialize()
{
    fb_sem = 0;
    vsync_sem = 0;
}

and no without this class library cant work ...

PM.5
Associate III

Thanks for the reply.

If I am not wrong this OSWrapper file is related to operating system & as we disabled FREE RTOS those functions will not be invoked & it will get hanged. But my requirement is without any OS related code , only by using Graphical libraries and drivers I need to display. is it possible ?

Correct me if I am wrong.

You are wrong.
TouchGFX is related to operating system and NO OS is too one type of operating system.
WRAPPERS is interface in the middle.
PM.5
Associate III

Hi...

yeah I understood your point.

I have generated the code in bare metal , but it is getting hanged and I am getting black screen on the display.