Page 1 of 1

xc16 settings in flowcode v7. ?

Posted: Sun Apr 16, 2017 3:41 pm
by astro1234
I use the XC16 compiler for some of my projects, so can i use xc16 in Flowcode v7 standard,
is so what settings do i need to set up in the compiler setup.
thanks for looking.
Regards astro1234.

Re: xc16 settings in flowcode v7. ?

Posted: Mon Apr 17, 2017 12:02 am
by crispin12
Make sure you change the Microchip compiler version number in the paths denoted below to whatever the compiler versions are on your system. Also copy pic16_C30_comp.bat file from the Flowcode installation directory to the Microchip directory using the install path shown below as a pointer on where to place it.

Microchip Pro xc8
compiler
C:\Program Files (x86)\Microchip\xc8\v1.41\bin\xc8.exe
--chip=$(chip) "$(target).c" --MSGDISABLE=359,1273,1388

linker
$(appdir)tools\DoNothing\DoNothing.exe
--------------------------------------------
Microchip Pro xc16
compiler
C:\Program Files (x86)\Microchip\xc16\v1.31\bin\pic16_C30_comp.bat
"$(target)" "$(outdir)" "$(chip:u)"

linker
$(appdir)compilers\pic16\batchfiles\pic16_C30_link.bat
"$(outdir)$(target)" $(chip:u) $(family)
-------------------------------------------
Microchip Pro xc32
compiler
C:\Program Files (x86)\Microchip\xc32\v1.42\bin\xc32-gcc.exe
-mprocessor=$(chip) -O1 -o "$(srcdir)$(target).out" "$(srcdir)$(target).c"

linker
$(appdir)compilers\pic32\bin\xc32-bin2hex.exe
"$(srcdir)$(target).out"
-------------------------------------------

Re: xc16 settings in flowcode v7. ?

Posted: Mon Apr 17, 2017 9:08 am
by astro1234
Thank you for the info, :D
will give it ago .
Regards astro1234