Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

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!


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS