2016-12-26 05:56 AM
Hi,
I'am working with STM32L4 microcontroler including SDCard and WIFI module.
I'am trying to implement FreeRTOS tasks to:
As mentionned on FreeRTOS website, FreeRTOS provides a new library, which allow us to use FreeRTOS+TCP and FreeRTOS+FTP, as mentionned in this
http://www.freertos.org/FreeRTOS-Labs/RTOS_labs_download.html
.As first step, I tried to upgrade FreeRTOS version from V8.2.3 to V9.0.0 by
copying the V9 files over the top of the V8.2.3 files before building.
As second step, I Added FeeRTOS+ Library in my project workspace that containes:
FreeRTOS+CLI
FreeRTOS+FAT
FreeRTOS+TCP
Unfortunately, Muliples warning and errors occurs while building my project due to this implemntation
:(
Can someone please help me to use the FreeRTOS+ library ?
Can
someone
please tel me if the next release of cube MXwill include the the FreeRTOS+ library
? (that will contain V9.0.0 FreeRTOS version)Thanks.
Ghada.
#sd-card #freertos #wifi #fatfs #stm32l4 #ftp2016-12-26 09:43 AM
Dear
DHIBI.Ghada
,Have a look to the'FreeRTOS middleware configuration view' section in the
STM32CubeMx user Manual and in the ,this will help you onFreeRTOS configuration.
You can start from working example under STM32CubeL4 package, in the context of understanding the tools and you find the needed include parts for your project: STM32Cube_FW_L4_V1.6.0\Projects\STM32L476G_EVAL\Applications\FreeRTOS
so, you can modify the working application depending on your needs.About the support of FreeRTOS v9, it should come in STM32CubeMX January version, as mentioned by CubeMx team in this
https://community.st.com/thread/15509
Best Regards
Imen
2016-12-27 12:35 AM
Hi
DAHMEN.IMEN
,Thank you for your answer,
However, using FreeRTOS V8.x or V9.x is not my problem,
but I'm trying to implement and use FreeRTOS+ library including FreeRTOS+FAT and FreeRTOS+TCP, that allow me to use TCP and FAT under FreeRTOS
So, have you idea if the January CubeMx version will include this library ?
B.R.
Ghada.
2016-12-27 03:28 AM
Hi
DHIBI.Ghada
,I suggest that you refer tothe working example within STM32cubeL4 firmware package,it may help you:
STM32Cube_FW_L4_V1.6.0\Projects\STM32L476G_EVAL\Applications\FatFs\FatFs_uSD_RTOSBest Regards
Imen
2016-12-27 07:13 AM
You will find a worked example that uses FreeRTOS+TCP and FreeRTOS+FAT running on an STM32F4 on the following link:
http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_TCP/TCP-IP_FAT_Examples_ST_STM32F407.html
2016-12-27 09:20 AM
Hi
Barry.Richard
,Thank you for your answer
I already downloaded this example, and It seems that is the solution of my project
unfortunately, I would like the EWARM version of this project because I have to work with IAR Embedded Workbensh.
Have you idea how to migratethis project to EWARM version ?
Thank you
Ghada.
2016-12-27 10:01 AM
You will need to use the port files from the FreeRTOS/Source/portable/IAR/ARM_CMx directory instead of the GCC equivalents. The following links might help:
http://www.freertos.org/Creating-a-new-FreeRTOS-project.html
http://www.freertos.org/porting-a-freertos-demo-to-different-hardware.html
2016-12-27 10:07 AM
thank you
I will try it !
B.R.
Ghada.