Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
problem while compiling COOCOX RTOS with MBED
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
3 replies
Subscribers
126 subscribers
Views
2059 views
Users
0 members are here
Related
problem while compiling COOCOX RTOS with MBED
Offline
raphael bendel
over 7 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]
Offline
Jim ARM
over 7 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
Up
0
Down
View discussion
Cancel
Offline
Jim ARM
over 7 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
Up
0
Down
View discussion
Cancel
Offline
Simon Craske
over 7 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
Up
0
Down
View discussion
Cancel
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
Failed to read contents of Internal RAM L1-I_DATA in ARM DS
0
Arm Development Studio
Cache
Debug and Trace Services Layer (DTSL)
13457
views
23
replies
Latest
4 months ago
by
Boon Khai
Answered
DS-5 connect fail when cortex-r5 is in lock-step mode
+1
11225
views
10
replies
Latest
5 months ago
by
Stuart Hirons
Answered
On Cortex-M4F microcontrollers: is fixed point math faster or floating point?
+1
10775
views
10
replies
Latest
5 months ago
by
Ronan Synnott
Answered
Debugging kernel: OS support not working for Linux 5.4
+1
Kernel Developers
External Hardware Debug
Debugger
9649
views
5
replies
Latest
5 months ago
by
sgoldschmidt
Answered
DS-5 bare metal wait error after run "debug"
+1
DS-5 Development Studio
Debugging
Arm Compiler 5
Memory
32544
views
14
replies
Latest
5 months ago
by
prasadghole
<
>
View all questions in Arm Development Studio forum