Quality RTOS & Embedded Software

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




Loading

IAR -> Crossworks GCC (ISR)

Posted by Thomas on March 14, 2006
Hello Everybody,
<p>
I have a AT91SAM7S-EK Board, running FreeRTOS 3.2.4 (based on the lwIP_Demo_Rowley_ARM7) and
using Crossworks GCC.
<p>
Now I wanted to use the Serial-Files from
ARM7_AT91SAM7S64_IAR. Here my problems/questions:
<p>
- is it generally possible to port ISRs from IAR
with s79 Assembler Files to GCC?
<p>
- 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?
<p>
- serialISR.s79: how is the assembler directive
RSEG ICODE:CODE ported to GCC?
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...)

<p>
<p>
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.

<p>
Thanks in advance...

Thomas










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
Hello,

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.

Thomas


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




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists