Skip to Content
Hands-On RTOS with Microcontrollers
book

Hands-On RTOS with Microcontrollers

by Brian Amos
May 2020
Intermediate to advanced
496 pages
13h 54m
English
Packt Publishing
Content preview from Hands-On RTOS with Microcontrollers

Important notes

RAM on MCU-based embedded systems is usually a scarce resource. When increasing the heap space available to FreeRTOS (configTOTAL_HEAP_SIZE), you'll be reducing the amount of RAM available to non-RTOS code.

There are several factors to be aware of when considering increasing the heap available to FreeRTOS via configTOTAL_HEAP_SIZE:

  • If a significantly sized non-RTOS stack has been defined – that is, the stack that is used by any code that isn't running inside a task (typically configured inside the startup file). Initialization code will use this stack, so if there are any deep function calls, this stack won't be able to be made especially small. USB stacks that have been initialized before the scheduler is started can be ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RTOS with Microcontrollers - Second Edition

Hands-On RTOS with Microcontrollers - Second Edition

Jim Yuill, Penn Linder

Publisher Resources

ISBN: 9781838826734Supplemental Content