Hello,
I am evaluating the free version and still thinking how to integrate the UI app best with underlying system, running FreeRTOS. In the examples provided it seems that data from worker tasks is passed via public RAM allocation in DeviceDriver.c, so one task updated static vars, then DeviceDriver_ProcessData() will pass it along in the gui task.
So i will need one task that waits os messages from other tasks and route it via public ram, or insert osMessageGet() directly into the DeviceDriver_ProcessData(), but this function will stall the code for some time while waiting and probably slow UI repaint. From what i see in the code EwBspWaitForSystemEvent() is the only function that releases execution in the GUI task, and the sleep time is very, very dynamic (if my debug print is correct). So maybe not such a good idea to stall the GUI task for const time everytime it gets execution time from the os.
Should i re-implement the osMessageGet() from cmsis_os.c and tightly integrate into the gui task loop ? Or maybe you have that done already and i missed it ?
Any advice please, thank you!
K.