--code_section
Syntax
--code_section=section_nameDescription
By default, the compiler places functions into a code section determined by the code model. Use the --code_section option to by default place all functions in a section with the name section_name. You can then assign this section to a fixed address in the linker configuration file. (The section name is case-sensitive.)
This is useful if you want to place your code in a different address range and you find the @ notation, alternatively the #pragma location directive, insufficient. Note that any changes to the section names require corresponding modifications in the linker configuration file.
Note
This option only applies to functions that are placed in default memory, either explicitly or implicitly. If you use a function memory attribute that explicitly places the function in another section than the default section, that function will not be affected by the --code_section option.
See also
Controlling data and function placement in memory.
Caution
Project>Options>C/C++ Compiler>Output>Code section