summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-05 21:36:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-05 21:36:03 +0000
commit26e1787a9bccfb9e301cbdceb70f838df158c7c7 (patch)
treeeebae672b6f91ac0dbc25a1d07560fea5d5e385a /nuttx/arch
parentba5ec0904634e0b65c509dce5aec11a58369538f (diff)
downloadpx4-nuttx-26e1787a9bccfb9e301cbdceb70f838df158c7c7.tar.gz
px4-nuttx-26e1787a9bccfb9e301cbdceb70f838df158c7c7.tar.bz2
px4-nuttx-26e1787a9bccfb9e301cbdceb70f838df158c7c7.zip
LPC17xx Kconfig looks good
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5099 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/arm/Kconfig8
-rw-r--r--nuttx/arch/arm/src/lpc17xx/Kconfig29
-rw-r--r--nuttx/arch/mips/Kconfig6
3 files changed, 34 insertions, 9 deletions
diff --git a/nuttx/arch/arm/Kconfig b/nuttx/arch/arm/Kconfig
index 81bf83360..e6b195aff 100644
--- a/nuttx/arch/arm/Kconfig
+++ b/nuttx/arch/arm/Kconfig
@@ -142,7 +142,7 @@ config ARCH_CHIP
default "imx" if ARCH_CHIP_IMX
default "kinetis" if ARCH_CHIP_KINETIS
default "lm3s" if ARCH_CHIP_LM3S
- default "lpc17x" if ARCH_CHIP_LPC17XX
+ default "lpc17xx" if ARCH_CHIP_LPC17XX
default "lpc214x" if ARCH_CHIP_LPC214X
default "lpc2378" if ARCH_CHIP_LPC2378
default "lpc31xx" if ARCH_CHIP_LPC31XX
@@ -171,7 +171,7 @@ config ARCH_IRQPRIO
---help---
Select if your board supports interrupt prioritization.
-config ARCH_LOOPSPERMSEC
+config BOARD_LOOPSPERMSEC
int "Delay loops per millisecond"
default 5000
---help---
@@ -183,8 +183,8 @@ config ARCH_CALIBRATION
---help---
Enables some built in instrumentation that causes a 100 second delay
during boot-up. This 100 second delay serves no purpose other than it
- allows you to calibratre ARCH_LOOPSPERMSEC. You simply use a stop
- watch to measure the 100 second delay then adjust ARCH_LOOPSPERMSEC until
+ allows you to calibratre BOARD_LOOPSPERMSEC. You simply use a stop
+ watch to measure the 100 second delay then adjust BOARD_LOOPSPERMSEC until
the delay actually is 100 seconds.
if ARCH_CHIP_C5471
diff --git a/nuttx/arch/arm/src/lpc17xx/Kconfig b/nuttx/arch/arm/src/lpc17xx/Kconfig
index e8070b692..108579b3e 100644
--- a/nuttx/arch/arm/src/lpc17xx/Kconfig
+++ b/nuttx/arch/arm/src/lpc17xx/Kconfig
@@ -54,6 +54,31 @@ config ARCH_FAMILY_LPC176X
bool
default y if ARCH_CHIP_LPC1764 || ARCH_CHIP_LPC1765 || ARCH_CHIP_LPC1766 || ARCH_CHIP_LPC1767 || ARCH_CHIP_LPC1768 || ARCH_CHIP_LPC1769
+choice
+ prompt "Toolchain Selection"
+ default LPC17_CODESOURCERYW
+ depends on ARCH_CHIP_LPC17XX
+
+config LPC17_CODESOURCERYW
+ bool "CodeSourcery for Windows"
+
+config LPC17_CODESOURCERYL
+ bool "CodeSourcery for Linux"
+
+config LPC17_DEVKITARM
+ bool "DevkitARM (Windows)"
+
+config LPC17_BUILDROOT
+ bool "NuttX buildroot (Cygwin or Linux)"
+
+config LPC17_CODEREDW
+ bool "CodeRed for Windows"
+
+config LPC17_CODEREDL
+ bool "CodeRed for Windows"
+
+endchoice
+
menu "LPC17xx Peripheral Support"
config LPC17_MAINOSC
@@ -290,7 +315,7 @@ config CAN2_BAUD
int "CAN2 BAUD"
depends on LPC17_CAN2
---help---
- CAN2 BAUD rate. Required if CONFIG_LPC17_CAN2 is defined.
+ CAN2 BAUD rate. Required if LPC17_CAN2 is defined.
config CAN1_DIVISOR
int "CAN1 CCLK divisor"
@@ -345,7 +370,7 @@ config CAN_REGDEBUG
endmenu
-config CONFIG_GPIO_IRQ
+config GPIO_IRQ
bool "GPIO interrupt support"
default n
---help---
diff --git a/nuttx/arch/mips/Kconfig b/nuttx/arch/mips/Kconfig
index 001d03228..0d34ac2c8 100644
--- a/nuttx/arch/mips/Kconfig
+++ b/nuttx/arch/mips/Kconfig
@@ -47,7 +47,7 @@ config ARCH_IRQPRIO
---help---
Select if your board supports interrupt prioritization.
-config ARCH_LOOPSPERMSEC
+config BOARD_LOOPSPERMSEC
int "Delay loops per millisecond"
default 5000
---help---
@@ -59,8 +59,8 @@ config ARCH_CALIBRATION
---help---
Enables some built in instrumentation that causes a 100 second delay
during boot-up. This 100 second delay serves no purpose other than it
- allows you to calibratre ARCH_LOOPSPERMSEC. You simply use a stop
- watch to measure the 100 second delay then adjust ARCH_LOOPSPERMSEC until
+ allows you to calibratre BOARD_LOOPSPERMSEC. You simply use a stop
+ watch to measure the 100 second delay then adjust BOARD_LOOPSPERMSEC until
the delay actually is 100 seconds.
source arch/mips/src/common/Kconfig