Anyone has reference how to mock RTOS functionality in Model Class for simulation purpose?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-01 8:23 PM
As we know STM32CubeMX generates MSVC project file .sln for simulation project. I find this is really handy to help developers GUI while waiting for hardware ready.
But it is common data in GUI comes from outside dedicated task, then the Model class need to read in model::tick() whether there is new message in queue. I want to simulate this while waiting for real board to come. But I wonder if this is actually somewhat available somewhere by ST?
So we need a mock functions to simulate FreeRTOS or CMSIS OS wrapper to create, read and write queue.
Labels:
- Labels:
-
TouchGFX
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
