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

From Flowcode Help
Jump to navigationJump to search
Line 59: Line 59:
 
Default:
 
Default:
  
''$(appdir)compilers\arm\batchfiles\arm7comp.bat''
+
<code>'''$(appdir)compilers\arm\batchfiles\arm7comp.bat'''</code>
  
  
Line 68: Line 68:
 
Default:
 
Default:
  
''"$(target)" "$(outdir)"''
+
<code>'''"$(target)" "$(outdir)"'''</code>
  
  
Line 77: Line 77:
 
Default:
 
Default:
  
''$(appdir)compilers\arm\batchfiles\arm7link.bat''
+
<code>'''$(appdir)compilers\arm\batchfiles\arm7link.bat'''</code>
  
  
Line 86: Line 86:
 
Default:
 
Default:
  
''<empty>''
+
<code>'''<empty>'''</code>
  
 
There are no default parameters
 
There are no default parameters
Line 97: Line 97:
 
Default:
 
Default:
  
''$(appdir)tools\mLoader\mLoader.exe''
+
<code>'''$(appdir)tools\mLoader\mLoader.exe'''</code>
  
  
Line 106: Line 106:
 
Default:
 
Default:
  
''"$(outdir)$(target).bin"''
+
<code>'''"$(outdir)$(target).bin"'''</code>
  
  
Line 130: Line 130:
 
Default:
 
Default:
  
''C:\Windows\Notepad.exe''
+
<code>'''C:\Windows\Notepad.exe'''</code>
  
  
Line 139: Line 139:
 
Default Assembly file viewer:
 
Default Assembly file viewer:
  
''$(outdir)$(target).lst''
+
<code>'''$(outdir)$(target).lst'''</code>
  
 
Default external program to view source files:
 
Default external program to view source files:
  
''$(outdir)$(target).c''
+
<code>'''$(outdir)$(target).c'''</code>

Revision as of 12:36, 25 July 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

%T Target name as written e.g. AT91SAM7S128

(generally used by the compiler)

%t Target name forced to lower-case

%p Target name forced to upper-case


%a Alternative target name as written e.g. m32

(generally used by the programmer)

%A Alternative target name forced to upper-case


%f Long file name without extension e.g. C:\Development\Flowcode\TestProgram.fcf becomes:

TestProgram

%F Short filename without extension e.g. C:\Development\Flowcode\TestProgram.fcf becomes:

TestPr~1


%d Long file path for the Flowcode file e.g. C:\Development\Flowcode\TestProgram.fcf becomes:

C:\Development\Flowcode

%D Short file path for the Flowcode file C:\Development\Flowcode\TestProgram.fcf becomes:

C:\Develo~1\Flowcode


%c0 Configuration byte count

%c1 Configuration byte #1

%c2 Configuration byte #2

%c3 Configuration byte #3


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 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 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 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