Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Reply To: How to use FatFs library in MPLAB XC8 without MPLAB Code Configurater?

Home Forums MPLAB XC8 Tutorial Discussions How to use FatFs library in MPLAB XC8 without MPLAB Code Configurater? Reply To: How to use FatFs library in MPLAB XC8 without MPLAB Code Configurater?

#2520

Karalan
Participant

Am using XC8 1.42 and I tried with your suggestion but still I couldn’t. I got following two errors with lots of warning:

:: advisory: (1233) Employing 18F4620 errata work-arounds:
:: advisory: (1234) * Corrupted fast interrupt shadow registers
:: advisory: (1234) * Data in RAM location can be corrupted if async. reset occurs during write
:: warning: (1273) Omniscient Code Generation not available in Free mode
newmain.c:17: error: (1250) could not find space (559 bytes) for variable _FatFs
newmain.c:18: error: (1250) could not find space (548 bytes) for variable _Fil
(908) exit status = 1
nbproject/Makefile-default.mk:189: recipe for target ‘dist/default/production/SD_Card.X.production.hex’ failed
make[2]: Leaving directory ‘C:/Users/CEERI/MPLABXProjects/SD_Card.X’
nbproject/Makefile-default.mk:84: recipe for target ‘.build-conf’ failed
make[1]: Leaving directory ‘C:/Users/CEERI/MPLABXProjects/SD_Card.X’
nbproject/Makefile-impl.mk:39: recipe for target ‘.build-impl’ failed
make[2]: *** [dist/default/production/SD_Card.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2