diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-10 11:29:42 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-10 11:29:42 +0000 |
commit | 87c1458bed09c4fbaa954c5cd60f23d920e80dd0 (patch) | |
tree | 34c79fb0d920959aed55c5b3d47f13c2855cdc25 /os/common/ports/ARM/devices | |
parent | 2fd2d1efb9a720b7e601123e5504730685e98557 (diff) | |
download | ChibiOS-87c1458bed09c4fbaa954c5cd60f23d920e80dd0.tar.gz ChibiOS-87c1458bed09c4fbaa954c5cd60f23d920e80dd0.tar.bz2 ChibiOS-87c1458bed09c4fbaa954c5cd60f23d920e80dd0.zip |
MISRAs on ARM port.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7748 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/ARM/devices')
-rw-r--r-- | os/common/ports/ARM/devices/LPC214x/armparams.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/common/ports/ARM/devices/LPC214x/armparams.h b/os/common/ports/ARM/devices/LPC214x/armparams.h index b57855e1c..05ce875ec 100644 --- a/os/common/ports/ARM/devices/LPC214x/armparams.h +++ b/os/common/ports/ARM/devices/LPC214x/armparams.h @@ -51,10 +51,14 @@ */
#define ARM_WFI_IMPL (PCON = 1)
+#if !defined(__FROM_ASM__) || defined(__DOXYGEN__)
/**
* @brief Address of the IRQ vector register in the interrupt controller.
*/
+#define ARM_IRQ_VECTOR_REG 0xFFFFF030U
+#else
#define ARM_IRQ_VECTOR_REG 0xFFFFF030
+#endif
#endif /* _ARMPARAMS_H_ */
|