Skip to main content
Visitor II
July 24, 2020
Question

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

  • July 24, 2020
  • 1 reply
  • 663 views

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

    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.