Error when using vPortFree(ptr) CMSIS-RTOS on STM32F4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-04-01 7:26 AM
I will need to handle dynamic memory using malloc and free. Looking on FreeRTOS documentation, I found pvPortMalloc(size) and vPortFree(ptr) , pvPortMalloc(size) works fine. When try to release memory using vPortFree(ptr) inside a Thread, the code hangs on that call.
I'm using heap_4 for CMSIS-RTOS on TrueStudio.
Labels:
- Labels:
-
FreeRTOS
-
STM32F4 Series
-
TrueSTUDIO
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
