Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: .dat files and preprocessor directives

$
0
0

Hi,

I have a problem (maybe it is not a problem) with .dat files in SimpliciTI RF stack. These .dat files are used for build configuration of this stack. For example:

# Define Frequency Agility as active for this build
--define=FREQUENCY_AGILITY
# Enable application autoacknowledge support. Requires extended API as well
--define=APP_AUTO_ACK

It means that FREQUENCY_AGILITY and APP_AUTO_ACK are defined. It is ok and I understand.

BUT. I show you a piece of application program for better understanding:

As you can see... in application program it seems that FREQUENCY_AGILITY is not defined because #ifdef - #endif directive is highlighted. But FREQUENCY_AGILITY is really defined - it must be, because if I insert "#" before --define=FREQUENCY_AGILITY in .dat file I get an error after build.

Is my problem with this linker or compilator setting issue? I tried to find any information in project settings, but without succes. Thank you very much.

Maros.


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>