Difference between revisions of "Selecting Compiler Options (ARM)"
(9 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
− | + | [[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>'''$(compilerstarm)batch\stm32comp.bat'''</code> |
− | |||
− | ''' | + | '''Compiler parameters''' |
− | + | Adds command line parameters when called from Flowcode | |
− | : | + | Default: |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ''' | + | <code>'''""$(target)" "$(outdir)" "$(chipalt)" "$(family)" "$(lscript)" "$(clock)" "$(romsize)" "$(ramsize)"'''</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ==Linker/Assembler== | ||
+ | [[File:Gen_Compiler_Options_Linker_Assembler_ARM.png|right|524x400px]] | ||
'''Linker/Assembler location''' | '''Linker/Assembler location''' | ||
Line 73: | Line 54: | ||
Default: | Default: | ||
− | <code>'''$(appdir) | + | <code>'''$(appdir)tools\DoNothing\DoNothing.exe'''</code> |
Line 87: | Line 68: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ==Programmer== | ||
+ | [[File:Gen_Compiler_Options_Programmer_ARM.png|right|524x400px]] | ||
+ | '''Programmer location''' | ||
− | + | Sets the location of the file controlling the programming of the target device | |
− | + | Default: | |
+ | <code>'''$(compilerstarm)batch\stm32prog.bat'''</code> | ||
− | |||
+ | '''Programmer parameters''' | ||
− | + | Adds command line parameters when called from Flowcode | |
− | |||
− | |||
− | |||
− | |||
Default: | Default: | ||
− | <code>''' | + | <code>'''""$(outdir)" "$(target)"'''</code> |
− | ''' | + | '''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. | |
− | |||
− |
Latest revision as of 10:41, 14 November 2018
<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:
$(compilerstarm)batch\stm32comp.bat
Compiler parameters
Adds command line parameters when called from Flowcode
Default:
""$(target)" "$(outdir)" "$(chipalt)" "$(family)" "$(lscript)" "$(clock)" "$(romsize)" "$(ramsize)"
Linker/Assembler
Linker/Assembler location
Sets the location of the file controlling linking and assembly
Default:
$(appdir)tools\DoNothing\DoNothing.exe
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:
$(compilerstarm)batch\stm32prog.bat
Programmer parameters
Adds command line parameters when called from Flowcode
Default:
""$(outdir)" "$(target)"
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.