summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc43xx/lpc43_config.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-04 17:59:16 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-04 17:59:16 +0000
commit876001162c43d26904d2ef2ac242e1267d3b5942 (patch)
treeafdac7876afe410da2da74a542b22cec254bbedb /nuttx/arch/arm/src/lpc43xx/lpc43_config.h
parent6e63518d400fabf1531c9fb5445382951e3fbb02 (diff)
downloadpx4-nuttx-876001162c43d26904d2ef2ac242e1267d3b5942.tar.gz
px4-nuttx-876001162c43d26904d2ef2ac242e1267d3b5942.tar.bz2
px4-nuttx-876001162c43d26904d2ef2ac242e1267d3b5942.zip
Progress of LPC43xx build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4904 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc43xx/lpc43_config.h')
-rw-r--r--nuttx/arch/arm/src/lpc43xx/lpc43_config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/lpc43_config.h b/nuttx/arch/arm/src/lpc43xx/lpc43_config.h
index a71fec94a..c969553cb 100644
--- a/nuttx/arch/arm/src/lpc43xx/lpc43_config.h
+++ b/nuttx/arch/arm/src/lpc43xx/lpc43_config.h
@@ -45,6 +45,19 @@
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
+
+/* Required configuration settings */
+
+/* There are two version of the FPU support built into the most NuttX Cortex-M4 ports.
+ * The current LPC43xx port support only one of these options, the "Non-Lazy Floating
+ * Point Register Save". As a consequence, CONFIG_ARMV7M_CMNVECTOR must be defined
+ * in *all* LPC43xx configuration files.
+ */
+
+#ifndef CONFIG_ARMV7M_CMNVECTOR
+# error "CONFIG_ARMV7M_CMNVECTOR must be defined for the LPC43xx"
+#endif
+
/* Are any UARTs enabled? */
#undef HAVE_UART