Skip to main content
Associate
Mar 13, 2024 3:05 PM UTC
Solved

How do I exit/shutdown TouchGFX?

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.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Mar 13, 2024 3:24 PM UTC

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 "Best answer" on the reply which solved your issue or answered your question.

2 replies

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Mar 13, 2024 3:24 PM UTC

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 "Best answer" on the reply which solved your issue or answered your question.
ulixAuthor
Associate
Mar 14, 2024 4:37 PM UTC

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.