aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/ARM/LPC214x/vectors.s
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-19 18:45:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-19 18:45:11 +0000
commit3ae01fd47b63b190ee6d7588d8721e8edad3d150 (patch)
treee8b51a08b93806101d3e59edab7a7fa484f716e3 /os/ports/GCC/ARM/LPC214x/vectors.s
parentd519ffda2aca7ce92f5f2ad554cdc52a7a7bdfe8 (diff)
downloadChibiOS-3ae01fd47b63b190ee6d7588d8721e8edad3d150.tar.gz
ChibiOS-3ae01fd47b63b190ee6d7588d8721e8edad3d150.tar.bz2
ChibiOS-3ae01fd47b63b190ee6d7588d8721e8edad3d150.zip
ARM7/9 port update, other improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2389 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/ARM/LPC214x/vectors.s')
-rw-r--r--os/ports/GCC/ARM/LPC214x/vectors.s31
1 files changed, 30 insertions, 1 deletions
diff --git a/os/ports/GCC/ARM/LPC214x/vectors.s b/os/ports/GCC/ARM/LPC214x/vectors.s
index 9f904ead9..6b0235c62 100644
--- a/os/ports/GCC/ARM/LPC214x/vectors.s
+++ b/os/ports/GCC/ARM/LPC214x/vectors.s
@@ -17,6 +17,29 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/**
+ * @file ARM/LPC214x/vectors.s
+ * @brief Interrupt vectors for the LPC214x family.
+ *
+ * @defgroup ARM_LPC214x_VECTORS LPC214x Interrupt Vectors
+ * @ingroup ARM_SPECIFIC
+ * @details Interrupt vectors for the LPC214x family.
+ * @{
+ */
+
+#if defined(__DOXYGEN__)
+/**
+ * @brief Unhandled exceptions handler.
+ * @details Any undefined exception vector points to this function by default.
+ * This function simply stops the system into an infinite loop.
+ *
+ * @notapi
+ */
+void _unhandled_exception(void) {}
+#endif
+
+#if !defined(__DOXYGEN__)
+
.section vectors
.code 32
.balign 4
@@ -68,4 +91,10 @@ AbortHandler:
.weak FiqHandler
FiqHandler:
-.loop: b .loop
+.global _unhandled_exception
+_unhandled_exception:
+ b _unhandled_exception
+
+#endif
+
+/** @} */