cancel
Showing results for 
Search instead for 
Did you mean: 

xQueueCreate not creating any queue

Manikandan K
Associate III
Posted on June 16, 2017 at 15:08

I'm using NucleoF207G in that I'm trying to freertos queue using STM32Cube but i can't able to create any queue using xQueueCreate API . Pls give me a Proper suggestion .

-Thanks

K.Manikandan

5 REPLIES 5
Imen.D
ST Employee
Posted on June 16, 2017 at 17:36

Hi

K.Manikandan

,

You can refer to a typical

FreeRTOS

examples and use CubeMX to build and generate your project with FreeRTOS.

STM32Cube_FW_F2_V1.6.0\Projects\STM322xG_EVAL\Applications\FreeRTOS

I recommend to you the following references, it maybe helpful for you:

-

/external-link.jspa?url=http%3A%2F%2Fwww2.st.com%2Fcontent%2Fccc%2Fresource%2Ftechnical%2Fdocument%2Fuser_manual%2F2d%2F60%2Fff%2F15%2F8c%2Fc9%2F43%2F77%2FDM00105pdf%2Ffiles%2FDM00105pdf%2Fjcr%3Acontent%2Ftranslations%2Fen.DM00105pdf

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on June 17, 2017 at 07:11

Hi Imen ,

I  have that document too but , i want to know what is the prob when I'm using xQueueCreate API . I think problem with Heap memory settings but cant able to troubleshoot it  , so i need help..

-Thanks

K.Maikandan

Posted on June 17, 2017 at 07:54

In STM32Cube_FW_F2_V1.6.0\Projects\STM322xG_EVAL\Applications\FreeRTOS  what is the stack size and heap size for Linker settings in STM32Cube ?

Manikandan K
Associate III
Posted on June 20, 2017 at 11:55

Increasing queue size ,

https://community.st.com/0D50X00009XkY4MSAV

is working . But i had another one doubt , I want to send data to queue from CDC_Receive_FS and receive the data from another threat .

Any Idea ?

- Thanks and regards

K.Manikandan

lagzilajcsi
Associate II

People who searching for an answer:

 

What worked for me: 

#define configTOTAL_HEAP_SIZE                    ((size_t)32*1024)
 
Just increase the heapsize