Difference between revisions of "Selecting Compiler Options (dsPIC/PIC24)"
(9 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
See the [[Managing Compiler Options]] topic for more information on using this feature. | See the [[Managing Compiler Options]] topic for more information on using this feature. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | [[Managing_Compiler_Options#Compiler_variables|Substitute variables used by Flowcode]] are the same for all platforms. | ||
+ | __NOTOC__ | ||
+ | ==Compiler== | ||
+ | [[File:Gen_Compiler_Options_Compiler_PIC16.png|right|524x400px]] | ||
'''Compiler location''' | '''Compiler location''' | ||
Line 27: | Line 19: | ||
Default: | Default: | ||
− | <code>'''$( | + | <code>'''$(compilerpic16)batchfiles\pic16_C30_comp.bat'''</code> |
− | + | ||
− | + | ||
'''Compiler parameters''' | '''Compiler parameters''' | ||
Line 39: | Line 31: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ==Linker/Assembler== | |
+ | [[File:Gen_Compiler_Options_Linker_Assembler_PIC16.png|right|524x400px]] | ||
+ | '''Linker/Assembler location''' | ||
+ | Sets the Assembler program location. | ||
− | + | Default: | |
− | <code>'''$( | + | <code>'''$(compilerpic16)batchfiles\pic16_C30_link.bat'''</code> |
− | ''' | + | '''Linker/Assembler parameters''' |
− | Adds command line parameters | + | Adds command line parameters when called from Flowcode |
Default: | Default: | ||
− | <code>''' | + | <code>'''"$(outdir)$(target)" $(chip:u) $(family)'''</code> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ''' | + | ==Programmer== |
+ | [[File:Gen_Compiler_Options_Programmer_PIC16.png|right|524x400px]] | ||
+ | '''Programmer location''' | ||
− | + | Sets the Programmer application location. | |
Default: | Default: | ||
− | <code>''' | + | <code>'''$(appdir)tools\mLoader\mLoader.exe'''</code> |
− | + | '''Programmer parameters''' | |
− | |||
− | |||
− | |||
− | |||
− | + | Adds command line parameters for the Programmer application. | |
− | |||
− | |||
− | |||
− | |||
− | |||
Default: | Default: | ||
− | <code>''' | + | <code>'''-chip $(chip:u) "$(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: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