Quality RTOS & Embedded Software

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


Loading

Heap depends on installed memory, known at run time only

Posted by cdebrebisson on May 2, 2017

Hello,

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?

cyrille


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner