FC7 project does not compile
Posted: Wed Jun 26, 2024 1:29 pm
Hi,
I've just downloaded FC7 7.3.0.5 (thanks Martin for your help) and tried to compile a project that I did in 2020 using FC7 7.3.0.9, just to check that everything still worked OK. It fails to compile, and comes up with the following message.
"In function 'FC_CAL_SPI_Master_Init_1':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_SPI.c:228:3: error: 'SPI1STATbits' undeclared (first use in this function)"
This project compiled successfully previously and no changes have been made to the project since then. It also compiles properly in FC8 8.2.2.15, after re-assigning the pin-outs.
I've gone through the forum and noted that in most instances of these types of undeclared vars, it is because of unassigned pins, but I cannot find any that are not assigned.
I haven't attached the project here, as it is proprietary. Can someone shed some light on what I've missed?
Kind regards.
Leo
I've just downloaded FC7 7.3.0.5 (thanks Martin for your help) and tried to compile a project that I did in 2020 using FC7 7.3.0.9, just to check that everything still worked OK. It fails to compile, and comes up with the following message.
"In function 'FC_CAL_SPI_Master_Init_1':
C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_SPI.c:228:3: error: 'SPI1STATbits' undeclared (first use in this function)"
This project compiled successfully previously and no changes have been made to the project since then. It also compiles properly in FC8 8.2.2.15, after re-assigning the pin-outs.
I've gone through the forum and noted that in most instances of these types of undeclared vars, it is because of unassigned pins, but I cannot find any that are not assigned.
I haven't attached the project here, as it is proprietary. Can someone shed some light on what I've missed?
Kind regards.
Leo