cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX: Using FreeRTOS vs No RTOS

KMew
Senior III

Hello,

I am working on a TouchGFX project and one of my goals is to minimize the RAM usage while still maintaining complete functionality of my system, which has some things running at the same time:

  • TouchGFX (LTDC - RGB565) - Current using FreeRTOS Task
  • BLE (Using BLUENRG-M0L) - Currently using FreeRTOS Task
  • Multiple GPIO Interrupts
  • Multiple PWM signals generated (with Interrupts)

I am trying to decide if the FreeRTOS is necessary or if I can eliminate it, since the ucHeap for the tasks is relatively large (~34.53 KB).

How do I determine if the FreeRTOS is beneficial or just wasted RAM usage/processing? What thoughts should I have in mind?

1 REPLY 1
Richard Lowe
Senior III

I'm working on something quite similar in specs. RTOS makes everything so easy. Trying to use a superloop is possible with flags, but tends to get messy. I'd stick with the RTOS.