Compile warning with Microchip X16 1.23

Posted by tlafleur on December 23, 2014

fyi... Minor issue... ver 8.1.2

~~~~~~ ../FreeRTOS/Source/portable/MemMang/heap4.c: In function 'prvHeapInit': ../FreeRTOS/Source/portable/MemMang/heap4.c:365:14: warning: cast from pointer to integer of different size ../FreeRTOS/Source/portable/MemMang/heap4.c:371:33: warning: cast from pointer to integer of different size ../FreeRTOS/Source/portable/MemMang/heap4.c:374:19: warning: cast to pointer from integer of different size ../FreeRTOS/Source/portable/MemMang/heap4.c:383:16: warning: cast from pointer to integer of different size ../FreeRTOS/Source/portable/MemMang/heap4.c:386:10: warning: cast to pointer from integer of different size ../FreeRTOS/Source/portable/MemMang/heap_4.c:393:45: warning: cast from pointer to integer of different size

~~~~~~


Compile warning with Microchip X16 1.23

Posted by rtel on December 23, 2014

It doesn't look like heap4 or heap5 are using the portPOINTERSIZETYPE type as is done in heap_2.


Compile warning with Microchip X16 1.23

Posted by wcrystal25 on February 14, 2017

I have compiled the FreeRTOSv9.0.0FreeRTOSDemoCORTEXR4RM48TMS570CCS5 demo project for RM84x development board and loaded on it. When being debugged of xQueueCreate() and in pvPortMalloc() of heap_4.c file, it can't step into prvHeapInit() and it looked like the function was by passed altogether. Can somebody please help? Thank you!