port st ARM7 with ride - answer

nobody wrote on Wednesday, February 22, 2006:

here is the code of the task :

static void Task_wake_up(void *p)
{
const portTickType xDelayPeriod =20;
portTickType xLastWakeTime;

xLastWakeTime=xTaskGetTickCount();

for(;:wink:
{
GPIO_BitWrite(GPIO1,8,~GPIO_BitRead(GPIO1,8));
vTaskDelayUntil(&xLastWakeTime,xDelayPeriod );
}

}

We have a RAISONNANCE evaluation board which is using RIDE development.
In IAR how to use ARM code for the task? Only to change the portINITIAL_SPSR is enough?

thanks

nobody wrote on Wednesday, February 22, 2006:

The GCC LPC2106 and the Keil LPC demos can be built for both ARM and THUMB.  If you look at the batch files ROM_THUMB.bat and ROM_ARM.bat in the GCC LPC directory you will see what it does to switch between the two.

I think also if you search this forum you will find other information on this.