lpc2292 GCC porting

Hi, I’d try to port freertos to a custom lpc2292 with GCC. If I’m compiling the KEIL demo, It’s working. I’ve modified the linker script,( RAM,ROM size), and the stack size in the FreeRTOS.h (to 14025) according to my proc, but it doesn’t working. I’ve just uart, no JTAG. If I’m placing some UART0_THR=’x’; for debug  to the main(), I see the characters, but the strange thing is I see a character after calling vTaskStartScheduler(); !?! So I thing the problem is somewhere the timer or interrupt setup. All other thing is from lpc2106 demo. Any idea? Kind Regards, Andrew

lpc2292 GCC porting

Normally if the vTaskStartScheduler() function returns it means the scheduler is unable to create the idle task.  This is normally because there is not enough memory on the heap for it. How many other tasks are you creating?

lpc2292 GCC porting

I’m compiled the original lpc2106 demo, so vStartIntegerMathTasks() vAltStartComTestTasks(); vStartLEDFlashTasks(); vStartPolledQueueTasks(); vStartMathTasks(); vStartSemaphoreTasks(); vStartDynamicPriorityTasks(); vStartBlockingQueueTasks(); I’ll try to comment out some of them. Regards, Andrew

lpc2292 GCC porting

oh yes, it works now! Thanks, Andrew