Hi
SPI is now available for PIC16F via C compiling and external libraries in ldmicro.
Program, libraries and sources of this 5.1d version can be downloaded on Github:
https://github.com/joegil95/LdMicro32
_____________________________________
Beware to always use the same version for LdMicro32 and libraries (5.1d) to prevent inconsistancies between them.
And replace always flashMcu.bat by new version too.
WARNING:
Even if you don't intend to use SPI, download new version because some errors have been corrected in Pwm for litlle PICs ; and in flashMcu.bat (target had remained pic16f876 => previous version may be unusable for other PICs)
Libraries have been tested in a PIC simulator on pic16f876 and pic16f88. It's up to you to test other PICs, if possible on true targets.
(See HowTo files to configure environment)
JG