Question to portable.h

simfr wrote on Monday, October 13, 2008:


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

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

           #include "…/…/Source/portable/CodeWarrior/MPC5516/portmacro.h"

Where do I define MPC5516_CODEWARRIOR best? Is a define with



Thank you very much.

Best regards,


rtel wrote on Monday, 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= - thanks.


simfr wrote on Tuesday, 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