These properties are applicable to C and assembly code source files that are in a Executable, Library or Object File project type.

Assembler and Compiler Options

Property Name Type Save Name Description
Additional Assembler Options String List asm_additional_options Additional command line options to be supplied to the assembler.
Additional Compiler Options String List c_additional_options Additional command line options to be supplied to the C/C++ compiler.
Enforce ANSI Checking Boolean c_enforce_ansi_checking Enable additional checking to ensure C programs conform to the ISO C99 standard and C++ programs conform to the 1998 ISO C++ standard.
Object File Name String build_object_file_name Specifies the name of the object file produced by the compiler/assembler. This property will have macro expansion applied to it.
Treat 'double' as 'float' Boolean double_is_float The compiler should make double equivalent to float. This will reduce the code and data size of the application since double is a 64 bit number and float is a 32 bit number.
Use Hardware Multiplier Enumeration build_use_hardware_multiplier Specifies whether code is generated for a device with a hardware multiplier.

Preprocessor Options

Property Type Save Name Description
Ignore Includes Boolean c_ignore_includes If set to Yes, the System Include Directories and User Include Directories properties are ignored.
Preprocessor Definitions String List c_preprocessor_definitions Specifies one or more preprocessor definitions.
Preprocessor Undefinitions String List c_preprocessor_undefinitions Specifies one or more preprocessor undefinitions.
System Include Directories String List c_system_include_directories Specifies the system include path. This property will have macro expansion applied to it.
Undefine All Preprocessor Definitions Boolean c_undefine_all_preprocessor_definitions If set to Yes, no standard preprocessor definitions will be defined.
User Include Directories String List c_user_include_directories Specifies the user include path. This property will have macro expansion applied to it.

Section Options

Property Type Save Name Description
Code Section Name String default_code_section Specifies the default section name to use for the program code section.
Constant Section Name String default_const_section Specifies the default section name to use for the read-only constant section.
Data Section Name String default_data_section Specifies the default section name to use for the initialised, writable data section.
Vector Section Name String default_vector_section Specifies the default section name to use for the interrupt vector section.
Zeroed Section Name String default_zeroed_section Specifies the default section name to use for the zero-initialised, writable data section.