Selecting Compiler Options (dsPIC/PIC24)

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.


Compiler

Gen Compiler Options Compiler PIC16.png

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

Gen Compiler Options Linker Assembler PIC16.png

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

Gen Compiler Options Programmer PIC16.png

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