Reply
Posts: 7
Registered: ‎09-13-2017

Include Macros in example projects not resolving

Is there a way to fix includes resolving in the example projects? Using the switch example these:

 

#include PLATFORM_HEADER
#include CONFIGURATION_HEADER
#include EMBER_AF_API_STACK
#include EMBER_AF_API_HAL

... etc.

 

These don't resolve, I assume just because there is a limitation of the IDE trying to convert the macros, but it makes development and trying to understand the code rather difficult. Is there a simple fix to this, some configuration box to check somewhere in project preferences? Or is the only solution adding extra defines to the beginning of each and removing them before build time. eg:

 

#define PLATFORM_HEADER "hal/micro/cortexm3/compiler/iar.h"
#define CONFIGURATION_HEADER "thread-configuration.h"

Posts: 10
Registered: ‎06-18-2017

Re: Include Macros in example projects not resolving

You can add additional macros in <Includes tab> of Simplicity Studo.