Quality RTOS & Embedded Software

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


Loading

Question to portable.h

Posted by SimFr on October 13, 2008
Hi,

I ported the FreeRTOS to Freescales MPC5516 using the CodeWarrior IDE.

In portable.h I would like to include an entry like:

#ifdef MPC5516_CODEWARRIOR
#include "../../Source/portable/CodeWarrior/MPC5516/portmacro.h"
#endif

Where do I define MPC5516_CODEWARRIOR best? Is a define with

#ifndef MPC5516_CODEWARRIOR
#define MPC5516_CODEWARRIOR

okay?

Thank you very much.

Best regards,

SimFr


RE: Question to portable.h

Posted by Richard on October 13, 2008
The normal place to do it is within the project settings (in CodeWarrior), under pre-processor. You can add #define MPC5516_CODEWARRIOR. I think you could also place the definition in FreeRTOSConfig.h for the same effect.

I would very much like a copy of your port. Did you base it on the Xilinx PPC port? Could you send it to r (dot) barry =at= freertos.org - thanks.

Regards.

RE: Question to portable.h

Posted by SimFr on October 14, 2008
Thank you for your answer.

Of course, I will send you a copy of the port as soon as the port is done. I have to do some small adjustments, but the kernel and an interrupt handler is running on the MPC5516.

Best regards

SimFr


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


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

Latest News

Version 10.1.0 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