8.1.9. MemMap Configuration

8.1.9.1. Background

Your project uses MemMap.h and <Abc>_MemMap.h headers a lot, i.e. the code looks somewhat similar to:

#define Abc_START_SEC_CODE
#include "Abc_MemMap.h"
/* code here */
#define Abc_STOP_SEC_CODE
#include "Abc_MemMap.h"

8.1.9.2. What can be configured?

You need to take care of:

  • compiler profile tuning

8.1.9.3. What needs to be done?

Compiler profile

The analysis runs and produces results even without any special configuration, however analysis performance may be suboptimal, depending on how often those #include "MemMap.h" happen in the code.

As a proper MemMap header does not add anything important for the analysis (with the obvious exception, if you want to do some analysis on the MemMap macros themselves), we can skip parsing macros from those headers in order to improve performance.

To do so, configure option advanced.no_macros_for_path_globbings in your compiler profile to contain e.g. *MemMap.h and those files will be ignored.