Skip to main content
q123w123e123qweqwe
Associate III
July 24, 2020
Question

Receiving and sending mail in the same task on CMSIS-RTOS

Hi,

I'm new at both RTOS and object-orientated programming. and I have a problem with variables. I'm working on a project with TouchGFX that uses two-screen when I change the screen and come back again my values are reinitialized but I need that data. I'm also sending that data (typedef structure) to another task by using mail. But I neither hold that data on class nor resend from task again. My project stays in here:

static void prvCheckTasksWaitingTermination( void )

This topic has been closed for replies.

1 reply

hs2
Visitor II
July 24, 2020

No idea what mail is but the the function you‘re cycling around belongs to the FreeRTOS idle task. Means you‘re application is doing nothing (more or less).

Seems you should verify your inter-task communication code.