cancel
Showing results for 
Search instead for 
Did you mean: 

How do I exit/shutdown TouchGFX?

ulix
Associate

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().

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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.

View solution in original post

2 REPLIES 2
SofLit
ST Employee

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.

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.