SDK 2.5.1 RT1050 with SDMMC polled mode

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

SDK 2.5.1 RT1050 with SDMMC polled mode

1,122 Views
w2vy
Contributor V

I just downloaded the updated SDK, I also saw the LittleFS being added, which appears to be a much better choice for embedded devices.

I tried the simplest project (New Workspace, click New Project, select RT1050-EVKB)

Bare Metal and File System and SDMMC

pastedImage_1.png

When I build I get:

Finished building: ../source/semihost_hardfault.c
In file included from ../sdmmc/inc/fsl_mmc.h:12:0,
from ../sdmmc/src/fsl_mmc.c:10:
../sdmmc/inc/fsl_sdmmc_common.h:12:10: fatal error: fsl_common.h: No such file or directory
#include "fsl_common.h"
^~~~~~~~~~~~~~
compilation terminated.
make: *** [sdmmc/src/subdir.mk:23: sdmmc/src/fsl_mmc.o] Error 1
make: *** Waiting for unfinished jobs....

I also only selected the POLLED adaptor

I did try with FreeRTOS and got the about the same thing...

I do see the file in the SDK zip file, but shouldn't this me extracted me?

I have been using the SDK as a the ZIP that I downloaded from the website.

Is that the normal way to use it?
Or should I unzip it so MCUX can link to the files?

Tom

0 Kudos
5 Replies

972 Views
w2vy
Contributor V

All I did was click the File System and Memories items in the image I provided.

It should be very easy to reproduce, I would be happy to show you on a GoTo Meeting session

0 Kudos

972 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Tom,


I'm not able to reproduce the behavior you mentioned with the SDK 2.5.1. What version of MCUXpresso IDE are you using? Please be sure that you are using the newest version available, 10.3.1. Could you please provide a video that shows how to reproduce the behavior you mentioned?

Regards,

Victor

0 Kudos

972 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Tom,

I wasn't able to reproduce the behavior you mentioned. It doesn't matter that the SDK is in a zip file.

I took a look into the project that you attached and noticed that you are missing multiple drivers. The behavior you are facing is due to this missing file specifically.

pastedImage_1.png

When you create the project, what do you select under the driver section?

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

972 Views
w2vy
Contributor V

I didn't select anything, I thought it would either add what it needed or give me a warning / error.

It did automatically enable the sdhc driver.

Tom

0 Kudos

972 Views
victorjimenez
NXP TechSupport
NXP TechSupport

Hello Tom,


When you open the New Project Wizard, there are some things that by default are selected under the sections driver, and utilities. Please, don't modify this. Another thing important to keep in mind is that in the section SDK Debug Console you need to select UART (this doesn't have anything to do with the behavior that you are facing, but it's important to do it).

Best regards,

Victor

0 Kudos