summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/include/arch.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-10-04 18:22:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-10-04 18:22:50 +0000
commitdab64ea9509bc5a195a224660bf4564775301438 (patch)
treeec7cb4bb67b0725f34e14ad6dada121ea7881a42 /nuttx/arch/arm/include/arch.h
parent365ffcd212b8836b7dce5ec21ea4205148bc85e5 (diff)
downloadpx4-nuttx-dab64ea9509bc5a195a224660bf4564775301438.tar.gz
px4-nuttx-dab64ea9509bc5a195a224660bf4564775301438.tar.bz2
px4-nuttx-dab64ea9509bc5a195a224660bf4564775301438.zip
RIDE uses pre-built NuttX start file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2121 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/include/arch.h')
-rw-r--r--nuttx/arch/arm/include/arch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/arch/arm/include/arch.h b/nuttx/arch/arm/include/arch.h
index 88c0706db..426f4b959 100644
--- a/nuttx/arch/arm/include/arch.h
+++ b/nuttx/arch/arm/include/arch.h
@@ -44,10 +44,14 @@
* Included Files
****************************************************************************/
+#include <nuttx/config.h>
+
/****************************************************************************
* Definitions
****************************************************************************/
+#ifdef CONFIG_PIC
+
/* This identifies the register the is used by the processor as the PIC base
* register. It is usually r9 or r10
*/
@@ -82,6 +86,7 @@ do { \
); \
} while (0)
+#endif
/****************************************************************************
* Inline functions