Difference between revisions of "Selecting Compiler Options (ARM)"
(18 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <sidebar>Sidebar: Managing Compiler Options</sidebar> | ||
Allows users to set the Compiler options. | Allows users to set the Compiler options. | ||
Line 4: | Line 5: | ||
'''Options list''' | '''Options list''' | ||
− | See the [[ | + | See the [[Managing Compiler Options]] topic for more information on using this feature. |
− | + | [[Managing_Compiler_Options#Compiler_variables|Substitute variables used by Flowcode]] are the same for all platforms. | |
− | |||
− | + | __NOTOC__ | |
+ | ==Compiler== | ||
+ | [[File:Gen_Compiler_Options_Compiler_ARM.png|right|524x400px]] | ||
+ | '''Compiler location''' | ||
− | + | Sets the location of the file controlling compilation | |
− | + | Default: | |
+ | <code>'''$(appdir)compilers\arm\batchfiles\arm7comp.bat'''</code> | ||
− | |||
− | + | '''Compiler parameters''' | |
− | + | Adds command line parameters when called from Flowcode | |
+ | Default: | ||
− | + | <code>'''"$(target)" "$(outdir)"'''</code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Sets the location of the file controlling | + | ==Linker/Assembler== |
+ | [[File:Gen_Compiler_Options_Linker_Assembler_ARM.png|right|524x400px]] | ||
+ | '''Linker/Assembler location''' | ||
+ | |||
+ | Sets the location of the file controlling linking and assembly | ||
Default: | Default: | ||
− | + | <code>'''$(appdir)compilers\arm\batchfiles\arm7link.bat'''</code> | |
− | ''' | + | '''Linker/Assembler parameters''' |
Adds command line parameters when called from Flowcode | Adds command line parameters when called from Flowcode | ||
Line 67: | Line 63: | ||
Default: | Default: | ||
− | + | <code>'''<empty>'''</code> | |
+ | |||
+ | There are no default parameters | ||
+ | |||
+ | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ==Programmer== | ||
+ | [[File:Gen_Compiler_Options_Programmer_ARM.png|right|524x400px]] | ||
'''Programmer location''' | '''Programmer location''' | ||
Line 94: | Line 88: | ||
Default: | Default: | ||
− | + | <code>'''$(appdir)tools\mLoader\mLoader.exe'''</code> | |
Line 103: | Line 97: | ||
Default: | Default: | ||
− | " | + | <code>'''"$(outdir)$(target).bin"'''</code> |
Line 113: | Line 107: | ||
'''Configuration parameters''' | '''Configuration parameters''' | ||
− | This box should be left empty. Configuration parameters are set and downloaded from the Build | + | This box should be left empty. Configuration parameters are set and downloaded from the Build > Configure menu. |
Line 119: | Line 113: | ||
+ | ==File Viewer== | ||
+ | [[File:Gen_Compiler_Options_File_Viewer_ARM.png|right|524x400px]] | ||
'''File Viewer location''' | '''File Viewer location''' | ||
Line 127: | Line 123: | ||
Default: | Default: | ||
− | < | + | <code>'''C:\Windows\Notepad.exe'''</code> |
Line 134: | Line 130: | ||
Adds command line parameters for the File viewer program | Adds command line parameters for the File viewer program | ||
− | Default: | + | Default Assembly file viewer: |
+ | |||
+ | <code>'''$(outdir)$(target).lst'''</code> | ||
+ | |||
+ | Default external program to view source files: | ||
− | + | <code>'''$(outdir)$(target).c'''</code> |
Latest revision as of 09:26, 20 September 2013
<sidebar>Sidebar: Managing Compiler Options</sidebar> Allows users to set the Compiler options.
Options list
See the Managing Compiler Options topic for more information on using this feature.
Substitute variables used by Flowcode are the same for all platforms.
Compiler
Compiler location
Sets the location of the file controlling compilation
Default:
$(appdir)compilers\arm\batchfiles\arm7comp.bat
Compiler parameters
Adds command line parameters when called from Flowcode
Default:
"$(target)" "$(outdir)"
Linker/Assembler
Linker/Assembler location
Sets the location of the file controlling linking and assembly
Default:
$(appdir)compilers\arm\batchfiles\arm7link.bat
Linker/Assembler parameters
Adds command line parameters when called from Flowcode
Default:
<empty>
There are no default parameters
Programmer
Programmer location
Sets the location of the file controlling the programming of the target device
Default:
$(appdir)tools\mLoader\mLoader.exe
Programmer parameters
Adds command line parameters when called from Flowcode
Default:
"$(outdir)$(target).bin"
Use programmer to set configuration options
This box should be left unchecked
Configuration parameters
This box should be left empty. Configuration parameters are set and downloaded from the Build > Configure menu.
Note: The above parameters assume you are using the AVRDUDE programming application and AVRISPmkII programmer. If you are using an alternative programming application or programmer you will need to consult the relevant documentation for the required parameters and settings.
File Viewer
File Viewer location
Sets the File viewer location for viewing C and Assembly files.
The default is empty, this activates the use of the internal C code viewer.
Default:
C:\Windows\Notepad.exe
File Viewer parameters
Adds command line parameters for the File viewer program
Default Assembly file viewer:
$(outdir)$(target).lst
Default external program to view source files:
$(outdir)$(target).c