diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-13 23:37:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-13 23:37:52 +0000 |
commit | 2bdc64a2f96ff952826ad25aecd426f6788c7c31 (patch) | |
tree | fce7e1dbc3f08e5a77176beec2f13ace660be492 /nuttx/drivers/Kconfig | |
parent | e571e66c5de89d7c94c4bb69381da568e698787e (diff) | |
download | px4-nuttx-2bdc64a2f96ff952826ad25aecd426f6788c7c31.tar.gz px4-nuttx-2bdc64a2f96ff952826ad25aecd426f6788c7c31.tar.bz2 px4-nuttx-2bdc64a2f96ff952826ad25aecd426f6788c7c31.zip |
Add an upper half watchdog timer driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4604 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/Kconfig')
-rw-r--r-- | nuttx/drivers/Kconfig | 93 |
1 files changed, 92 insertions, 1 deletions
diff --git a/nuttx/drivers/Kconfig b/nuttx/drivers/Kconfig index e5148e6b4..e5fbd42d3 100644 --- a/nuttx/drivers/Kconfig +++ b/nuttx/drivers/Kconfig @@ -43,19 +43,110 @@ config RAMLOG config CAN bool "CAN support" default n + ---help--- + This selection enables building of the "upper-half" CAN driver. + See include/nuttx/can.h for further CAN driver information. + +if CAN +config CONFIG_CAN_EXTID + bool "CAN extended IDs" + default n + ---help--- + Enables support for the 29-bit extended ID. Default Standard 11-bit IDs. + +config CONFIG_CAN_FIFOSIZE + int "CAN driver I/O buffer size" + default 8 + ---help--- + The size of the circular buffer of CAN messages. Default: 8 + +config CONFIG_CAN_NPENDINGRTR + int "Number of pending RTRs" + default 4 + ---help--- + The size of the list of pending RTR requests. Default: 4 + +config CONFIG_CAN_LOOPBACK + bool "CAN extended IDs" + default n + ---help--- + A CAN driver may or may not support a loopback mode for testing. If the + driver does support loopback mode, the setting will enable it. (If the + driver does not, this setting will have no effect). + +endif config PWM bool "PWM support" default n + ---help--- + This selection enables building of the "upper-half" PWM driver. + See include/nuttx/pwm.h for further PWM driver information. + +if PWM +config PWM_PULSECOUNT + bool "PWM pulse count support" + default n + ---help--- + Some hardware will support generation of a fixed number of pulses. This + might be used, for example to support a stepper motor. If the hardware + will support a fixed pulse count, then this configuration should be set to + enable the capability. + +endif config I2C bool "I2C support" default y + ---help--- + This selection enables building of the "upper-half" I2C driver. + See include/nuttx/i2c.h for further I2C driver information. + +if I2C +endif config SPI bool "SPI support" default y - + ---help--- + This selection enables building of the "upper-half" SPI driver. + See include/nuttx/spi.h for further SPI driver information. + +if SPI +config SPI_OWNBUS + bool "SPI single device" + default y + ---help--- + Set if there is only one active device on the SPI bus. No locking or SPI + configuration will be performed. It is not necessary for clients to lock, + re-configure, etc.. + +config SPI_EXCHANGE + bool "SPI exchange" + default y + ---help--- + Driver supports a single exchange method (vs a recvblock() and sndblock ()methods). + +config SPI_CMDDATA + bool "SPI CMD/DATA" + default y + ---help--- + Devices on the SPI bus require out-of-band support to distinguish command + transfers from data transfers. Such devices will often support either 9-bit + SPI (yech) or 8-bit SPI and a GPIO output that selects between command and data. + +endif + +config WATCHDOG + bool "Watchdog timer support" + default y + ---help--- + This selection enables building of the "upper-half" watchdog timer driver. + See include/nuttx/watchdog.h for further watchdog timer driver information. + +if WATCHDOG +endif + menuconfig ANALOG bool "Analog Device(adc,dac) support" default n |