FatFS not compiling

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FatFS not compiling

1,669件の閲覧回数
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....

タグ(2)
0 件の賞賛
返信
3 返答(返信)

1,383件の閲覧回数
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 件の賞賛
返信

1,383件の閲覧回数
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 件の賞賛
返信

1,383件の閲覧回数
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 件の賞賛
返信