Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

port st ARM7 with ride - answer

Posted by Nobody/Anonymous on 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(;;)
{
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

RE: port st ARM7 with ride - answer

Posted by Nobody/Anonymous on 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.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS