Compile warning with Microchip X16 1.23

tlafleur wrote on Tuesday, December 23, 2014:

fyi… Minor issue… ver 8.1.2

../FreeRTOS/Source/portable/MemMang/heap_4.c: In function 'prvHeapInit':
../FreeRTOS/Source/portable/MemMang/heap_4.c:365:14: warning: cast from pointer to integer of different size
../FreeRTOS/Source/portable/MemMang/heap_4.c:371:33: warning: cast from pointer to integer of different size
../FreeRTOS/Source/portable/MemMang/heap_4.c:374:19: warning: cast to pointer from integer of different size
../FreeRTOS/Source/portable/MemMang/heap_4.c:383:16: warning: cast from pointer to integer of different size
../FreeRTOS/Source/portable/MemMang/heap_4.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

rtel wrote on Tuesday, December 23, 2014:

It doesn’t look like heap_4 or heap_5 are using the portPOINTER_SIZE_TYPE type as is done in heap_2.

wcrystal25 wrote on Tuesday, February 14, 2017:

I have compiled the FreeRTOSv9.0.0\FreeRTOS\Demo\CORTEX_R4_RM48_TMS570_CCS5 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!