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 - Archive
Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!
Your resources:
The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.
For dedicated assistance, explore our Embedded Wizard Product Support.
You can still browse the valuable discussions from our community history here.
Embedded Wizard Website | Privacy Policy | Imprint