Everything
 

[Compile Options] tab


This tab shows the detailed information on the compile phase categorized by the following and the configuration can be changed.

 

(1)[Debug Information]

(2)[Optimization]

(3)[Optimization(Details)]

(4)[Preprocess]

(5)[Quality Improvement]

(6)[C Language]

(7)[Character Encoding]

(8)[Output Code]

(9)[Output File]

(10)[Assemble List]

(11)[MISRA-C Rule Check]

(12)[Message]

(13)[Others]

[Description of each category]

(1)

[Debug Information]

The detailed information on debug information is displayed and the configuration can be changed.

Add debug information

Select whether to generate the debug information.

It is possible to perform source debugging with the debugger by outputting information for source debugging to the output file.

This property corresponds to the -g option of the ccrh command.

Default

Yes(-g)

How to change

Select from the drop-down list.

Restriction

Yes(-g)

Generates the debug information.

No

Does not generate the debug information.

Enhance debug information with optimization

Select whether to enhance debug information at optimization.

This property corresponds to the -g_line option of the ccrh command.

This property is displayed in the following cases.

-

When [Always latest version which was installed] or V1.05.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.05.00 or a later version of the CC-RH compiler has been installed

-

When [Yes(-g)] in the [Add debug information] property is selected

Default

Yes(-g_line)

How to change

Select from the drop-down list.

Restriction

Yes(-g_line)

Enhances debug information at optimization.

No

Does not enhance debug information at optimization.

(2)

[Optimization]

The detailed information on the optimization is displayed and the configuration can be changed.

Level of optimization

Select the level of the optimization for compiling.

This property corresponds to the -O option of the ccrh command.

Default

Perform the default optimization(No option specified)

How to change

Select from the drop-down list.

Restriction

Perform the default optimization(No option specified)

Performs optimization that debugging is not affected (optimization of expressions and register allocation, and the like).

Code size precedence(-Osize)

Performs optimization with the object size precedence.

Regards reducing the ROM/RAM capacity as important and performs the maximum optimization that is effective for general programs.

Speed precedence(-Ospeed)

Performs optimization with the execution speed precedence.

Regards shortening the execution speed as important and performs the maximum optimization that is effective for general programs.

Debug precedence(-Onothing)

Performs optimization with the debug precedence.

Regards debugging as important and suppresses all optimization including default optimization.

(3)

[Optimization(Details)]

The detailed information on the optimization is displayed and the configuration can be changed.

Maximum number of loop expansions

Specify the maximum number of times to expand the loops such as "for" and "while".

If 0 or 1 is specified, expansion is suppressed.

If this is blank, the -Ounroll option is not added to the command line. In this case, a value in accordance with the selection of the [Level of optimization] property is used by the compiler.

This property corresponds to the -Ounroll option of the ccrh command.

Default

Blank

How to change

Directly enter in the text box.

Restriction

0 to 999 (decimal number) or blank

Remove unused static functions

Select whether to remove the static functions which are not called.

This property corresponds to the -Odelete_static_func option of the ccrh command.

Default

To adjust the level of optimization(No option specified)

How to change

Select from the drop-down list.

Restriction

To adjust the level of optimization(No option specified)

Performs optimization according to the [Level of optimization] property.

Yes(-Odelete_static_func)

Removes the unused static functions which are not called.

No(-Odelete_static_func=off)

Does not remove the unused static functions which are not called.

Perform inline expansion

Specify whether to perform inline expansion at the location calling functions.

This property corresponds to the -Oinline option of the ccrh command.

This property is displayed only when [Code size precedence(-Osize)] or [Speed precedence(-Ospeed)] in the [Level of optimization] property is selected.

Default

To adjust the level of optimization(No option specified)

How to change

Select from the drop-down list.

Restriction

To adjust the level of optimization(No option specified)

Performs optimization according to the [Level of optimization] property.

Yes(Only specified functions)(-Oinline=1)

Performs inline expansion at the location calling the function for which #pragma inline is specified.

Yes(Auto-detect, to specify maximum increasing rate)(-Oinline=2 -Oinline_size)

Distinguishes the function that is the target of inline expansion automatically and expands it. Specify the maximum rate of increase.

Yes(Auto-detect, maximum increasing rate : to adjust the level of optimization)(-Oinline=2)

Distinguishes the function that is the target of inline expansion automatically and expands it. The compiler takes a value that suits the optimization level as the maximum rate of increase.

Yes(Auto-detect without code size increase)(-Oinline=3)

Distinguishes the function that is the target of inline expansion automatically and expands it, while minimizing the increase in code size.

No(-Oinline=0)

Suppresses all inline expansion including the function for which "#pragma inline" is specified.

Maximum increasing rate of inline expansion size

Specify the maximum increasing rate (%) of the code size up to which inline expansion is performed. (Example: When "100" is specified, inline expansion will be applied until the code size increases by 100% (becomes twice the initial size).)

This property corresponds to the -Oinline_size option of the ccrh command.

This property is displayed when [Yes(Auto-detect, to specify maximum increasing rate)(-Oinline=2 -Oinline_size)] in the [Perform inline expansion] property is selected, or when [To adjust the level of optimization(No option specified)] in the [Perform inline expansion] property and [Speed precedence(-Ospeed)] in the [Level of optimization] property are selected.

Default

100

How to change

Directly enter in the text box.

Restriction

0 to 65535 (decimal number)

Perform pipeline optimization

Select whether to improve the program's execution performance by reordering instructions at the machine-language level.

This property corresponds to the -Opipeline option of the ccrh command.

Default

To adjust the level of optimization(No option specified)

How to change

Select from the drop-down list.

Restriction

To adjust the level of optimization(No option specified)

Performs optimization according to the [Level of optimization] property.

Yes(-Opipeline)

Performs pipeline optimization.

No(-Opipeline=off)

Does not perform pipeline optimization.

Use jr instruction to call a function at the end of the function

Select whether to give precedence to using jr instructions in the place of jarl instructions when the function ends with a function call.

This property corresponds to the -Otail_call option of the ccrh command.

Default

To adjust the level of optimization(No option specified)

How to change

Select from the drop-down list.

Restriction

To adjust the level of optimization(No option specified)

Performs optimization according to the [Level of optimization] property.

Yes(-Otail_call)

Gives precedence to using jr instructions in the place of jarl instructions when the function ends with a function call.

The code size can be reduced by removing the store/restore instructions for lp.

However, some debug functions cannot be used.

No(-Otail_call=off)

Uses jarl instructions when the function ends with a function call.

Initialize automatic variables with immediate values

Select whether to use immediate values to initialize automatic variables.

This property corresponds to the -Oinline_init option of the ccrh command.

This property is displayed when you have selected [Always latest version which was installed] or V1.07.00 or a later version for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.07.00 or a later version of the CC-RH compiler has been installed.

Default

To adjust the level of optimization(No option specified)

How to change

Select from the drop-down list.

Restriction

To adjust the level of optimization(No option specified)

Performs optimization according to the [Level of optimization] property.

Yes(-Oinline_init)

Always uses immediate values to initialize automatic variables.

No(-Oinline_init=off)

The CC-RH selects the optimum initialize method for automatic variables.

Perform optimization by changing alignment conditions

Select whether to proceed with optimization through a change of the alignment conditions.

This property corresponds to the -Oalign option of the ccrh command.

This property is displayed in the following cases.

-

When [Always latest version which was installed] or V2.03.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.03.00 or a later version of the CC-RH compiler has been installed.

-

When [Code size precedence(-Osize)] or [Speed precedence(-Ospeed)] in the [Level of optimization] property is selected

-

When [No] in the [Allocate uninitialized variables in sections according to number of alignments] property is selected

-

When [No] in the [Allocate initialized variables in sections according to number of alignments] property is selected

-

When [No] in the [Allocate const qualified variables in sections according to number of alignments] property is selected

Default

To adjust the level of optimization(No option specified)

How to change

Select from the drop-down list.

Restriction

To adjust the level of optimization(No option specified)

Performs optimization according to the [Level of optimization] property.

Yes(-Oalign)

Performs optimization through a change of the alignment conditions.

No(-Oalign=off)

Does not perform optimization through a change of the alignment conditions.

Optimize accesses to external variables

Select whether to optimize accesses to external variables.

This property corresponds to the -Osmap and -Omap options of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(Optimizes the inner-module)(-Osmap)

Sets a base address for external or static variables defined in the file to be compiled, and generates code that accesses these relative to the base address.

Yes(Optimizes the inner-module)(-Omap)

Generates an external symbol allocation information file.

According to the information, recompilation is done to generate code that performs access to external or static variables relative to the base address.

No

Does not optimize accesses to external variables.

Perform inter-module optimization

Specify the level of inter-module optimization (such as function merging).

Only [Yes(Level 1)(Perform)(-Xintermodule)] and [No] are displayed when [No] in the [Build simultaneously] property in the [Build Method] category from the [Common Options] tab is selected.

This property corresponds to the -Xwhole_program, -Xmerge_files, and -Xintermodule options of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(Level 3)(Perform with assuming it the whole program)(-Xwhole_program)

Performs inter-module optimization assuming that the source files comprise the entire program.

However, operation is not guaranteed if the preconditions are not met.

See "CC-RH Compiler User's Manual" for details about the preconditions.

Yes(Level 2)(Perform with merging files)(-Xmerge_files, -Xintermodule)

Merges two or more C source files and performs inter-module optimization.

This item is displayed only when two or more source files are added to the project.

Yes(Level 1)(Perform)(-Xintermodule)

Performs inter-module optimization for each file.

No

Does not perform inter-module optimization.

Expansion method of library function

Select the method for expanding library functions.

This property corresponds to the -library option of the ccrh command.

This property is displayed when you have selected [Always latest version which was installed] or V2.00.00 or a later version for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.00.00 or a later version of the CC-RH compiler has been installed.

Default

Calls library functions(No option specified)

How to change

Select from the drop-down list.

Restriction

Calls library functions(No option specified)

Calls all standard library functions.

Performs instruction expansion of several library functions(-library=intrinsic)

Performs instruction expansion of several standard library function calls.

Perform optimization considering type of data indicated by pointer

Select whether to perform optimization with consideration for the type of the data indicated by the pointer, based on the ANSI standard.

This property corresponds to the -Xalias option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xalias=ansi)

Performs optimization with consideration for the type of the data indicated by the pointer.

In general, this option improves the object performance, but the execution result may differ from the case when [No] is selected.

No

Does not perform optimization with consideration for the type of the data indicated by the pointer.

Perform inline expansion of strcpy/strcmp/memcpy/memset

Select whether to perform inline expansion of functions "strcpy()", "strcmp()", "memcpy()", and "memset()" calls, with regarding the alignment conditions of the array (including character strings) and the structure as 4 bytes.

This improves the execution speed of the program to be generated, but it increases the code size.

This property corresponds to the -Xinline_strcpy option of the ccrh command.

This property is displayed only when [No] in the [Structure packing] property in the [Output Code] category is selected.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xinline_strcpy)

Performs inline expansion of functions "strcpy()", "strcmp()", "memcpy()", and "memset()" calls.

No

Does not perform inline expansion of functions "strcpy()", "strcmp()", "memcpy()", and "memset()" calls.

Merge string literals

When the same string literals exist in the source file, specify whether to merge them and allocate to the one area.

This property corresponds to the -Xmerge_string option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xmerge_string)

Merges the same string literals exist in the source file and allocates to the one area.

No

Each allocates the same string literals exist in the source file to separate areas.

Output additional information for optimization at time of linkage

Select whether to output additional information for optimization at the time of linkage.

Optimization at time of linkage is applied to files for which this option has been specified.

This property corresponds to the -goptimize option of the ccrh command.

This property is displayed when you have selected [Always latest version which was installed] or V2.01.00 or a later version for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.01.00 or a later version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-goptimize)

Outputs additional information for optimization at the time of linkage.

No

Does not output additional information for optimization at the time of linkage.

(4)

[Preprocess]

The detailed information on preprocessing is displayed and the configuration can be changed.

Additional include paths

Specify the additional include paths during compiling.

The following placeholders are supported.

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

The specified include path is searched with higher priority than the standard include file folder of CC-RH.

The reference point of the path is the project folder.

When this property is omitted, only the standard folder of CC-RH is searched.

This property corresponds to the -I option of the ccrh command.

The specified include path is displayed as the subproperty.

When the include path is added to the project tree, the path is added to the top of the subproperties.

Uppercase characters and lowercase characters are not distinguished for the include paths.

Default

Additional include paths[number of defined items]

How to change

Edit by the Path Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 259 characters

Up to 256 items can be specified.

System include paths

Change the specified order of the include paths which the system set during compiling.

The following placeholders are supported.

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

The system include path is searched with lower priority than the additional include path.

The reference point of the path is the project folder.

This property corresponds to the -I option of the ccrh command.

The include path is displayed as the subproperty.

Default

System include paths[number of defined items]

How to change

Edit by the System Include Path Order dialog box which appears when clicking the [...] button.

Restriction

Changes not allowed (Only the specified order of the include paths can be changed.)

Include files at head of compiling units

Specify the file that is included at the top of the compilation unit.

The following placeholders are supported.

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

The reference point of the path is the project folder.

This property corresponds to the -Xpreinclude option of the ccrh command.

The specified include file name is displayed as the subproperty.

Default

Include files at head of compiling units[number of defined items]

How to change

Edit by the Text Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 247 characters

Up to 256 items can be specified.

Macro definition

Specify the name of the macro to be defined.

Specify in the format of "macro name=defined value", with one macro name per line.

The "=defined value" part can be omitted, and in this case, "1" is used as the defined value.

This property corresponds to the -D option of the ccrh command.

The specified macro is displayed as the subproperty.

Default

Macro definition[number of defined items]

How to change

Edit by the Text Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 256 characters

Up to 256 items can be specified.

Macro undefinition

Specify the macro name to be undefined.

Specify in the format of "macro name", with one macro name per line.

This property corresponds to the -U option of the ccrh command.

The specified macro is displayed as the subproperty.

Default

Macro undefinition[number of defined items]

How to change

Edit by the Text Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 256 characters

Up to 256 items can be specified.

Output C source comments to preprocessed file

Select whether to output the comments of the C source to the preprocessed file.

This property corresponds to the -Xpreprocess option of the ccrh command.

This property is displayed only when [Yes(-P)] in the [Output preprocessed source file] property in the [Output File] category is selected.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xpreprocess=comment)

Outputs the comments of the C source to the preprocessed file.

No

Does not output the comments of the C source to the preprocessed file.

Output line number information to preprocessed file

Select whether to output the line number information of the C source to the preprocessed file.

This property corresponds to the -Xpreprocess option of the ccrh command.

This property is displayed only when [Yes(-P)] in the [Output preprocessed source file] property in the [Output File] category is selected.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xpreprocess=line)

Outputs the line number information of the C source to the preprocessed file.

No

Does not output the line number information of the C source to the preprocessed file.

(5)

[Quality Improvement]

The detailed information on the quality improvement is displayed and the configuration can be changed.

Detect stack smashing

Select whether to detect the stack smashing.

This property is usable only in the Professional Edition.

Detection of stack smashing is a feature for writing a value outside the valid stack area before entering a function and checking whether that value is rewritten before exiting the function. Upon detection, the user-defined __stack_chk_fail() function is called.

See "CC-RH Compiler User's Manual" about the difference between [Yes(-Xstack_protector)] and [Yes(All)(-Xstack_protector_all)].

This property corresponds to the -Xstack_protector and -Xstack_protector_all options of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.03.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.03.00 or a later version of the CC-RH compiler has been installed.

Default

No(No option specified)

How to change

Select from the drop-down list.

Restriction

Yes(-Xstack_protector)

Detects the stack smashing.

Yes(All)(-Xstack_protector_all)

Detects the stack smashing for all functions.

No(No option specified)

Does not detect the stack smashing.

Value to be embedded for detecting stack smashing

Specify the value to be embedded for detecting the stack smashing.

This property is usable only in the Professional Edition.

This property corresponds to the -Xstack_protector and -Xstack_protector_all options of the ccrh command.

This property is displayed in the following cases.

-

When [Always latest version which was installed] or V1.03.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.03.00 or a later version of the CC-RH compiler has been installed

-

When other than [No(No option specified)] in the [Detect stack smashing] property is selected

Default

Blank

How to change

Directly enter in the text box.

Restriction

0 to 4294967295 (decimal number)

Detect illegal indirect function call

Select whether to output code for detecting illegal indirect function calls.

Enable this facility to check the destination addresses of branches caused by each indirect function call.

The output code will call the user-defined __control_flow_chk_fail() function in response to the detection of a problem.

This property is usable only in the Professional Edition.

This property corresponds to the -control_flow_integrity option of the ccrh command.

This property is displayed when you have selected [Always latest version which was installed] or V1.07.00 or a later version for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.07.00 or a later version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-control_flow_integrity)

Outputs code for detecting illegal indirect function calls.

No

Does not output code for detecting illegal indirect function calls.

(6)

[C Language]

The detailed information on C language is displayed and the configuration can be changed.

Standard of C language

Select the standard of C language.

This property corresponds to the -lang option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.07.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.07.00 or a later version of the CC-RH compiler has been installed.

Default

C(C90)(No option specified)

How to change

Select from the drop-down list.

Restriction

C(C90)(No option specified)

Compilation will proceed in compliance with the C90 standard.

C99(-lang=c99)

Compilation will proceed in compliance with the C99 standard.

Compile strictly according to ANSI standards

Select whether to process as making C source program comply strictly with the ANSI standard and output an error or warning for a specification that violates the standard.

This property corresponds to the -Xansi option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.06.00 or an earlier version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.06.00 or an earlier version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xansi)

Processes as making C source program comply strictly with the ANSI standard and outputs an error or warning for a specification that violates the standard.

No

Compatibility with the conventional C language specifications is conferred and processing continues after warning is output.

Compile strictly according to the standards

Select whether to process as making C source program comply strictly with the C90 or C99 standard and output an error or warning for a specification that violates the standard.

This property corresponds to the -strict_std option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.07.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.07.00 or a later version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-strict_std)

Processes as making C source program comply strictly with the C90 or C99 standard and outputs an error or warning for a specification that violates the standard.

No

Compatibility with the conventional C language specifications is conferred and processing continues after warning is output.

Enumeration type

Select which integer type the enumeration type handles.

This property corresponds to the -Xenum_type option of the ccrh command.

Default

signed int(No option specified)

How to change

Select from the drop-down list.

Restriction

signed int(No option specified)

The enumeration type is handled as int type.

auto(-Xenum_type=auto)

Handles each enumerated type as the smallest integer type capable of expressing all the enumerators in that type.

Handle external variables as if they are volatile qualified

Select whether to handle all external variables as if they were volatile-declared.

This property corresponds to the -Xvolatile option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xvolatile)

Handles all external variables as if they were volatile-declared.

No

Handles only the volatile-qualified variables as they were volatile-declared.

Check C program compatibility

Select whether to check the compatibility of a C program.

This property corresponds to the -Xcheck option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(for SuperH RISC engine C/C++ compiler)(-Xcheck=shc)

Checks the compatibility with the SuperH family C/C++ compiler.

No

Does not check the compatibility with existing programs.

(7)

[Character Encoding]

The detailed information on character encoding is displayed and the configuration can be changed.

Character encoding

Select the character code to be used for Japanese/Chinese comments and character strings in the source file.

This property corresponds to the -Xcharacter_set option of the ccrh command.

Default

Auto(No option specified)

How to change

Select from the drop-down list.

Restriction

Auto(No option specified)

Interprets the Japanese character codes in the source file as SJIS.

SJIS(-Xcharacter_set=sjis)

Interprets the Japanese character codes in the source file as SJIS.

EUC(-Xcharacter_set=euc_jp)

Interprets the Japanese character codes in the source file as EUC.

UFT-8(-Xcharacter_set=utf8)

Interprets the Japanese character codes in the source file as UFT-8.

Big5(-Xcharacter_set=big5)

Interprets the Chinese character codes in the source file as Traditional Chinese.

GB2312(-Xcharacter_set=gb2312)

Interprets the Chinese character codes in the source file as Simplified Chinese.

No-process(-Xcharacter_set=none)

Does not interpret the Japanese/Chinese character codes in the source file.

(8)

[Output Code]

The detailed information on output code is displayed and the configuration can be changed.

Structure packing

Select whether to perform structure packing.

The specified alignment can be used without aligning structure members according to the type of each member.

This property corresponds to the -Xpack option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

1 byte(-Xpack=1)

Aligns structure members on a 1-byte boundary.

2 bytes(-Xpack=2)

Aligns structure members on a 2-byte boundary.

4 bytes(-Xpack=4)

Aligns structure members on a 4-byte boundary.

No

Does not perform structure packing.

Generate instructions that access to misaligned memory

Generates instructions on the assumption that the device supports misaligned access.

This option corresponds to the -misalign option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V2.04.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.04.00 or a later version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-misalign)

Generates instructions that access to misaligned memory

No

Does not generate instructions that access to misaligned memory

Alignment of branch address

Select the alignment of the branch address.

This property corresponds to the -Xalign4 option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.02.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.02.00 or a later version of the CC-RH compiler has been installed.

[4 bytes(Contains each loop head)(-Xalign4=loop)], [4 bytes(Contains each innermost loop head)(-Xalign4=innermostloop)], and [4 bytes(All branches)(-Xalign4=all)] are displayed when [Always latest version which was installed] or V1.03.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.03.00 or a later version of the CC-RH compiler has been installed

Default

2 bytes(No option specified)

How to change

Select from the drop-down list.

Restriction

2 bytes(No option specified)

Sets the alignment of the start address of a function to 2.

4 bytes(Only start address of a function)(-Xalign4)

Sets the alignment of the start address of a function to 4.

4 bytes(Contains each loop head)(-Xalign4=loop)

Sets the alignment of the start address of a function and the start address of all loops to 4.

4 bytes(Contains each innermost loop head)(-Xalign4=innermostloop)

Sets the alignment of the start address of a function and the start address of the innermost loop to 4.

4 bytes(All branches)(-Xalign4=all)

Sets the alignment of the start address of a function and all branch destination addresses to 4.

Order of bit-field members

Select the order of bit-field members.

This property corresponds to the -Xbit_order option of the ccrh command.

Default

Allocates from right(No option specified)

How to change

Select from the drop-down list.

Restriction

Allocates from left(-Xbit_order=left)

Allocates the members from the upper bit.

Allocates from right(No option specified)

Allocates the members from the lower bit.

Output comment to assembly source file

Select whether to output a C source program as a comment to the assembly source file to be output.

This property corresponds to the -Xpass_source option of the ccrh command.

This property is displayed only when [Yes(-Xasm_path)] in the [Output assembly source file] property is selected or when [Yes(-Xasm_option=-Xprn_path)] in the [Output assemble list file] property in the [Assemble List] category is selected.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xpass_source)

Outputs a C source program as a comment to the assembly source file.

No

Does not output a C source program as a comment to the assembly source file.

Output code of switch statement

Select the code output mode for switch statements in programs.

This property corresponds to the -Xswitch option of the ccrh command.

Default

Auto(No option specified)

How to change

Select from the drop-down list.

Restriction

Auto(No option specified)

The ccrh selects the optimum output format.

if-else(-Xswitch=ifelse)

Outputs the switch statements in the same format as the if-else statement along a string of case statements in programs.

Select this item if the case statements are written in the order of frequency or if only a few labels are used.

Because the case statements are compared starting from the top, unnecessary comparison can be reduced and the execution speed can be increased if the case statement that most often matches is written first.

Binary search(-Xswitch=binary)

Outputs the code in the binary search format for switch statements in programs.

Searches for a matching case statement by using a binary search algorithm.

If this item is selected when many labels are used, any case statement can be found at almost the same speed.

Table jump(-Xswitch=table)

Outputs the code in the table jump format for switch statements in programs.

References a table indexed on the values in the case statements, and selects and processes case labels from the switch statement values.

The code will branch to all the case statements with about the same speed.

However, if case values are not used in succession, an unnecessary area will be created.

Handling mode of writing control register

Select how the compiler will behave in response to writing to control registers defined as #pragma register_group.

This property is usable only in the Professional Edition.

This property corresponds to the -store_reg option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.06.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.06.00 or a later version of the CC-RH compiler has been installed.

Default

Not specify(No option specified)

How to change

Select from the drop-down list.

Restriction

Insert synchronization processing(-store_reg=sync)

The compiler detects writing to the control registers defined as #pragma register_group and inserts syncp instructions after write instructions for these registers, except where the next instruction will clearly be for writing to the same group, in which case the compiler does not insert a syncp instruction.

Output list of writing control register(-store_reg=list)

The compiler detects writing to the control registers defined as #pragma register_group and displays the addresses of the write instructions in the Output panel, except where the next instruction will clearly be for writing to the same group, in which case the compiler does not display the address in the panel.

Output all list of writing control register(-store_reg=list_all)

The compiler detects writing to the control registers defined as #pragma register_group and displays the addresses of the write instructions in the Output panel.

Ignore peripheral group specification by #pragma(-store_reg=ignore)

#pragma register_group is ignored but a warning is not output.

Not specify(No option specified)

Select this item when you have not used #pragma register_group in the source code. No action will proceed in response to writing to control registers.

Save mode of register bank

Specify the save mode of the register bank.

This property corresponds to the -Xresbank_mode option of the ccrh command.

This property is displayed only in the following cases.

-

When [Always latest version which was installed] or V2.00.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.00.00 or a later version of the CC-RH compiler has been installed

-

When the RH850G4MH device is used

Default

Blank

How to change

Directly enter in the text box.

Restriction

0, 1 (decimal number), or blank

Floating-point calculating type

Select whether to generate runtime library call instructions for floating-point calculations, or to generate floating-point instructions for the floating point unit (FPU).

This property corresponds to the -Xfloat option of the ccrh command.

This property is displayed only when other than [Object for G3K(-Xcpu=g3k)] in the [Specify CPU core] property in the [Output File Type and Path] category from the [Common Options] tab is selected.

Default

Auto(No option specified)

How to change

Select from the drop-down list.

Restriction

Auto(No option specified)

Generates floating-point calculation instructions.

Software Calculating(-Xfloat=soft)

Generates runtime library call instructions for floating-point calculations.

FPU Calculating(-Xfloat=fpu)

Generates floating-point calculation instructions of FPU for floating-point calculations.

Rounding method for floating-point constant operations

Select the rounding method for floating-point constant operations.

This property corresponds to the -Xround option of the ccrh command.

This property is displayed only in the following cases.

-

When [Always latest version which was installed] or V1.02.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.02.00 or a later version of the CC-RH compiler has been installed

-

When other than [Object for G3K(-Xcpu=g3k)] in the [Specify CPU core] property in the [Output File Type and Path] category from the [Common Options] tab is selected

-

When [Auto(No option specified)] or [FPU Calculating(-Xfloat=fpu)] in the [Floating-point calculating type] property is selected

Default

round to nearest(No option specified)

How to change

Select from the drop-down list.

Restriction

round to zero(-Xround=zero)

Rounds floating-point constants to 0.

round to nearest(No option specified)

Rounds floating-point constants to the nearest value that can be expressed.

Generate codes that supports FXU

Select whether to generate codes that supports the FXU (extended floating-point operation unit).

This property corresponds to the -Xfxu option of the ccrh command.

This property is displayed only in the following cases.

-

When [Always latest version which was installed] or V2.00.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.00.00 or a later version of the CC-RH compiler has been installed

-

When the RH850G4MH device is used

The Restriction values depend on the device in use.

Default

The default value is set by selected device on creating project.

How to change

Select from the drop-down list.

Restriction

Yes

Generates codes that supports the FXU.

No(-Xfxu=off)

Does not generate codes that supports the FXU.

Enable half precision floating-point type

Select whether to enable the half precision floating-point type.

This property is usable only in the Professional Edition.

This property corresponds to the -Xuse_fp16 option of the ccrh command.

This property is displayed only in the following cases.

-

When [Always latest version which was installed] or V1.05.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.05.00 or a later version of the CC-RH compiler has been installed

-

When other than [Object for G3K(-Xcpu=g3k)] in the [Specify CPU core] property in the [Output File Type and Path] category from the [Common Options] tab is selected

-

When [No] in the [Compile strictly according to ANSI standards] property in the [C Language] category is selected

-

When other than [Software Calculating(-Xfloat=soft)] in the [Floating-point calculating type] property is selected

-

When [round to nearest(No option specified)] in the [Rounding method for floating-point constant operations] property is selected

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xuse_fp16=on)

Enables the half precision floating-point type.

No

Does not enable the half precision floating-point type.

Precision of double type / long double type

Select the precision of double type and long double type.

This property corresponds to the -Xdbl_size option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.02.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.02.00 or a later version of the CC-RH compiler has been installed.

Default

8 bytes(No option specified)

How to change

Select from the drop-down list.

Restriction

4 bytes(-Xdbl_size=4)

Handles double type and long double type as single-precision floating-point type (4 bytes).

8 bytes(No option specified)

Handles double type and long double type as double-precision floating-point type (8 bytes).

Generate div/divu instructions

Select whether to generate the div and divu instructions instead of the divq and divqu instructions for division.

Although the divq and divqu instructions are fast, the number of execution cycles will differ depending on the values of the operands.

This property corresponds to the -Xdiv option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xdiv)

Generates the div and divu instructions for division.

No

Generates the divq and divqu instructions for division.

Generate OV flag check code in division operation

Select whether to generate code (fetrap instruction) that checks the OV flag after division instructions and generate an FE level software exception when the OV flag is 1.

This property corresponds to the -Xcheck_div_ov option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xcheck_div_ov)

Generates code that checks the OV flag at division.

No

Generates code that does not check the OV flag at division.

Vector number of fetrap instruction in divide exception

Specify the vector number of the fetrap instruction generated when the OV flag is 1.

This property corresponds to the -Xcheck_div_ov option of the ccrh command.

This property is displayed only when [Yes(-Xcheck_div_ov)] in the [Generate OV flag check code in division operation] property is selected.

Default

1

How to change

Directly enter in the text box.

Restriction

1 to 15 (decimal number)

Type of generating floating-point calculation codes

Select the type of generating floating-point calculation codes.

This property corresponds to the -relaxed_math option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V2.00.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.00.00 or a later version of the CC-RH compiler has been installed.

Default

Custom(No option specified)

How to change

Select from the drop-down list.

Restriction

Efficiency precedence(-relaxed_math)

Efficiency is emphasized in the generation of code.

Custom(No option specified)

Efficiency is not emphasized in the generation of code. With this option, details of the operation of compilation are specified in the [Generate product-sum operation instruction] and [Generate recipf instruction] properties.

If [No] is selected for both properties, the CC-RH compiler generates code which is strictly in accordance with the C-language standard or IEEE 754.

Generate product-sum operation instruction

Select whether to generate product-sum operation instructions (fmaf.s, fmsf.s, fnmaf.s, and fnmsf.s) for single-precision floating-point product-sum operations.

This property corresponds to the -Xuse_fmaf option of the ccrh command.

This property is displayed in any one of the following cases.

-

In an environment where V2.00.00 or a later version of the CC-RH compiler has not been installed

-

When a version number earlier than V2.00.00 is selected for the [Using compiler package version] property under the [Version Select] category from the [Common Options] tab in an environment where a version of the CC-RH compiler earlier than V2.00.00 has been installed

-

When [Always latest version which was installed] or V2.00.00 or a later version is selected for the [Using compiler package version] property and [Custom(No option specified)] is selected for the [Type of generating floating-point calculation codes] property under the [Version Select] category from the [Common Options] tab in an environment where V2.00.00 or a later version of the CC-RH compiler has been installed

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xuse_fmaf)

Generates product-sum operation instructions for single-precision floating-point product-sum operations.

Specifying this option will accelerate the execution speed but change the operation precision.

No

Does not generate product-sum operation instructions.

Generate recipf instruction

Select whether to generate recipf instructions (recipf.d, recipf.s).

This property corresponds to the -use_recipf option of the ccrh command.

This property is displayed only in the following cases.

-

When [Always latest version which was installed] or V2.00.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category from the [Common Options] tab in an environment where V2.00.00 or a later version of the CC-RH compiler has been installed

-

When [Custom(No option specified)] is selected for the [Type of generating floating-point calculation codes] property

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-use_recipf)

Generates recipf instructions.

Specifying this option will accelerate the execution speed but change the operation precision.

No

Does not generate recipf instructions.

Generate approximate calculation code

Select whether to generate code to produce approximate results for floating-point calculations.

This property corresponds to the -approximate option of the ccrh command.

This property is displayed only in the following cases.

-

When [Always latest version which was installed] or V2.02.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category from the [Common Options] tab in an environment where V2.02.00 or a later version of the CC-RH compiler has been installed

-

When [Custom(No option specified)] is selected for the [Type of generating floating-point calculation codes] property

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-approximate)

Generates code to produce approximate results for floating-point calculations.

Specifying this option leads to the generation of efficient code to handle calculations but the precision of the results of operations will differ from that obtained by calculations as strictly defined in the language standard.

No

Does not generate code to produce approximate results for floating-point calculations.

Check invalid exception in cmpf instruction

Select whether to generate code by using the comparison condition for generating an invalid operation exception when any of the comparison values is a not-a-number in floating-point comparison.

This property corresponds to the -Xunordered_cmpf option of the ccrh command.

This property is displayed only when other than [Object for G3K(-Xcpu=g3k)] in the [Specify CPU core] property in the [Output File Type and Path] category from the [Common Options] tab is selected.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xunordered_cmpf)

Generates code by using the comparison condition for generating an invalid operation exception when any of the comparison values is a not-a-number in floating-point comparison.

No

Does not detect invalid operation exceptions in floating-point comparison.

Specify jump instruction

Specify the instruction to be generated for function-call branches.

This property corresponds to the -Xcall_jump option of the ccrh command.

Default

Create jarl and jr instructions(No option specified)

How to change

Select from the drop-down list.

Restriction

Create jarl32 and jr32 instructions(-Xcall_jump=32)

Generates the jarl32 and jr32 instructions for function-call branches.

Create jarl and jr instructions(No option specified)

Generates the jarl and jr instructions for function-call branches.

Far Jump file names

Specify the Far Jump file name.

The code that uses the jarl32 and jr32 instruction for branch instructions of functions described in a file is output to the Far Jump file.

The ccrh command outputs an error if the function is in a range that cannot be branched to by the jarl or jr directive (±2MB or more), in which case the Far Jump file is used to recompile.

Use the extension ".fjp".

This property corresponds to the -Xfar_jump option of the ccrh command.

Default

Far Jump file name

How to change

Directly enter in the text box or edit by the Specify Far Jump File dialog box which appears when clicking the [...] button.

Restriction

Up to 259 characters

Default section of data area

Select the default section of the data area.

This property corresponds to the -Xsection option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.02.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.02.00 or a later version of the CC-RH compiler has been installed.

See "Table A.2Default Section of Data Area" for details about the section attribute.

Default

Not specify(No option specified)

How to change

Select from the drop-down list.

Restriction

Not specify(No option specified)

Uses the default section of the data area.

r0_disp16(-Xsection=data=r0_disp16)

Uses r0_disp16 as the default section attribute of the data area.

r0_disp23(-Xsection=data=r0_disp23)

Uses r0_disp23 as the default section attribute of the data area.

ep_disp16(-Xsection=data=ep_disp16)

Uses ep_disp16 as the default section attribute of the data area.

ep_disp23(-Xsection=data=ep_disp23)

Uses ep_disp23 as the default section attribute of the data area.

gp_disp16(-Xsection=data=gp_disp16)

Uses gp_disp16 as the default section attribute of the data area.

gp_disp23(-Xsection=data=gp_disp23)

Uses gp_disp16 as the default section attribute of the data area.

Default section of const area

Select the default section of the const area.

This property corresponds to the -Xsection option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.02.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.02.00 or a later version of the CC-RH compiler has been installed.

[pcconst16(-Xsection=const=pcconst16)] and [pcconst23(-Xsection=const=pcconst23)] are displayed when V1.07.00 or a later version of the CC-RH compiler is selected.

See "Table A.3Default Section of Const Area" for details about the section attribute.

Default

Not specify(No option specified)

How to change

Select from the drop-down list.

Restriction

Not specify(No option specified)

Uses the default section of the const area.

zconst(-Xsection=const=zconst)

Uses zconst as the default section attribute of the const area.

zconst23(-Xsection=const=zconst23)

Uses zconst23 as the default section attribute of the const area.

pcconst16(-Xsection=const=pcconst16)

Uses pcconst16 as the default section attribute of the const area.

pcconst23(-Xsection=const=pcconst23)

Uses pcconst23 as the default section attribute of the const area.

Allocate uninitialized variables in sections according to number of alignments

Select whether to allocate the uninitialized variables to sections in accord with their alignment sizes.

This property corresponds to the -stuff option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V2.03.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.03.00 or a later version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-stuff=bss)

Allocates the uninitialized variables to sections in accord with their alignment sizes.

No

Does not allocate the uninitialized variables to sections in accord with their alignment sizes.

Allocate initialized variables in sections according to number of alignments

Select whether to allocate the initialized variables to sections in accord with their alignment sizes.

This property corresponds to the -stuff option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V2.03.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.03.00 or a later version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-stuff=data)

Allocates the initialized variables to sections in accord with their alignment sizes.

No

Does not allocate the initialized variables to sections in accord with their alignment sizes.

Allocate const qualified variables in sections according to number of alignments

Select whether to allocate the const qualified variables to sections in accord with their alignment sizes.

This property corresponds to the -stuff option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V2.03.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.03.00 or a later version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-stuff=const)

Allocates the const qualified variables to sections in accord with their alignment sizes.

No

Does not allocate the const qualified variables to sections in accord with their alignment sizes.

Use software trace (DBTAG) for exclusion control check

Select whether to use software trace (DBTAG) for exclusion control check.

This property corresponds to the -Xcheck_exclusion_control option of the ccrh command.

This property is displayed when you have selected [Always latest version which was installed] or V1.04.00 or a later version for the [Using compiler package version] property under the [Version Select] category as well as [Yes(-g)] for the [Add debug information] property under the [Debug Information] category on the [Common Options] tab in an environment where V1.04.00 or a later version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xcheck_exclusion_control)

Uses software trace (DBTAG) for exclusion control check.

No

Does not use software trace (DBTAG) for exclusion control check.

Variables to be checked for software trace (DBTAG) for exclusion control check

The variables to be checked for software trace (DBTAG) for exclusion control check are displayed.

Set the value in the Functions and Variables Access Table panel. Note that this property is not applied to [Reset All to Default] from the context menu.

This property corresponds to the -Xcheck_exclusion_control option of the ccrh command.

This property is displayed when you have selected [Always latest version which was installed] or V1.04.00 or a later version for the [Using compiler package version] property under the [Version Select] category as well as [Yes(-g)] for the [Add debug information] property under the [Debug Information] category on the [Common Options] tab in an environment where V1.04.00 or a later version of the CC-RH compiler has been installed.

Default

Variables to be checked for software trace (DBTAG) for exclusion control check[number of defined items]

How to change

Changes not allowed

Control starting functions for software trace (DBTAG) for exclusion control check

The control starting functions for software trace (DBTAG) for exclusion control check are displayed.

Set the value in the Exclusive Control Check Tool dialog box. Note that this property is not applied to [Reset All to Default] from the context menu.

This property corresponds to the -Xcheck_exclusion_control option of the ccrh command.

This property is displayed when you have selected [Always latest version which was installed] or V1.04.00 or a later version for the [Using compiler package version] property under the [Version Select] category as well as [Yes(-g)] for the [Add debug information] property under the [Debug Information] category on the [Common Options] tab in an environment where V1.04.00 or a later version of the CC-RH compiler has been installed.

Default

Control starting functions for software trace (DBTAG) for exclusion control check[number of defined items]

How to change

Changes not allowed

Control ending functions for software trace (DBTAG) for exclusion control check

The control ending functions for software trace (DBTAG) for exclusion control check are displayed.

Set the value in the Exclusive Control Check Tool dialog box. Note that this property is not applied to [Reset All to Default] from the context menu.

This property corresponds to the -Xcheck_exclusion_control option of the ccrh command.

This property is displayed when you have selected [Always latest version which was installed] or V1.04.00 or a later version for the [Using compiler package version] property under the [Version Select] category as well as [Yes(-g)] for the [Add debug information] property under the [Debug Information] category on the [Common Options] tab in an environment where V1.04.00 or a later version of the CC-RH compiler has been installed.

Default

Control ending functions for software trace (DBTAG) for exclusion control check[number of defined items]

How to change

Changes not allowed

Use software trace (DBTAG) for measuring CAN bus reception processing time

Select whether to use software trace (DBTAG) for measuring CAN bus reception processing time.

This property corresponds to the -insert_dbtag_with_label option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.06.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.06.00 or a later version of the CC-RH compiler has been installed.

Caution

If you select [Yes(-insert_dbtag_with_label)] but the current setting for the [Add debug information] property in the [Debug Information] category is [No], a warning is output and the -g option added automatically. To suppress the output of the warning, select [Yes(-g)] in the [Add debug information] property.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-insert_dbtag_with_label)

Uses software trace (DBTAG) for measuring CAN bus reception processing time.

No

Does not use software trace (DBTAG) for measuring CAN bus reception processing time.

Parameters of software trace (DBTAG) for measuring CAN bus reception processing time

The parameters of software trace (DBTAG) for measuring CAN bus reception processing time are displayed.

Set the position where DBTAG is output in the Editor panel. Note that this property is not applied to [Reset All to Default] from the context menu.

This property corresponds to the -insert_dbtag_with_label option of the ccrh command.

This property is displayed only in the following cases.

-

When [Always latest version which was installed] or V1.06.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.06.00 or a later version of the CC-RH compiler has been installed

-

When [Yes(-insert_dbtag_with_label)] in the [Use software trace (DBTAG) for measuring CAN bus reception processing time] property is selected

Default

Parameters of software trace (DBTAG) for measuring CAN bus reception processing time[number of defined items]

How to change

Changes not allowed

Method for controlling multi-core functions

Select the method for controlling the multi-core functions.

This property corresponds to the -Xmulti_level option of the ccrh command.

This property is displayed only for the multi-core project.

Default

Ignore "#pragma pmodule"(No option specified)

How to change

Select from the drop-down list.

Restriction

Ignore "#pragma pmodule"(No option specified)

The #pragma pmodule directives in the program are ignored.

Enable "#pragma pmodule"(-Xmulti_level=1)

The #pragma pmodule directives in the program become valid.

Table A.2

Default Section of Data Area

Section Attribute

Default Section

Non-initialized Data

Initialized Data

r0_disp16

.zbss

.zdata

r0_disp23

.zbss23

.zdata23

ep_disp16

.ebss

.edata

ep_disp23

.ebss23

.edata23

gp_disp16

.sbss

.sdata

gp_disp23

.sbss23

.sdata23

Table A.3

Default Section of Const Area

Section Attribute

Default Section

zconst

.zconst

zconst23

.zconst23

pcconst16

.pcconst16

pcconst23

.pcconst23

(9)

[Output File]

The detailed information on output files is displayed and the configuration can be changed.

Output assembly source file

Select whether to output the assembly source file of the compile result for the C source.

This property corresponds to the -Xasm_path option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xasm_path)

Outputs the assembly source file of the compile result for the C source.

No

Does not output the assembly source file of the compile result for the C source.

Output folder for assembly source file

Specify the folder which the assembly source file is output.

If a relative path is specified, the reference point of the path is the main project or subproject folder.

If an absolute path is specified, the reference point of the path is the main project or subproject folder (unless the drives are different).

The following placeholder is supported.

%BuildModeName%: Replaces with the build mode name.

The assembly source file is saved under the C source file name with the extension replaced by ".asm".

If this is blank, it is assumed that the project folder has been specified.

This property corresponds to the -Xasm_path option of the ccrh command.

This property is displayed only when [Yes(-Xasm_path)] in the [Output assembly source file] property is selected.

Default

%BuildModeName%

How to change

Directly enter in the text box or edit by the Browse For Folder dialog box which appears when clicking the [...] button.

Restriction

Up to 247 characters

Output preprocessed source file

Select whether to output the execution result of preprocessing for the source file to a file.

This property corresponds to the -P option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-P)

Outputs the execution result of preprocessing for the source file to a file.

No

Does not output the execution result of preprocessing for the source file to a file.

Output folder for preprocessed source file

Specify the folder which the preprocessed source file is output.

The file is output under the source file name with the extension replaced by ".i".

If a relative path is specified, the reference point of the path is the main project or subproject folder.

If an absolute path is specified, the reference point of the path is the main project or subproject folder (unless the drives are different).

The following placeholder is supported.

%BuildModeName%: Replaces with the build mode name.

If this is blank, it is assumed that the project folder has been specified.

This property corresponds to the -Xprep_path option of the ccrh command.

This property is displayed only when [Yes(-P)] in the [Output preprocessed source file] property is selected.

Default

%BuildModeName%

How to change

Directly enter in the text box or edit by the Browse For Folder dialog box which appears when clicking the [...] button.

Restriction

Up to 247 characters

(10)

[Assemble List]

The detailed information on the assemble list is displayed and the configuration can be changed.

Output assemble list file

Select whether to output the assemble list file.

This property corresponds to the -Xasm_option=-Xprn_path option of the ccrh command.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xasm_option=-Xprn_path)

Outputs the assemble list file.

No

Does not output the assemble list file.

Output folder for assemble list file

Specify the folder which the assemble list file is output.

The assemble list file is output under the source file name with the extension replaced by ".prn".

If a relative path is specified, the reference point of the path is the main project or subproject folder.

If an absolute path is specified, the reference point of the path is the main project or subproject folder (unless the drives are different).

The following placeholder is supported.

%BuildModeName%: Replaces with the build mode name.

If this is blank, it is assumed that the project folder has been specified.

This property corresponds to the -Xasm_option=-Xprn_path option of the ccrh command.

This property is displayed only when [Yes(-Xasm_option=-Xprn_path)] in the [Output assemble list file] property is selected.

Default

%BuildModeName%

How to change

Directly enter in the text box or edit by the Browse For Folder dialog box which appears when clicking the [...] button.

Restriction

Up to 247 characters

(11)

[MISRA-C Rule Check]

The detailed information on the MISRA-C rule check are displayed and the configuration can be changed.

20XX in the following table corresponds to 2012 or 2004 in particular.

MISRA-C specification

Select the MISRA-C specification.

This property is usable only in the Professional Edition.

This property is displayed when [Always latest version which was installed] or V1.03.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.03.00 or a later version of the CC-RH compiler has been installed.

Default

MISRA-C 2012

How to change

Select from the drop-down list.

Restriction

MISRA-C 2012

Settings for MISRA-C2012 are made in the subsequent properties.

MISRA-C 2004

Settings for MISRA-C2004 are made in the subsequent properties.

Apply rule

Select the MISRA-C rules to be applied.

This property is usable only in the Professional Edition.

This property corresponds to the -Xmisra20XX option of the ccrh command.

Default

Not apply rule(No option specified)

How to change

Select from the drop-down list.

Restriction

Apply all rules(-Xmisra20XX=all)

Checks the source code against all of the rules which are supported.

Apply specified rule number(-Xmisra20XX=apply)

Checks the source code against the rules with the specified numbers among the rules which are supported.

Ignore specified rule number(-Xmisra20XX=ignore)

Checks the source code against the rules that do not match the specified numbers among the rules which are supported.

Apply rules that are classified as "required"(-Xmisra20XX=required)

Checks the source code against the rules of the "required" type.

Apply rules that are classified as "required" and specified rule number(-Xmisra20XX=required_add)

Checks the source code against the rules of the "required" type and the rules with the specified numbers among the rules which are supported.

Ignore specified rule number from rules that are classified as "required"(-Xmisra20XX=required_remove)

Checks the source code against the rules of the "required" type except for the rules with the specified numbers among the rules which are supported.

Apply rules that are described in the specified file(-Xmisra20XX=<file name>)

Checks the source code against the rules with the numbers described in specified file among the rules which are supported.

Not apply rule(No option specified)

Does not apply the MISRA-C rules.

Rule number description file

Specify the rule number description file (MISRA-C rule file).

This property is usable only in the Professional Edition.

When misra2012 is selected, the CC-RH compiler always checks the code against rule numbers 13.6, 17.3, and 17.4 (as well as 9.1 if the compiler is V1.05.00 or later, 12.5 and 21.13 if the compiler is V1.06.00 or later, and 17.6 if the compiler is V1.07.00 or later) regardless of which rule numbers have been specified through the properties setting.

The following placeholders are supported.

%BuildModeName%: Replaces with the build mode name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%ProjectName%: Replaces with the project name.

This property corresponds to the -Xmisra20XX option of the ccrh command.

This property is displayed only when [Apply rules that are described in the specified file(-Xmisra20XX=<file name>)] in the [Apply rule] property is selected.

Default

Blank

How to change

Directly enter in the text box or edit by the Specify MISRA-C Rule File dialog box which appears when clicking the [...] button.

Restriction

Up to 259 characters

Rule number

Specify the rule number to be checked.

This property is usable only in the Professional Edition.

When misra2012 is selected, the CC-RH compiler always checks the code against rule numbers 13.6, 17.3, and 17.4 (as well as 9.1 if the compiler is V1.05.00 or later, 12.5 and 21.13 if the compiler is V1.06.00 or later, and 17.6 if the compiler is V1.07.00 or later) regardless of which rule numbers have been specified through the properties setting.

Specify at least one rule number in decimal.

This property corresponds to the -Xmisra20XX option of the ccrh command.

This property is displayed only when [Apply specified rule number(-Xmisra20XX=apply)] in the [Apply rule] property is selected.

Default

Blank

How to change

Directly enter in the text box or edit by the Specify Rule Number dialog box which appears when clicking the [...] button.

Restriction

Up to 259 characters

Exclusion rule number

Specify the rule number to be excluded from the check.

This property is usable only in the Professional Edition.

When misra2012 is selected, the CC-RH compiler always checks the code against rule numbers 13.6, 17.3, and 17.4 (as well as 9.1 if the compiler is V1.05.00 or later, 12.5 and 21.13 if the compiler is V1.06.00 or later, and 17.6 if the compiler is V1.07.00 or later) regardless of which rule numbers have been specified through the properties setting.

Specify at least one rule number in decimal.

This property corresponds to the -Xmisra20XX option of the ccrh command.

This property is displayed only when [Ignore specified rule number(-Xmisra20XX=ignore)] in the [Apply rule] property is selected.

Default

Blank

How to change

Directly enter in the text box or edit by the Specify Rule Number dialog box which appears when clicking the [...] button.

Restriction

Up to 259 characters

Check rule number besides required rule

Specify the rule number to be checked besides the required rules.

This property is usable only in the Professional Edition.

When misra2012 is selected, the CC-RH compiler always checks the code against rule numbers 13.6, 17.3, and 17.4 (as well as 9.1 if the compiler is V1.05.00 or later, 12.5 and 21.13 if the compiler is V1.06.00 or later, and 17.6 if the compiler is V1.07.00 or later) regardless of which rule numbers have been specified through the properties setting.

Specify at least one rule number in decimal.

This property corresponds to the -Xmisra20XX option of the ccrh command.

This property is displayed only when [Apply rules that are classified as "required" and specified rule number(-Xmisra20XX=required_add)] in the [Apply rule] property is selected.

Default

Blank

How to change

Directly enter in the text box or edit by the Specify Rule Number dialog box which appears when clicking the [...] button.

Restriction

Up to 259 characters

Exclusion rule number from required rule

Specify the required rule number to be excluded from the check.

This property is usable only in the Professional Edition.

When misra2012 is selected, the CC-RH compiler always checks the code against rule numbers 13.6, 17.3, and 17.4 (as well as 9.1 if the compiler is V1.05.00 or later, 12.5 and 21.13 if the compiler is V1.06.00 or later, and 17.6 if the compiler is V1.07.00 or later) regardless of which rule numbers have been specified through the properties setting.

Specify at least one rule number in decimal.

This property corresponds to the -Xmisra20XX option of the ccrh command.

This property is displayed only when [Ignore specified rule number from rules that are classified as "required"(-Xmisra20XX=required_remove)] in the [Apply rule] property is selected.

Default

Blank

How to change

Directly enter in the text box or edit by the Specify Rule Number dialog box which appears when clicking the [...] button.

Restriction

Up to 259 characters

Rule check exclusion file

Specify files that will not be checked against the MISRA-C rules.

This property is usable only in the Professional Edition.

The following placeholders are supported.

%BuildModeName%: Replaces with the build mode name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%ProjectName%: Replaces with the project name.

This property corresponds to the -Xignore_files_misra option of the ccrh command.

This property is displayed only in the following cases.

-

When [Apply all rules] is selected in the [Apply rule] property

-

When [Apply rules that are classified as "required"] is selected in the [Apply rule] property

-

When [Apply specified rule number] is selected in the [Apply rule] property and a rule number is specified in the [Rule number] property

-

When [Ignore specified rule number] is selected in the [Apply rule] property and a rule number is specified in the [Rule number] property

-

When [Apply rules that are classified as "required" and specified rule number] is selected in the [Apply rule] property and a rule number is specified in the [Check rule number besides required rule] property

-

When [Ignore specified rule number from rules that are classified as "required"] is selected in the [Apply rule] property and a rule number is specified in the [Exclusion rule number from required rule] property

-

When [Apply rules that are described in the specified file] is selected in the [Apply rule] property and a rule number description file is specified in the [Rule number description file] property

Default

Rule check exclusion file[number of defined items]

How to change

Edit by the Path Edit dialog box which appears when clicking the [...] button.

-> Edit by the Add Excluding File dialog box which appears when clicking the [Browse...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 259 characters

Output message of the enhanced key word and extended specifications

Select whether to output the message of the enhanced key word and extended specifications.

This property is usable only in the Professional Edition.

This property corresponds to the -Xcheck_language_extention option of the ccrh command.

This property is displayed only in the following cases.

-

When [Apply all rules] is selected in the [Apply rule] property

-

When [Apply rules that are classified as "required"] is selected in the [Apply rule] property

-

When [Apply specified rule number] is selected in the [Apply rule] property and a rule number is specified in the [Rule number] property

-

When [Ignore specified rule number] is selected in the [Apply rule] property and a rule number is specified in the [Rule number] property

-

When [Apply rules that are classified as "required" and specified rule number] is selected in the [Apply rule] property and a rule number is specified in the [Check rule number besides required rule] property

-

When [Ignore specified rule number from rules that are classified as "required"] is selected in the [Apply rule] property and a rule number is specified in the [Exclusion rule number from required rule] property

-

When [Apply rules that are described in the specified file] is selected in the [Apply rule] property and a rule number description file is specified in the [Rule number description file] property

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-Xcheck_language_extension)

Enables MISRA-C rule check and outputs messages when the rule check is partially suppressed by the unique language specifications extended from the C language standard.

No

Disables MISRA-C rule check is disabled, which are partially suppressed by the extended language specifications.

Enable checking that spans files

Select whether to enable checking that spans files.

This property is usable only in the Professional Edition.

This property corresponds to the -misra_intermodule option of the ccrh command.

This property is displayed only in the following cases.

-

When [Always latest version which was installed] or V2.01.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V2.01.00 or a later version of the CC-RH compiler has been installed

-

When [MISRA-C 2012] in the [MISRA-C specification] property is selected

-

When other than [Not apply rule(No option specified)] in the [Apply rule] property is selected

Caution

If the C source files of the project are removed or renamed while [Yes(-misra_intermodule)] is selected, information on checking that spans files will be cleared.
Rebuild the project to obtain correct checking of files on this point.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(-misra_intermodule)

Enables checking that spans files.

No

Does not enable checking that spans files.

(12)

[Message]

The detailed information on messages is displayed and the configuration can be changed.

Change warning message to error message

Select whether to change the type of warning messages to error.

This property corresponds to the -change_message option of the ccrh command.

This property is displayed when [Always latest version which was installed] or V1.07.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.07.00 or a later version of the CC-RH compiler has been installed.

Default

No

How to change

Select from the drop-down list.

Restriction

Yes(All)(-change_message=error)

Changes the type of all warning messages to error.

Yes(Specify message number)(-change_message=error=<Message number>)

Specifies the number of warning message of which type is to be changed to error.

No

Does not change the type of warning messages.

Number of warning message

Specify the number of the warning message.

If multiple message numbers are specified, delimit them with "," (comma) (example: 23028,23086).

Also, a range of message numbers can be specified using "-" (hyphen) (example:23028-23086).

This property corresponds to the -change_message option of the ccrh command.

 

This property is displayed only in the following cases.

-

When [Always latest version which was installed] or V1.07.00 or a later version is selected for the [Using compiler package version] property under the [Version Select] category on the [Common Options] tab in an environment where V1.07.00 or a later version of the CC-RH compiler has been installed

-

When [Yes(Specify message number)(-change_message=error=<Message number>)] in the [Change warning message to error message] property is selected

Default

Blank

How to change

Directly enter in the text box or edit by the Character String Input dialog box which appears when clicking the [...] button.

Restriction

Up to 32767 characters

(13)

[Others]

Other detailed information on compilation is displayed and the configuration can be changed.

Commands executed before compile processing

Specify the command to be executed before compile processing.

Use the call instruction to specify a batch file (example: call a.bat).

The following placeholders are supported.

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%CompiledFile%: Replaces with the absolute path of the output file under compiling.

%InputFile%: Replaces with the absolute path of the file to be compiled (except in case of simultaneous building).

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%Options%: Replaces with the command line option under build execution.

%OutputDir%: Replaces with the absolute path of the output folder.

%OutputFile%: Replaces with the absolute path of the output file.

%Program%: Replaces with the program name under execution.

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

When "#!python" is described in the first line, the contents from the second line to the last line are regarded as the script of the Python console, and then executed before compile processing.

The placeholders can be described in the script.

The specified command is displayed as the subproperty.

Default

Commands executed before compile processing[number of defined items]

How to change

Edit by the Text Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 1023 characters

Up to 64 items can be specified.

Commands executed after compile processing

Specify the command to be executed after compile processing.

Use the call instruction to specify a batch file (example: call a.bat).

The following placeholders are supported.

%ActiveProjectDir%: Replaces with the absolute path of the active project folder.

%ActiveProjectName%: Replaces with the active project name.

%BuildModeName%: Replaces with the build mode name.

%CompiledFile%: Replaces with the absolute path of the output file under compiling.

%InputFile%: Replaces with the absolute path of the file to be compiled (except in case of simultaneous building).

%MainProjectDir%: Replaces with the absolute path of the main project folder.

%MainProjectName%: Replaces with the main project name.

%MicomToolPath%: Replaces with the absolute path of the install folder of this product.

%Options%: Replaces with the command line option under build execution.

%OutputDir%: Replaces with the absolute path of the output folder.

%OutputFile%: Replaces with the absolute path of the output file.

%Program%: Replaces with the program name under execution.

%ProjectDir%: Replaces with the absolute path of the project folder.

%ProjectName%: Replaces with the project name.

%TempDir%: Replaces with the absolute path of the temporary folder.

%WinDir%: Replaces with the absolute path of the Windows system folder.

When "#!python" is described in the first line, the contents from the second line to the last line are regarded as the script of the Python console, and then executed after compile processing.

The placeholders can be described in the script.

The specified command is displayed as the subproperty.

Default

Commands executed after compile processing[number of defined items]

How to change

Edit by the Text Edit dialog box which appears when clicking the [...] button.

For the subproperty, you can enter directly in the text box.

Restriction

Up to 1023 characters

Up to 64 items can be specified.

Other additional options

Input the compile option to be added additionally.

The options set here are added at the end of the compile options group.

Default

Blank

How to change

Directly enter in the text box or edit by the Character String Input dialog box which appears when clicking the [...] button.

Restriction

Up to 259 characters