Skip to main content
PM.5
Associate III
August 3, 2022
Question

How to work with touchgfx in bare metal ?

  • August 3, 2022
  • 4 replies
  • 1157 views

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.

This topic has been closed for replies.

4 replies

MM..1
Super User
August 3, 2022

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
PM.5Author
Associate III
August 4, 2022

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.

MM..1
Super User
August 4, 2022
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.