summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authordzzxzz <[email protected]>2011-07-02 08:03:25 +0000
committerdzzxzz <[email protected]>2011-07-02 08:03:25 +0000
commit903ee8b425ba878d79e47ce05e2fcde409a533df (patch)
treeb1beac3ab720a538f6a03c6edbb02cb13705d3e9 /libcpu
parentd5acd9ac985cd17ee4556ea2f0b9a7e02f47528a (diff)
FM3 support GCC compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1582 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/fm3/start_gcc.S10
1 files changed, 3 insertions, 7 deletions
diff --git a/libcpu/arm/fm3/start_gcc.S b/libcpu/arm/fm3/start_gcc.S
index 367f728af6..59993aea2a 100644
--- a/libcpu/arm/fm3/start_gcc.S
+++ b/libcpu/arm/fm3/start_gcc.S
@@ -141,11 +141,7 @@ g_pfnVectors:
.word MFS0TX_IRQHandler
.word MFS1RX_IRQHandler
.word MFS1TX_IRQHandler
-#ifdef RT_USING_UART2
- .word MFS2RX_IRQHandler ; MultiFunction Serial ch.2
-#else
- .word NULL_IRQHandler
-#endif
+ .word MFS2RX_IRQHandler
.word MFS2TX_IRQHandler
.word MFS3RX_IRQHandler
.word MFS3TX_IRQHandler
@@ -242,8 +238,8 @@ g_pfnVectors:
.weak MFS1TX_IRQHandler
.thumb_set MFS1TX_IRQHandler,Default_Handler
- .weak NULL_IRQHandler
- .thumb_set NULL_IRQHandler,Default_Handler
+ .weak MFS2RX_IRQHandler
+ .thumb_set MFS2RX_IRQHandler,Default_Handler
.weak MFS2TX_IRQHandler
.thumb_set MFS2TX_IRQHandler,Default_Handler