2396435_en-US

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

2396435_en-US

2396435_en-US

Undefined SD Card symbols using MCUxpresso 25.6 on FRDM-K64F

I want to use an SD card in my project to load individual personalisation data fpor a two-way radio system.   I am getting #include "tx_api.h" and #include "tx_event_flags.h" as not defined.

This is due to the fact that I did not include azure rtos in the SDK.

I try to overcome this by installing azure into the SDK using 'manage sdk components', but I apparently azure rtos support was dropped in 2.11, which I loaded for the project before I saw this problem.

So I created a new SDK online, but it drops back to 2.10 to get azure support.  However when I try to change the SDK for my project, it will not let me remove the SDK I have, and when I try to add another one it tells me that SDK 2.x_FRDM-K64F already exists.

How can I get azure support.  I only need it for SD card access!


Re: Undefined SD Card symbols using MCUxpresso 25.6 on FRDM-K64F

Thank you Celeste.  It was not clear from the literature that such was the case.  However I have solved the problem by cutting and pasting my code into the example and have moved on, working on the next problem now which is the fact that it returns zero when trying to read the directory after mounting!


Cheers

Nigel


Re: Undefined SD Card symbols using MCUxpresso 25.6 on FRDM-K64F

Hello @ve3id ,

Thanks for your post.

Just a reminder, on FRDM-K64F, the SDK already provides SD card file-system examples based on SDHC + FatFs , and FatFs can run in bare-metal mode without an RTOS, the FRDM-K64F SDK examples include frdmk64f_driver_examples_sdcard_fatfs / fatfs_sdcard style projects for mounting an SD card and doing directory/file read-write operations.

If you still want Azure RTOS, for the “SDK 2.x_FRDM-K64F already exists” issue, this means the IDE already has an SDK with that identity installed. MCUXpresso IDE supports deleting installed SDK packages from that view. Please refer to below picture to uninstall.

Celeste_Liu_0-1784529590904.pngCeleste_Liu_0-1784529590904.png


After that, you can try to install SDK v2.10 again.

Hope it helps. Please let me know if you have any other questions.

BR

Celeste

Re: Undefined SD Card symbols using MCUxpresso 25.6 on FRDM-K64F

Hello @ve3id ,

You are welcome, glad to help!

Any new questions, please feel free to create a new post.

BR

Celeste

Tags (1)
No ratings
Version history
Last update:
‎07-22-2026 02:29 AM
Updated by: