Difference between revisions of "Selecting Compiler Options (dsPIC/PIC24)"
(3 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__ | |
==Compiler== | ==Compiler== | ||
[[File:Gen_Compiler_Options_Compiler_PIC16.png|right|524x400px]] | [[File:Gen_Compiler_Options_Compiler_PIC16.png|right|524x400px]] | ||
Line 19: | Line 19: | ||
Default: | Default: | ||
− | <code>'''$( | + | <code>'''$(compilerpic16)batchfiles\pic16_C30_comp.bat'''</code> |
Line 45: | Line 45: | ||
− | ==Linker== | + | ==Linker/Assembler== |
[[File:Gen_Compiler_Options_Linker_Assembler_PIC16.png|right|524x400px]] | [[File:Gen_Compiler_Options_Linker_Assembler_PIC16.png|right|524x400px]] | ||
'''Linker/Assembler location''' | '''Linker/Assembler location''' | ||
Line 53: | Line 53: | ||
Default: | Default: | ||
− | <code>'''$( | + | <code>'''$(compilerpic16)batchfiles\pic16_C30_link.bat'''</code> |
Line 88: | Line 88: | ||
<code>'''$(appdir)tools\mLoader\mLoader.exe'''</code> | <code>'''$(appdir)tools\mLoader\mLoader.exe'''</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 109: | Line 99: | ||
− | + | [[Supporting_Third_Party_Programming_Tools|Click here for details on using a third party programming e.g. PICkit]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 10:38, 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 Microchip C30 compiler.
Default:
$(compilerpic16)batchfiles\pic16_C30_comp.bat
Compiler parameters
Adds command line parameters when called from Flowcode
Default:
"$(outdir)$(target)" "$(outdir)" "$(chip:u)"
Linker/Assembler
Linker/Assembler location
Sets the Assembler program location.
Default:
$(compilerpic16)batchfiles\pic16_C30_link.bat
Linker/Assembler parameters
Adds command line parameters when called from Flowcode
Default:
"$(outdir)$(target)" $(chip:u) $(family)
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) "$(target).hex"
Click here for details on using a third party programming e.g. PICkit