summaryrefslogtreecommitdiff
path: root/nuttx/configs/lpc4330-xplorer/ostest/defconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-05 22:38:12 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-05 22:38:12 +0000
commit6a40832bcdd0acbfa1aa6b6c93b36dfeab5f4623 (patch)
tree1eeeac080c7d4b884783b573a1a2c7597d44ec0e /nuttx/configs/lpc4330-xplorer/ostest/defconfig
parent6410d604c730db2e581993ff8854ec7a939a89d5 (diff)
downloadpx4-nuttx-6a40832bcdd0acbfa1aa6b6c93b36dfeab5f4623.tar.gz
px4-nuttx-6a40832bcdd0acbfa1aa6b6c93b36dfeab5f4623.tar.bz2
px4-nuttx-6a40832bcdd0acbfa1aa6b6c93b36dfeab5f4623.zip
Add LPC43 clock initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4910 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/lpc4330-xplorer/ostest/defconfig')
-rw-r--r--nuttx/configs/lpc4330-xplorer/ostest/defconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/nuttx/configs/lpc4330-xplorer/ostest/defconfig b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
index bd894902d..848c43eac 100644
--- a/nuttx/configs/lpc4330-xplorer/ostest/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/ostest/defconfig
@@ -97,6 +97,31 @@ CONFIG_ARCH_DMA=n
CONFIG_ARMV7M_CMNVECTOR=y
#
+# CONFIG_BOOT_xxx - The startup code needs to know if the code is running
+# from internal FLASH, external FLASH, SPIFI, or SRAM in order to
+# initialize properly. Note that a boot device is not specified for
+# cases where the code is copied into SRAM; those cases are all covered
+# by CONFIG_BOOT_SRAM.
+#
+# CONFIG_BOOT_SRAM=y : Running from SRAM (0x1000:0000)
+# CONFIG_BOOT_SPIFI=y : Running from QuadFLASH (0x1400:0000)
+# CONFIG_BOOT_FLASHA=y : Running in internal FLASHA (0x1a00:0000)
+# CONFIG_BOOT_FLASHB=y : Running in internal FLASHA (0x1b00:0000)
+# CONFIG_BOOT_CS0FLASH=y : Running in external FLASH CS0 (0x1c00:0000)
+# CONFIG_BOOT_CS1FLASH=y : Running in external FLASH CS1 (0x1d00:0000)
+# CONFIG_BOOT_CS2FLASH=y : Running in external FLASH CS2 (0x1e00:0000)
+# CONFIG_BOOT_CS3FLASH=y : Running in external FLASH CS3 (0x1f00:0000)
+#
+CONFIG_BOOT_SRAM=y
+CONFIG_BOOT_SPIFI=n
+CONFIG_BOOT_FLASHA=n
+CONFIG_BOOT_FLASHB=n
+CONFIG_BOOT_CS0FLASH=n
+CONFIG_BOOT_CS1FLASH=n
+CONFIG_BOOT_CS2FLASH=n
+CONFIG_BOOT_CS3FLASH=n
+
+#
# Identify toolchain and linker options
#
CONFIG_LPC43_CODESOURCERYW=y