Quality RTOS & Embedded Software

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


Loading

port.c from --Atmel-IAR-AtmelSAM9XE

Posted by ddement on September 23, 2009
I'm trying to clone the port.c from the AtmelSAM9XE folder as the basis for a SAM9260 system, but built with an older (4.20) IAR compiler.
I look at the prvSetupTimerInterrupt() code which uses the AIC_ConfigureIT() function to link the PIT interrupt to its handler. The handler is specified as vPortTickISR(). The comments in ISR code says it is called by a wrapper, but it sure doesn't look like that is how the AIC is set up. And I can't find a tick wrapper .s79 source file anywhere.
Can anyone please clarify - is this really correct?
Thank you.

RE: port.c from --Atmel-IAR-AtmelSAM9XE

Posted by MEdwards on September 23, 2009
IAR V5 using .s as the file extension, look for a file with .s rather that .s79.

RE: port.c from --Atmel-IAR-AtmelSAM9XE

Posted by ddement on September 23, 2009
Thank you - I did find the vectors and front end code which calls the C handler between the context save and restore. It makes sense with that code. I appreciate your help.


[ 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.1 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.


Careers

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

Renesas

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