Difference between revisions of "Selecting Compiler Options (ARM)"

From Flowcode Help
Jump to navigationJump to search
 
(2 intermediate revisions by one other user not shown)
Line 10: Line 10:
 
[[Managing_Compiler_Options#Compiler_variables|Substitute variables used by Flowcode]] are the same for all platforms.
 
[[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]]
 
[[File:Gen_Compiler_Options_Compiler_ARM.png|right|524x400px]]
 
 
 
'''Compiler location'''
 
'''Compiler location'''
  
Line 19: Line 20:
 
Default:
 
Default:
  
<code>'''$(appdir)compilers\arm\batchfiles\arm7comp.bat'''</code>
+
<code>'''$(compilerstarm)batch\stm32comp.bat'''</code>
  
  
Line 28: Line 29:
 
Default:
 
Default:
  
<code>'''"$(target)" "$(outdir)"'''</code>
+
<code>'''""$(target)" "$(outdir)" "$(chipalt)" "$(family)" "$(lscript)" "$(clock)" "$(romsize)" "$(ramsize)"'''</code>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
==Linker/Assembler==
 
[[File:Gen_Compiler_Options_Linker_Assembler_ARM.png|right|524x400px]]
 
[[File:Gen_Compiler_Options_Linker_Assembler_ARM.png|right|524x400px]]
<br /><br />
 
 
'''Linker/Assembler location'''
 
'''Linker/Assembler location'''
  
Line 37: Line 54:
 
Default:
 
Default:
  
<code>'''$(appdir)compilers\arm\batchfiles\arm7link.bat'''</code>
+
<code>'''$(appdir)tools\DoNothing\DoNothing.exe'''</code>
  
  
Line 49: Line 66:
  
 
There are no default parameters
 
There are no default parameters
[[File:Gen_Compiler_Options_Programmer_ARM.png|right|524x400px]]
 
<br /><br />
 
'''Programmer location'''
 
  
Sets the location of the file controlling the programming of the target device
 
  
Default:
 
  
<code>'''$(appdir)tools\mLoader\mLoader.exe'''</code>
 
  
  
'''Programmer parameters'''
 
  
Adds command line parameters when called from Flowcode
 
  
Default:
 
  
<code>'''"$(outdir)$(target).bin"'''</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.
+
==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>
  
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:Gen_Compiler_Options_File_Viewer_ARM.png|right|524x400px]]
 
<br /><br />
 
'''File Viewer location'''
 
  
Sets the File viewer location for viewing C and Assembly files.
+
'''Programmer parameters'''
  
The default is empty, this activates the use of the internal C code viewer.
+
Adds command line parameters when called from Flowcode
  
 
Default:
 
Default:
  
<code>'''C:\Windows\Notepad.exe'''</code>
+
<code>'''""$(outdir)" "$(target)"'''</code>
  
  
'''File Viewer parameters'''
+
'''Use programmer to set configuration options'''
  
Adds command line parameters for the File viewer program
+
This box should be left unchecked
  
Default Assembly file viewer:
 
  
<code>'''$(outdir)$(target).lst'''</code>
+
'''Configuration parameters'''
  
Default external program to view source files:
+
This box should be left empty. Configuration parameters are set and downloaded from the Build > Configure menu.
 
 
<code>'''$(outdir)$(target).c'''</code>
 

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

Gen Compiler Options Compiler ARM.png

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

Gen Compiler Options Linker Assembler ARM.png

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

Gen Compiler Options Programmer ARM.png

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.