Quality RTOS & Embedded Software

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


IAR -> Crossworks GCC (ISR)

Posted by Thomas on March 14, 2006
Hello Everybody,
I have a AT91SAM7S-EK Board, running FreeRTOS 3.2.4 (based on the lwIP_Demo_Rowley_ARM7) and
using Crossworks GCC.
Now I wanted to use the Serial-Files from
ARM7_AT91SAM7S64_IAR. Here my problems/questions:
- is it generally possible to port ISRs from IAR
with s79 Assembler Files to GCC?
- serial.c seems to work, except the function
__arm void vSerialISR( void ) - for this I made
a own file which is compiled in arm mode?
- serialISR.s79: how is the assembler directive
I tryed .section icode:code and
.section icode, "ax" and many others...
Some are linked, some not, but none of them
work on the SAM7S (he is hanging up...)

I know there are some other ways the implement the serial interface to the SAM7S with GCC (like ARM7_AT91FR40008_GCC), but I want to know if its possible to use IAR Code with GCC.

Thanks in advance...


RE: IAR -> Crossworks GCC (ISR)

Posted by Nobody/Anonymous on March 14, 2006
GCC does not require an assembly file wrapper as per the iar demo.

You need to combine the gcc and iar code. The functionality from the IAR source code to work the uart, with the syntax from another GCC port.

You can take the syntax required from the 40008 demo as you say.

RE: IAR -> Crossworks GCC (ISR)

Posted by Thomas on March 15, 2006

thanks for the information.

You are right. Its rubbish to use an assembly file wrapper if its not necessary.
I have now a working version built from the 40008 demo and the IAR demo.


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

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

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

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

Xilinx Microblaze and Zynq partner