I have been trying to compile a simple SPI Slave Flowcode program based on an example in this thread viewtopic.php?t=20526 the only difference is that the target device I am using is a PIC16F1933, SPI 'Channel 1' instead of 'Channel 2' and I am using the corresponding SPI IO's for the device.
Unfortunately, every time I try to compile the code to a HEX file, I get the error message below.
Does the Flowcode SPI Slave module only work with a limited number of PIC microcontrollers and is the PIC16F1933, not one of them, or have I just made a mistake in my Flowcode program.
Thanks.Target folder: \\xxxx.local\data\REDIRE~1\PDD Users\Documents\PIC\SPI Slave
Source name: \\xxxx.local\data\Redirected Folders\PDD Users\Documents\PIC\SPI Slave\SPI_Slave_Prototype1.fcfx
Title:
Description:
Device: PIC.16F.16F1933
Generated by: Flowcode v8.1.1.11
Date: Wednesday, April 24, 2019 09:53:07
Users: 1
Registered to:
License key: *****
https://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode\Compilers\pic\batch\pic_xc8_comp.bat 16F1933 "\\xxxx.local\data\REDIRE~1\PDD Users\Documents\PIC\SPI Slave\" "SPI_Slave_Prototype1"
'\\xxxx.local\data\REDIRE~1\PDD Users\Documents\PIC\SPI Slave'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
X:\REDIRE~1\PDD Users\Documents\PIC\SPI Slave>C:\PROGRA~2\Flowcode\COMPIL~1\pic\batch\..\bin\xc8.exe --chip=16F1933 "SPI_Slave_Prototype1.c" --MSGDISABLE=359,1273,1388 --FLOAT=32 --DOUBLE=32
Microchip MPLAB XC8 C Compiler (Free Mode) V1.45
Build date: Nov 15 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration
using updated 32-bit floating-point libraries; improved accuracy might increase code size
. . .
0: (500) undefined symbols:
_FC_CAL_SPI_Slave_Init_1(SPI_Slave_Prototype1.obj) _FC_CAL_SPI_Slave_RxByte_1(SPI_Slave_Prototype1.obj) _FC_CAL_SPI_Slave_TxByte_1(SPI_Slave_Prototype1.obj)
(908) exit status = 1
(908) exit status = 1
Error returned from [xc8.exe]
C:\Program Files (x86)\Flowcode\Compilers\pic\batch\pic_xc8_comp.bat reported error code 1
FINISHED