Quality RTOS & Embedded Software

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




Loading

portPOINTER_SIZE_TYPE for PIC18F and PIC24_dsPIC Port

Posted by hollenweger on December 28, 2014

I thing that the ports for the PIC18F and the PIC24_dsPIC should have added the following:

#define portPOINTERSIZETYPE uint16_t

in portmacro.h

The data pointers of this two platforms are only 16 bits (not uint32_t as defined by default in FreeRTOS.h).

best regards

Martin


portPOINTER_SIZE_TYPE for PIC18F and PIC24_dsPIC Port

Posted by rtel on December 28, 2014

Hi - you are indeed correct - if (when in the case of the PIC24) those ports get updated the constant will be added. The current port layer pre-dates the constant being introduced - and the definition in FreeRTOS.h is only a catch-all to allow older ports to build.

The definition used in FreeRTOS.h will not cause you a problem, but will most probably result in a warning being output by the compiler.

Regards.


[ 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