Selecting Compiler Options (PICmicro)

From Flowcode Help
Jump to navigationJump to search

<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

Gen Compiler Options Compiler PIC.png

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

Gen Compiler Options Linker Assembler PIC.png

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

Gen Compiler Options Programmer PIC.png

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

Gen Compiler Options File Viewer PIC.png

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