Quality RTOS & Embedded Software

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


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 ]    [ Privacy ]    [ Sitemap ]    [ ]


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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner