Skip to main content
Associate
March 13, 2024
Solved

How do I exit/shutdown TouchGFX?

  • March 13, 2024
  • 1 reply
  • 999 views

I'm using TouchGFX with an RTOS.

How can I shutdown TouchGFX, so that my RTOS is still running? This would require to exit from HAL::taskEntry().

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,

Maybe you need to use osThreadTerminate (osThreadId_t thread_id) to kill TouchGFX task?

 

1 reply

mƎALLEm
mƎALLEmBest answer
Technical Moderator
March 13, 2024

Hello,

Maybe you need to use osThreadTerminate (osThreadId_t thread_id) to kill TouchGFX task?

 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
ulixAuthor
Associate
March 14, 2024

Thanks for your fast reply. I can do it by terminating the task.

Just for the record: at least it's necessary to call HAL::disableInterrupts() on shutdown.