Hello at all,
I want to use FreeRTOS with the NXP LPC2468. On the website http://www.freertos.org exists only an example with the LPC2129 and Keil (look here "www.freertos.org/index.html://interactive.freertos.org/entries/156159-lpc23xx-port-with-keil-rv-compiler").
How can I use this example for the LPC2468? Exists there better examples?
How can I change the file "startup.s" and the port of FreeRTOS?
You do realize that your instructions make it impossible for application software to call any SWI functions except "vPortYieldProcessor", that is cause you map the vPortYieldProcessor to the SWI slow in the interrupt vector. Also, you can make the function that starts FreeRTOS a SWI function, simplifying the startup of the processor even further.
I meant to post "SWI slot" rather than "SWI slow".
Note that whether an application needs heap is very application specific (but you indicate that it is needed always, so it seems).
Also,
"When the main() starts, you are in supervisor mode and interrupts are disable. If you need to enable interrupts before calling vTaskStartScheduler() you need to call __enable_irq()."
If you enter main in user mode and then call a SWI to start FreeRTOS, this requirement is implicitly satisfied!