In a profile you can define a macro, but macros are not automatically exported as defines in the generated C-code. To get a #define in the generated C-code we recommend the following way:
$if $NTSC #define CONFIGURATION_NTSC_ENABLED 1 $else #define CONFIGURATION_NTSC_ENABLED 0 $endif #define CONFIGURATION_MAX_NO_OF_CHANNELS $MaxNoOfChannels
Ask Embedded Wizard
Welcome to the question and answer site for Embedded Wizard users and UI developers.
Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!
Embedded Wizard Website | Privacy Policy | Imprint