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] [February 2006 Threads] ISR calling in CPosted by Nobody/Anonymous on February 1, 2006 It is possible to write the ISR directly in C without writing the ISRentry in assembly (for the portSAVE_CONTEXT & portRESTORE_CONTEXT macros)?
RE: ISR calling in CPosted by Nobody/Anonymous on February 1, 2006 This depends on the compiler you are using.
If you look at the GCC ports you will see that they use an inline assembler to create macros and there are no separate asm files.
If you look at (for example) the IAR ports you will see that asm files are necessary as the inline assembler cannot access the C variables directly.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|