Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by labianco on September 24, 2015

Hi,

My end goal is to implement the FreeRTOS FAT SL file system on a PSoC5LP Dev Kit (CY8CKIT-050).

Do I actually need to integrate there real time kernel with the FAT SL file system files in my project or can the FAT SL file system code stand alone?

To do this, I took the advice presented on FreeRTOS.org and tried to get a demo project up and running. I chose to test out the CORTEXCY8C5588PSoCCreatorGCC project for FreeRTOSv8.2.2. I opened up the project in PSoC Creator 3.2 in the original project directory. I updated the device from the original device to the CY8C5868AXI-LP035 TQFP100, which is the processor on the PSoC5LP development kit. The PSoC Creator prompted me to update the components wihtin the project as the originals were out of date. I performed that updated and then built the project. The project errored out before it could be completely built and displayed the following error:

prj.M0120:Build error: FreeRTOS.h: no such file or directory, BlockQ.c, Line 97

I did not want to start modifying the code and hoped there was a simple fix for this. What do I need to do to fix this issue?

Once I get the demo project working, how do I integrate the FAT SL functionality into the project and remove the functions that are not necessary? How do I identify what parts of the project aren't needed for the FAT SL functionality?

All help and advice is greatly appreciated!


FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by rtel on September 24, 2015

I think you can use the file system without any OS if you set FFSTHREADAWARE to 0. http://www.freertos.org/FreeRTOS-Plus/FreeRTOSPlusFATSL/embedded-file-system-configuration.shtml

That demo was created some time ago and presumably the tools have changed a lot since.

prj.M0120:Build error: FreeRTOS.h: no such file or directory, BlockQ.c, Line 97 I did not want to start modifying the code

This is simply telling you it can't find a header file. No need to modify the code, just ensure FreeRTOS/source/include is in the compiler's include path.


FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by labianco on September 24, 2015

Thanks, I will try implementing the FAT SL stand alone and see if I can get that working.


FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by labianco on September 28, 2015

I am having trouble getting the FAT SL integrated into my microprocessor project. I have added the following paths to my compiler include directories list:

..FreeRTOS-Plus-FAT-SLapi; ..FreeRTOS-Plus-FAT-SLconfig; ..FreeRTOS-Plus-FAT-SLfatslcommon; ..FreeRTOS-Plus-FAT-SLfatsltest; ..FreeRTOS-Plus-FAT-SLmedia-drvram; ..FreeRTOS-Plus-FAT-SLpspinclude; ..FreeRTOS-Plus-FAT-SLpsptargetfat_sl; ..FreeRTOS-Plus-FAT-SLpsptargetrtc; ..FreeRTOS-Plus-FAT-SLversion

I know that I need to #include at least one of the source/header files in my main code file, but I am not sure which ones. Can someone help me with this?


FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by edwards3 on September 28, 2015

Open one of the example projects and copy the list of include files from that. You can compile, run and copy the windows project without any special hardware or compilers.


FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by labianco on September 28, 2015

I couldn't find a FAT SL example project. Can you send a link for one?


FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by rtel on September 28, 2015

There was a link in the post you just replied to.


FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by labianco on September 28, 2015

That page is a link to an informational page about the header and not about an FAT SL example project.


FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by rtel on September 28, 2015

I just clicked the link and it took me to a page titled "Example FreeRTOS+FAT SL Project". Seems to be the right place.


FreeRTOS FAT SL, Demo project, PSoC 5 Dev Kit

Posted by labianco on September 29, 2015

My apologies, I glossed over that post since my icon and MEdwards' icons are identical. Thanks for your patience.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS