Difference between revisions of "Selecting Compiler Options (PICmicro)"
(9 intermediate revisions by 2 users 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__ | ||
− | == | + | ==PIC XC8 Compiler== |
[[File:Gen_Compiler_Options_Compiler_PIC.png|right|524x400px]] | [[File:Gen_Compiler_Options_Compiler_PIC.png|right|524x400px]] | ||
− | |||
− | |||
− | |||
'''Compiler location''' | '''Compiler location''' | ||
Line 22: | Line 20: | ||
Default: | Default: | ||
− | <code>'''$( | + | <code>'''$(compilerpic)batch\pic_xc8_comp.bat'''</code> |
Line 31: | Line 29: | ||
Default: | Default: | ||
− | <code>''' | + | <code>'''$(chip) "$(outdir)" "$(target)"'''</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==PIC XC8 Linker/Assembler== | |
− | + | [[File:Gen_Compiler_Options_Linker_Assembler_PIC.png|right|524x400px]] | |
'''Linker/Assembler location''' | '''Linker/Assembler location''' | ||
Line 56: | Line 40: | ||
Default: | Default: | ||
− | <code>'''$(appdir) | + | <code>'''$(appdir)tools\DoNothing\DoNothing.exe'''</code> |
Line 65: | Line 49: | ||
Default: | Default: | ||
− | <code>''' | + | <code>''''''</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | ==Programmer== | ||
+ | [[File:Gen_Compiler_Options_Programmer_PIC.png|right|524x400px]] | ||
'''Programmer location''' | '''Programmer location''' | ||
− | |||
Sets the Programmer application location. | Sets the Programmer application location. | ||
Line 123: | Line 60: | ||
Default: | Default: | ||
− | <code>'''$(appdir)tools\ | + | <code>'''$(appdir)tools\mLoader\mLoader.exe'''</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 142: | Line 69: | ||
Default: | Default: | ||
− | <code>''' | + | <code>'''-chip $(chip:u) "$(outdir)$(target).hex"'''</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[Supporting_Third_Party_Programming_Tools|Click here for details on using a third party programming e.g. PICkit]] |
Latest revision as of 10:36, 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.
PIC XC8 Compiler
Compiler location
Sets the Compiler location.
Default:
$(compilerpic)batch\pic_xc8_comp.bat
Compiler parameters
Adds command line parameters when called from Flowcode
Default:
$(chip) "$(outdir)" "$(target)"
PIC XC8 Linker/Assembler
Linker/Assembler location
Sets the Assembler program location.
Default:
$(appdir)tools\DoNothing\DoNothing.exe
Linker/Assembler parameters
Adds command line parameters when called from Flowcode
Default:
'
Programmer
Programmer location
Sets the Programmer application location.
Default:
$(appdir)tools\mLoader\mLoader.exe
Programmer parameters
Adds command line parameters for the Programmer application.
Default:
-chip $(chip:u) "$(outdir)$(target).hex"
Click here for details on using a third party programming e.g. PICkit