Difference between revisions of "Selecting Compiler Options (dsPIC/PIC24)"
(Created page with "Allows users to set the Compiler options. '''Options list''' See the Managing Compiler Settings topic for more information on using this featu...") |
|||
(24 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | <sidebar>Sidebar: Managing Compiler Options</sidebar> | ||
Allows users to set the Compiler options. | Allows users to set the Compiler options. | ||
Line 4: | Line 5: | ||
'''Options list''' | '''Options list''' | ||
− | See the [[ | + | 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''' | ||
− | + | Sets the location of the Microchip C30 compiler. | |
− | + | Default: | |
− | + | <code>'''$(compilerpic16)batchfiles\pic16_C30_comp.bat'''</code> | |
− | '''Compiler | + | '''Compiler parameters''' |
− | |||
− | |||
− | |||
− | |||
Adds command line parameters when called from Flowcode | Adds command line parameters when called from Flowcode | ||
+ | |||
Default: | Default: | ||
− | |||
− | Linker/Assembler location | + | <code>'''"$(outdir)$(target)" "$(outdir)" "$(chip:u)"'''</code> |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ==Linker/Assembler== | ||
+ | [[File:Gen_Compiler_Options_Linker_Assembler_PIC16.png|right|524x400px]] | ||
+ | '''Linker/Assembler location''' | ||
+ | |||
Sets the Assembler program location. | Sets the Assembler program location. | ||
+ | |||
Default: | Default: | ||
− | |||
− | Linker/Assembler parameters | + | <code>'''$(compilerpic16)batchfiles\pic16_C30_link.bat'''</code> |
+ | |||
+ | |||
+ | '''Linker/Assembler parameters''' | ||
+ | |||
Adds command line parameters when called from Flowcode | Adds command line parameters when called from Flowcode | ||
+ | |||
Default: | Default: | ||
− | |||
− | + | <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>'''$(appdir)tools\mLoader\mLoader.exe'''</code> | |
− | |||
− | |||
− | |||
− | + | '''Programmer parameters''' | |
− | |||
− | + | Adds command line parameters for the Programmer application. | |
− | |||
− | |||
− | |||
− | |||
− | |||
Default: | Default: | ||
− | |||
− | + | <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