Skip to main content
KMew
Senior III
May 8, 2023
Question

TouchGFX: Using FreeRTOS vs No RTOS

  • May 8, 2023
  • 1 reply
  • 1220 views

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?

This topic has been closed for replies.

1 reply

Richard Lowe
Senior II
May 12, 2023

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.