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


ARM7_AT91SAM7S64_IAR demo function file locat

Posted by Allure99 on July 4, 2007

I am Using AT91sam7x-ek and rowley compiler.
Try with the IwIP_Demo_Rowley_ARM7 and it is working.

Trying to get UART work by porting the serial example from IAR(ARM7_AT91SAM7S64_IAR).

q1. where and whats is the file name of following function


q2.I can manage to get the Serial ISR working, probably flowwing file have not been converted properly. can anyone help to make it for Rowley GCC At91sam7x?

/* Enable the interrupts in the AIC. */
AT91F_AIC_ConfigureIt( AT91C_BASE_AIC, AT91C_ID_US0, serINTERRUPT_LEVEL, AT91C_AIC_SRCTYPE_INT_LEVEL_SENSITIVE, ( void (*)( void ) ) vSerialISREntry );


VICIntSelect &= ~( serUART0_VIC_CHANNEL_BIT );
VICVectAddr1 = ( portLONG ) vUART_ISR;

many thanks

RE: ARM7_AT91SAM7S64_IAR demo function file locat

Posted by embeddedc on July 4, 2007
A1. These are library functions and macros that are provided by Atmel. Look for the files lib_AT91SAM7X256.h, AT91SAM7X256.h and ioat91sam7x256.h in the FreeRTOS zip file.

A1. The serial drivers for the SAM7 are very clunky. It is much faster to use the PDC attached to the serial port then let the processor take the strain. Other than that, I would suggest looking at one of the Rowley ISR functions to copy the required syntax [ __attribute__(("naked")) and all that GCC specific stuff), then the IAR serial function to copy the required source code, and combine the two. Not sure if this is answering your question though.

[ 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