Quality RTOS & Embedded Software

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


Loading

Is valid to modify the port file?

Posted by Marcelo Adrian Lorenzati Sanz on May 26, 2008
Is valid for FreeRtoS project to modify the port.c file?

I'm using at the moment the PIC18F port.
I'm asking that because I have developments that needs a different SW/HW config and the provided for the port assumes that I need to use Serial communication and the CCP1 for Tick generation.
If I want to use as example Timer 0 for Tick generation and no serial com (e.g.:maybe I need the pins for other stuff) is licit to modify it? or there's a way to get around it?

Best Regards.

RE: Is valid to modify the port file?

Posted by Richard on May 26, 2008
You have the source code so you can do as you wish. Ideally the port layer would remain untouched, but this is not always realistic. You could make prvSetupTimerInterrupt() a callback function into the application so the application decides how the tick is to be generated.

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