Difference between revisions of "Selecting Compiler Options (PICmicro)"
Line 149: | Line 149: | ||
'''Use external program to view source files''' | '''Use external program to view source files''' | ||
− | When ticked, allows an external viewer to be used | + | When ticked, allows an external viewer e.g Notepad to be used instead of the default internal viewer |
'''Location''' | '''Location''' |
Latest revision as of 11:01, 21 March 2023
<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 for E-Blocks:
$(fcddir)PIC\batch\pic_xc8_comp.bat
Compiler parameters
Adds command line parameters when called from Flowcode
Default for E-Blocks:
"$(compilerpic)" $(chip) "$(outdir)" "$(target)""
PIC XC8 Linker/Assembler
Linker/Assembler location
Sets the Assembler program location.
Default for E-Blocks:
$(appdir)tools\DoNothing\DoNothing.exe
Linker/Assembler parameters
Adds command line parameters when called from Flowcode
Default for E-Blocks:
'
Programmer
Programmer location
Sets the Programmer application location.
Default for E-Blocks:
$(appdir)tools\mLoader\mLoader.exe
Programmer parameters
Adds command line parameters for the Programmer application.
Default for E-Blocks:
-chip $(chip:u) "$(outdir)$(target).hex"
Click here for details on using a third party programming e.g. PICkit
File Viewer
Use external program to view source files
When ticked, allows an external viewer e.g Notepad to be used instead of the default internal viewer
Location
Sets the file viewer location.
Default:
C:\Windows\Notepad.exe
Parameters
Adds command line parameters for the file viewer application.
Default:
$(outdir)$(target).c
Click here for details on using a third party programming e.g. PICkit