port st ARM7 with ride – answer
here is the code of the task :
static void Task_wake_up(void *p)
{
const portTickType xDelayPeriod =20;
portTickType xLastWakeTime;
xLastWakeTime=xTaskGetTickCount();
for(;;)
{
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
port st ARM7 with ride – answer
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.