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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

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.