FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [July 2005 Threads] WEB Server Demo on LPC2106 with IAR compilerPosted by Nobody/Anonymous on July 28, 2005 Hi, i´m trying to compile the WEB Server Demo with the IAR compiler. Has anybody success in doing this? For example this GCC function:
void vI2C_ISR( void ) __attribute__ (( naked ));
How can i convert it to IAR syntax? Has anybody made the LPC2106 port for the IAR compiler? Any help is appreciated.
Mathew
RE: WEB Server Demo on LPC2106 with IAR compilerPosted by Richard on July 28, 2005 There will be a new WEB server demo (not for the same hardware) that uses the IAR compiler released at the beginning of October. Also there is currently an IAR LPC2000 port in progress, but as yet no release date.
Both of these facts don't help you now of coarse :-)
The IAR compiler has limited inline assembly capabilities, and has no equivalent to the naked attribute. Both these facts mean that unfortunately ISR's require assembly file wrappers. These are however very simple. The IAR SAM7 port can be used as an example:
Take a look at the files:
Source\portable\IAR\AtmelSAM7S64\portasm.s79 Source\portable\IAR\AtmelSAM7S64\ISR_Support.h Source\portable\IAR\AtmelSAM7S64\port.c
for examples for the port files, and
Demo\ARM7_AT91SAM7S64_IAR\serial\serial.c Demo\ARM7_AT91SAM7S64_IAR\serial\serialISR.s79
for an example of a simple ISR wrapper.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|