FatFS not compiling

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FatFS not compiling

869 Views
deepmukherjee
Contributor I

I am trying to compile a sample code using SDK:

               

Build Date: 2018-01-17, Board: LPCXpresso54608

OS: Windows, Toolchain: MCUXpresso IDE

Components: FreeRTOS, mbedtls, FatFS, lwIP, emWin, USB stack, QCA400x WiFi

SDK Version: KSDK 2.3.0 (2017-11-16)

On MCUXpresso IDE v10.1.1 [Build 606] [2018-01-02] .

Here, All compilation works fine unless I select FatFS as part of project.

Once fatFS selected compilation fails for :

../fatfs/fatfs_source/fsl_sdspi_disk.c:39:22: fatal error: fsl_dspi.h: No such file or directory
#include "fsl_dspi.h"
^
compilation terminated.
make: *** [fatfs/fatfs_source/fsl_sdspi_disk.o] Error 1
make: *** Waiting for unfinished jobs....

Tags (2)
0 Kudos
3 Replies

583 Views
w2vy
Contributor V

I am also seeing this, fresh install...

I tried every spi type driver from the Manage SDK Components.

I am trying to work with a RAM disk, I don't need the SDSPI driver from FATFS

If I remove fsl_dsspi_disk.c (#if 0/#endif), it builds fine...

But is still not a clean user experience..

tom

0 Kudos

583 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello,

This is a bug of the SDK, this was already reported with the developers so it will be fix in future releases. 

Best regards,

Victor Jimenez.

0 Kudos

583 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello,

I'm working with this issue. Meanwhile if what you need to do is read/write in an SD card you can check the SDK example "sdcard_fatfs" that works fine.

Best regards,

Victor Jimenez.

0 Kudos