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?
I have solved it, as describe here: www.freertos.org/index.html://interactive.freertos.org/entries/156159-lpc23xx-port-with-keil-rv-compiler
But that's the same link that you referred to in your opening post!
What have you learned that now makes you say that link has the answer when, before, you said it didn't?!
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!
Yes thats correct it is the same link. I didn't set the HEAP_SIZE value as describing in the link. That was my failure.
Thanks for your answers.