How much FLASH does the trace recorder need?

>>How much FLASH does the trace recorder need?

(This answer is only applicable for Percepio’s own recorder library, used for e.g. FreeRTOS, OpenRTOS, SafeRTOS and Micrium µC/OS)

The below table shows an example, using version 2.5.1 of the recorder library when compiled for ARM Cortex M4 (Atmel SAM4S16C) using ARM GCC v4.7.3.

Recorder configuration Compiler optimization Flash usage
Basic features -Os (minimum size) 5,788 byte
Basic features -O3 (maximum speed) 6,840 byte
All features -Os (minimum size) 13,368 byte
All features -O3 (maximum speed) 16,196 byte


Using other compilers or microcontroller architectures other than ARM Cortex-M, the values will of course be different, but this example should give a good indication.

2018-08-06T11:49:26+00:00October 18th, 2013|Categories: FAQ|Tags: , , |

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.