LPC17xx Kconfig looks good
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5099 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
ac3fe6a4ba
commit
2adee9fd7a
@ -142,7 +142,7 @@ config ARCH_CHIP
|
|||||||
default "imx" if ARCH_CHIP_IMX
|
default "imx" if ARCH_CHIP_IMX
|
||||||
default "kinetis" if ARCH_CHIP_KINETIS
|
default "kinetis" if ARCH_CHIP_KINETIS
|
||||||
default "lm3s" if ARCH_CHIP_LM3S
|
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 "lpc214x" if ARCH_CHIP_LPC214X
|
||||||
default "lpc2378" if ARCH_CHIP_LPC2378
|
default "lpc2378" if ARCH_CHIP_LPC2378
|
||||||
default "lpc31xx" if ARCH_CHIP_LPC31XX
|
default "lpc31xx" if ARCH_CHIP_LPC31XX
|
||||||
@ -171,7 +171,7 @@ config ARCH_IRQPRIO
|
|||||||
---help---
|
---help---
|
||||||
Select if your board supports interrupt prioritization.
|
Select if your board supports interrupt prioritization.
|
||||||
|
|
||||||
config ARCH_LOOPSPERMSEC
|
config BOARD_LOOPSPERMSEC
|
||||||
int "Delay loops per millisecond"
|
int "Delay loops per millisecond"
|
||||||
default 5000
|
default 5000
|
||||||
---help---
|
---help---
|
||||||
@ -183,8 +183,8 @@ config ARCH_CALIBRATION
|
|||||||
---help---
|
---help---
|
||||||
Enables some built in instrumentation that causes a 100 second delay
|
Enables some built in instrumentation that causes a 100 second delay
|
||||||
during boot-up. This 100 second delay serves no purpose other than it
|
during boot-up. This 100 second delay serves no purpose other than it
|
||||||
allows you to calibratre ARCH_LOOPSPERMSEC. You simply use a stop
|
allows you to calibratre BOARD_LOOPSPERMSEC. You simply use a stop
|
||||||
watch to measure the 100 second delay then adjust ARCH_LOOPSPERMSEC until
|
watch to measure the 100 second delay then adjust BOARD_LOOPSPERMSEC until
|
||||||
the delay actually is 100 seconds.
|
the delay actually is 100 seconds.
|
||||||
|
|
||||||
if ARCH_CHIP_C5471
|
if ARCH_CHIP_C5471
|
||||||
|
@ -54,6 +54,31 @@ config ARCH_FAMILY_LPC176X
|
|||||||
bool
|
bool
|
||||||
default y if ARCH_CHIP_LPC1764 || ARCH_CHIP_LPC1765 || ARCH_CHIP_LPC1766 || ARCH_CHIP_LPC1767 || ARCH_CHIP_LPC1768 || ARCH_CHIP_LPC1769
|
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"
|
menu "LPC17xx Peripheral Support"
|
||||||
|
|
||||||
config LPC17_MAINOSC
|
config LPC17_MAINOSC
|
||||||
@ -290,7 +315,7 @@ config CAN2_BAUD
|
|||||||
int "CAN2 BAUD"
|
int "CAN2 BAUD"
|
||||||
depends on LPC17_CAN2
|
depends on LPC17_CAN2
|
||||||
---help---
|
---help---
|
||||||
CAN2 BAUD rate. Required if CONFIG_LPC17_CAN2 is defined.
|
CAN2 BAUD rate. Required if LPC17_CAN2 is defined.
|
||||||
|
|
||||||
config CAN1_DIVISOR
|
config CAN1_DIVISOR
|
||||||
int "CAN1 CCLK divisor"
|
int "CAN1 CCLK divisor"
|
||||||
@ -345,7 +370,7 @@ config CAN_REGDEBUG
|
|||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config CONFIG_GPIO_IRQ
|
config GPIO_IRQ
|
||||||
bool "GPIO interrupt support"
|
bool "GPIO interrupt support"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
|
@ -47,7 +47,7 @@ config ARCH_IRQPRIO
|
|||||||
---help---
|
---help---
|
||||||
Select if your board supports interrupt prioritization.
|
Select if your board supports interrupt prioritization.
|
||||||
|
|
||||||
config ARCH_LOOPSPERMSEC
|
config BOARD_LOOPSPERMSEC
|
||||||
int "Delay loops per millisecond"
|
int "Delay loops per millisecond"
|
||||||
default 5000
|
default 5000
|
||||||
---help---
|
---help---
|
||||||
@ -59,8 +59,8 @@ config ARCH_CALIBRATION
|
|||||||
---help---
|
---help---
|
||||||
Enables some built in instrumentation that causes a 100 second delay
|
Enables some built in instrumentation that causes a 100 second delay
|
||||||
during boot-up. This 100 second delay serves no purpose other than it
|
during boot-up. This 100 second delay serves no purpose other than it
|
||||||
allows you to calibratre ARCH_LOOPSPERMSEC. You simply use a stop
|
allows you to calibratre BOARD_LOOPSPERMSEC. You simply use a stop
|
||||||
watch to measure the 100 second delay then adjust ARCH_LOOPSPERMSEC until
|
watch to measure the 100 second delay then adjust BOARD_LOOPSPERMSEC until
|
||||||
the delay actually is 100 seconds.
|
the delay actually is 100 seconds.
|
||||||
|
|
||||||
source arch/mips/src/common/Kconfig
|
source arch/mips/src/common/Kconfig
|
||||||
|
@ -11,7 +11,7 @@ config DEV_NULL
|
|||||||
|
|
||||||
config DEV_ZERO
|
config DEV_ZERO
|
||||||
bool "Enable /dev/zero"
|
bool "Enable /dev/zero"
|
||||||
default y
|
default n
|
||||||
|
|
||||||
config LOOP
|
config LOOP
|
||||||
bool "Enable loop device"
|
bool "Enable loop device"
|
||||||
@ -86,7 +86,7 @@ endif
|
|||||||
|
|
||||||
config I2C
|
config I2C
|
||||||
bool "I2C support"
|
bool "I2C support"
|
||||||
default y
|
default n
|
||||||
---help---
|
---help---
|
||||||
This selection enables building of the "upper-half" I2C driver.
|
This selection enables building of the "upper-half" I2C driver.
|
||||||
See include/nuttx/i2c.h for further I2C driver information.
|
See include/nuttx/i2c.h for further I2C driver information.
|
||||||
@ -96,7 +96,7 @@ endif
|
|||||||
|
|
||||||
config SPI
|
config SPI
|
||||||
bool "SPI support"
|
bool "SPI support"
|
||||||
default y
|
default n
|
||||||
---help---
|
---help---
|
||||||
This selection enables building of the "upper-half" SPI driver.
|
This selection enables building of the "upper-half" SPI driver.
|
||||||
See include/nuttx/spi.h for further SPI driver information.
|
See include/nuttx/spi.h for further SPI driver information.
|
||||||
@ -128,7 +128,7 @@ endif
|
|||||||
|
|
||||||
config WATCHDOG
|
config WATCHDOG
|
||||||
bool "Watchdog timer support"
|
bool "Watchdog timer support"
|
||||||
default y
|
default n
|
||||||
---help---
|
---help---
|
||||||
This selection enables building of the "upper-half" watchdog timer driver.
|
This selection enables building of the "upper-half" watchdog timer driver.
|
||||||
See include/nuttx/watchdog.h for further watchdog timer driver information.
|
See include/nuttx/watchdog.h for further watchdog timer driver information.
|
||||||
@ -164,7 +164,7 @@ endif
|
|||||||
|
|
||||||
menuconfig INPUT
|
menuconfig INPUT
|
||||||
bool "Input device support"
|
bool "Input device support"
|
||||||
default y
|
default n
|
||||||
---help---
|
---help---
|
||||||
This directory holds implementations of input device drivers.
|
This directory holds implementations of input device drivers.
|
||||||
This includes such things as touchscreen and keypad drivers.
|
This includes such things as touchscreen and keypad drivers.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user