Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
problem while compiling COOCOX RTOS with MBED
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
3261 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
problem while compiling COOCOX RTOS with MBED
raphael bendel
over 12 years ago
Note: This was originally posted on 30th November 2010 at
http://forums.arm.com
[indent]hello everybody!
I'm having problem with Coos RTOS with Mbed. Is there anybody who can tell me if i can redefine an exception handler that is previously defined in startup_LPC17xx.c?
I'm talking about PendSV_Handler(). How can i know how it is defined in Mbed? As we don't have the startup_LPC17xx.c file.
In fact i saw that it is originally defined as default handler i.e. an infinite loop. So maybe with Mbed, we couldn't redefine this handler (because it is already compiled: startup_LPC17xx.o already included) and that's why i'm blocked in my application while it makes a switch context. This is my assumption...
I guess we cannot redefine a function once it has already been compiled in an other file? Or the linker should give at least a warning message...But it doesn't...
Many thanks
Bye
[/indent]
Jim ARM
over 12 years ago
Note: This was originally posted on 11th December 2010 at
http://forums.arm.com
Maybe you could get the answer from CooCox Forum!
Cancel
Vote up
0
Vote down
Cancel
Jim ARM
over 12 years ago
Note: This was originally posted on 11th December 2010 at
http://forums.arm.com
Maybe you could get the answer from
CooCox Forum
!
Cancel
Vote up
0
Vote down
Cancel
Simon Craske
over 12 years ago
Note: This was originally posted on 30th November 2010 at
http://forums.arm.com
I believe the default handlers are only weakly defined, so simply redefining PendSV_Handler() should be sufficient for the linker to favour your definition.
More information on this can be found on the MBed forum:
http://mbed.org/forum/
hth
s.
Cancel
Vote up
0
Vote down
Cancel