MicroC Code Generator : Code Options : Generation of Constant Elements with “const” Modifier

Generation of Constant Elements with “const” Modifier

When the check-box Use ‘const’ Keyword to define Constant Values in the Target tab of the Code-Generator Property Sheet is selected, constant elements are generated with a const modifier.

When this option is selected, elements which are defined as Constant are generated with const modifier to the glob_dat.c and glob_dat.h files, instead of being generated as pre-processor macros in the macro_def.h file.