Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Heap depends on installed memory, known at run time only

Posted by cdebrebisson on May 2, 2017


I am working on a system where the size of the RAM part is not always the same. By this I mean that one device might have a 16MB ram, another a 32MB one... I want the software to be able to detect the ram size and to use whatever is there as Heap space.

How can I do this in FreeRTOS?


Heap depends on installed memory, known at run time only

Posted by heinbali01 on May 2, 2017

Hi Cyrille, I like to use heap_5.c for that. It is designed to define the heap memories at runtime. Here you find more text and examples about this subject

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS