Selecting Compiler Options (PICmicro)


Allows users to set the Compiler options.



Substitute variables used by Flowcode

%t Target name e.g. 16F88

%f Filename without extension e.g. C:\Dev\Test\Mytest.fcf becomes - C:\Dev\Test\Mytest

%d Directory location of the Flowcode file


Compiler location

Sets the Compiler location.

Default:

C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostc.pic16.flowcode.exe


Compiler parameters

Adds command line parameters when called from Flowcode

Default:

-v -t PIC%p "%f.c"


Linker/Assembler location

Sets the Assembler program location.

Default:

C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\boostlink.pic.exe


Linker/Assembler parameters

Adds command line parameters when called from Flowcode

Default:

-ld "C:\Program Files\Matrix Multimedia\Flowcode V3\BoostC\lib" libc.pic16.lib "%f.obj" -t PIC%p -d "%d" -p "%f"


Programmer location

Sets the Programmer application location.

Default:

C:\Program Files\Matrix Multimedia\Common\PPPv3\PPPv3.exe


To use the PICkit2 programmer change the location to

C:\Program Files\Matrix Multimedia\Flowcode V3\tools\PICkit2\pk2cmd_mtx.exe


Programmer parameters

Adds command line parameters for  the Programmer application.

Default:

-cs 2 -nogui "%f.hex"


To use the PICkit2 programmer change the parameters to

-PPIC%p -F%F.hex -M -A5 -H


Use Programmer to set configuration options

Check box to allow the Programmer application (PPP) to be used to set up the configuration of the device. Used by the Chip > Configure menu command to launch the application (PPP) to configure the device. This setting needs to be unticked to allow you to use non default programming applications such as the PicKit2.


Configuration parameters

Supplies the command line parameters needed for configuration.

Default:

-cs 2 -chip PIC%p -config


Note: The above Programmer defaults assume that you are using the PPP Programming application from Matrix Multimedia.

If you are using an alternative programming application you will need to consult the documentation for that application for the required parameters and settings.

Additionally configuration words can be embedded into the program using the Supplementary code feature, or C Code icons.


For help using the PicKit2 Programmer with Flowcode, untick the "Use Programmer to set configuration options" button and then click here to view the configuration settings required.


File Viewer location

Sets the File viewer location for viewing C and Assembly files.

Set to Windows Notepad by default.

Default:

C:\WINDOWS\notepad.exe


File Viewer parameters

Adds command line parameters for the File viewer program

Default:

Blank. NO PARAMETERS.