2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2013-01-24 17:28:15 +01:00
|
|
|
config DISABLE_POLL
|
|
|
|
bool "Disable driver poll interfaces"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The sizes of drivers can be reduced if the poll() method is not
|
|
|
|
supported. If you do not use poll() or select(), then you can
|
|
|
|
select DISABLE_POLL to reduce the code footprint by a small amount.
|
|
|
|
|
2015-12-02 12:30:52 +01:00
|
|
|
This selection disables the poll() interface as well as interfaces
|
|
|
|
the derive from poll() such as select().
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEV_NULL
|
|
|
|
bool "Enable /dev/null"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config DEV_ZERO
|
|
|
|
bool "Enable /dev/zero"
|
2012-09-05 23:36:03 +02:00
|
|
|
default n
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2012-09-29 22:34:25 +02:00
|
|
|
config ARCH_HAVE_RNG
|
|
|
|
bool
|
|
|
|
|
2013-10-22 23:47:52 +02:00
|
|
|
config DEV_RANDOM
|
2012-09-29 22:34:25 +02:00
|
|
|
bool "Enable /dev/random"
|
2016-03-30 15:58:09 +02:00
|
|
|
default y
|
2012-09-29 22:34:25 +02:00
|
|
|
depends on ARCH_HAVE_RNG
|
|
|
|
|
2015-11-25 23:23:19 +01:00
|
|
|
source drivers/loop/Kconfig
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2014-07-12 00:25:35 +02:00
|
|
|
menu "Buffering"
|
|
|
|
|
2014-07-11 19:20:11 +02:00
|
|
|
config DRVR_WRITEBUFFER
|
|
|
|
bool "Enable write buffer support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable generic write buffering support that can be used by a variety
|
|
|
|
of drivers.
|
|
|
|
|
|
|
|
if DRVR_WRITEBUFFER
|
|
|
|
|
|
|
|
config DRVR_WRDELAY
|
|
|
|
int "Write flush delay"
|
|
|
|
default 350
|
|
|
|
---help---
|
|
|
|
If there is no write activity for this configured amount of time,
|
|
|
|
then the contents will be automatically flushed to the media. This
|
|
|
|
reduces the likelihood that data will be stuck in the write buffer
|
|
|
|
at the time of power down.
|
|
|
|
|
|
|
|
endif # DRVR_WRITEBUFFER
|
|
|
|
|
|
|
|
config DRVR_READAHEAD
|
|
|
|
bool "Enable read-ahead buffer support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable generic read-ahead buffering support that can be used by a
|
|
|
|
variety of drivers.
|
|
|
|
|
2014-07-12 00:19:17 +02:00
|
|
|
if DRVR_WRITEBUFFER || DRVR_READAHEAD
|
|
|
|
|
|
|
|
config DRVR_READBYTES
|
|
|
|
bool "Support byte read method"
|
|
|
|
default y if MTD_BYTE_WRITE
|
|
|
|
default n if !MTD_BYTE_WRITE
|
|
|
|
|
|
|
|
config DRVR_REMOVABLE
|
|
|
|
bool "Support removable media"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config DRVR_INVALIDATE
|
|
|
|
bool "Support cache invalidation"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endif # DRVR_WRITEBUFFER || DRVR_READAHEAD
|
|
|
|
|
2014-07-12 00:25:35 +02:00
|
|
|
endmenu # Buffering
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config RAMDISK
|
2012-09-11 00:26:37 +02:00
|
|
|
bool "RAM Disk Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Can be used to set up a block of memory or (read-only) FLASH as
|
|
|
|
a block driver that can be mounted as a files system. See
|
2013-12-10 16:42:58 +01:00
|
|
|
include/nuttx/fs/ramdisk.h.
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2012-09-11 18:50:16 +02:00
|
|
|
menuconfig CAN
|
|
|
|
bool "CAN Driver Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
2012-04-14 01:37:52 +02:00
|
|
|
---help---
|
|
|
|
This selection enables building of the "upper-half" CAN driver.
|
|
|
|
See include/nuttx/can.h for further CAN driver information.
|
|
|
|
|
|
|
|
if CAN
|
2015-08-05 21:56:48 +02:00
|
|
|
|
2012-04-24 20:00:55 +02:00
|
|
|
config CAN_EXTID
|
2012-04-14 01:37:52 +02:00
|
|
|
bool "CAN extended IDs"
|
|
|
|
default n
|
|
|
|
---help---
|
2015-08-05 21:56:48 +02:00
|
|
|
Enables support for the 28-bit extended ID. Default Standard 11-bit
|
2012-11-22 22:21:48 +01:00
|
|
|
IDs.
|
2012-04-14 01:37:52 +02:00
|
|
|
|
2016-01-18 19:22:27 +01:00
|
|
|
config ARCH_HAVE_CAN_ERRORS
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config CAN_ERRORS
|
|
|
|
bool "CAN error reporting"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_CAN_ERRORS
|
|
|
|
---help---
|
|
|
|
Support CAN error reporting. If this option is selected then CAN
|
|
|
|
error reporting is enabled. In the event of an error, the ch_error
|
|
|
|
bit will be set in the CAN message and the following message payload
|
|
|
|
will include a more detailed description of certain errors.
|
|
|
|
|
2015-08-05 21:56:48 +02:00
|
|
|
config CAN_FD
|
|
|
|
bool "CAN FD"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables support for the CAN_FD mode.
|
|
|
|
|
2012-04-24 20:00:55 +02:00
|
|
|
config CAN_FIFOSIZE
|
2012-04-14 01:37:52 +02:00
|
|
|
int "CAN driver I/O buffer size"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
The size of the circular buffer of CAN messages. Default: 8
|
|
|
|
|
2012-04-24 20:00:55 +02:00
|
|
|
config CAN_NPENDINGRTR
|
2012-04-14 01:37:52 +02:00
|
|
|
int "Number of pending RTRs"
|
|
|
|
default 4
|
|
|
|
---help---
|
|
|
|
The size of the list of pending RTR requests. Default: 4
|
|
|
|
|
2015-11-03 17:52:58 +01:00
|
|
|
config CAN_TXREADY
|
|
|
|
bool "can_txready interface"
|
|
|
|
default n
|
2015-11-14 17:33:02 +01:00
|
|
|
select SCHED_WORKQUEUE
|
2015-11-03 17:52:58 +01:00
|
|
|
---help---
|
|
|
|
This selection enables the can_txready() interface. This interface
|
|
|
|
is needed only for CAN hardware that supports queing of outgoing
|
|
|
|
messages in a H/W FIFO.
|
|
|
|
|
|
|
|
The CAN upper half driver also supports a queue of output messages
|
|
|
|
in a S/W FIFO. Messages are added to that queue when when
|
|
|
|
can_write() is called and removed from the queue in can_txdone()
|
|
|
|
when each TX message is complete.
|
|
|
|
|
|
|
|
After each message is added to the S/W FIFO, the CAN upper half
|
|
|
|
driver will attempt to send the message by calling into the lower
|
|
|
|
half driver. That send will not be performed if the lower half
|
|
|
|
driver is busy, i.e., if dev_txready() returns false. In that
|
|
|
|
case, the number of messages in the S/W FIFO can grow. If the
|
|
|
|
S/W FIFO becomes full, then can_write() will wait for space in
|
|
|
|
the S/W FIFO.
|
|
|
|
|
|
|
|
If the CAN hardware does not support a H/W FIFO then busy means
|
|
|
|
that the hardware is actively sending the message and is
|
|
|
|
guaranteed to become non busy (i.e, dev_txready()) when the
|
|
|
|
send transfer completes and can_txdone() is called. So the call
|
|
|
|
to can_txdone() means that the transfer has completed and also
|
|
|
|
that the hardware is ready to accept another transfer.
|
|
|
|
|
|
|
|
If the CAN hardware supports a H/W FIFO, can_txdone() is not
|
|
|
|
called when the tranfer is complete, but rather when the
|
|
|
|
transfer is queued in the H/W FIFO. When the H/W FIFO becomes
|
|
|
|
full, then dev_txready() will report false and the number of
|
|
|
|
queued messages in the S/W FIFO will grow.
|
|
|
|
|
|
|
|
There is no mechanism in this case to inform the upper half
|
|
|
|
driver when the hardware is again available, when there is
|
|
|
|
again space in the H/W FIFO. can_txdone() will not be called
|
|
|
|
again. If the S/W FIFO becomes full, then the upper half
|
|
|
|
driver will wait for space to become available, but there is
|
|
|
|
no event to awaken it and the driver will hang.
|
|
|
|
|
|
|
|
Enabling this feature adds support for the can_txready()
|
|
|
|
interface. This function is called from the lower half
|
|
|
|
driver's CAN interrupt handler each time a TX transfer
|
|
|
|
completes. This is a sure indication that the H/W FIFO is
|
|
|
|
no longer full. can_txready() will then awaken the
|
|
|
|
can_write() logic and the hang condition is avoided.
|
|
|
|
|
2015-11-14 17:33:02 +01:00
|
|
|
choice
|
|
|
|
prompt "TX Ready Work Queue"
|
2015-11-14 20:36:48 +01:00
|
|
|
default CAN_TXREADY_HIPRI
|
2015-11-14 17:33:02 +01:00
|
|
|
depends on CAN_TXREADY
|
|
|
|
|
|
|
|
config CAN_TXREADY_LOPRI
|
|
|
|
bool "Low-priority work queue"
|
|
|
|
select SCHED_LPWORK
|
|
|
|
|
|
|
|
config CAN_TXREADY_HIPRI
|
|
|
|
bool "High-priority work queue"
|
|
|
|
select SCHED_HPWORK
|
|
|
|
|
|
|
|
endchoice # TX Ready Work Queue
|
|
|
|
|
2012-04-24 20:00:55 +02:00
|
|
|
config CAN_LOOPBACK
|
2013-10-22 23:47:52 +02:00
|
|
|
bool "CAN loopback mode"
|
2012-04-14 01:37:52 +02:00
|
|
|
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).
|
2012-07-26 22:38:46 +02:00
|
|
|
|
2016-06-21 13:45:47 +02:00
|
|
|
config CAN_NPOLLWAITERS
|
|
|
|
int "Number of poll waiters"
|
|
|
|
default 2
|
|
|
|
depends on !DISABLE_POLL
|
|
|
|
---help---
|
|
|
|
The maximum number of threads that may be waiting on the
|
|
|
|
poll method.
|
|
|
|
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # CAN
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2013-11-06 19:24:51 +01:00
|
|
|
config ARCH_HAVE_PWM_PULSECOUNT
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2015-11-01 23:15:12 +01:00
|
|
|
config ARCH_HAVE_PWM_MULTICHAN
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2012-09-11 18:50:16 +02:00
|
|
|
menuconfig PWM
|
|
|
|
bool "PWM Driver Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
2012-04-14 01:37:52 +02:00
|
|
|
---help---
|
|
|
|
This selection enables building of the "upper-half" PWM driver.
|
|
|
|
See include/nuttx/pwm.h for further PWM driver information.
|
|
|
|
|
|
|
|
if PWM
|
2015-11-01 23:15:12 +01:00
|
|
|
|
2012-04-14 01:37:52 +02:00
|
|
|
config PWM_PULSECOUNT
|
2012-09-11 00:26:37 +02:00
|
|
|
bool "PWM Pulse Count Support"
|
2012-04-14 01:37:52 +02:00
|
|
|
default n
|
2013-11-06 19:24:51 +01:00
|
|
|
depends on ARCH_HAVE_PWM_PULSECOUNT
|
2012-04-14 01:37:52 +02:00
|
|
|
---help---
|
2012-11-22 22:21:48 +01:00
|
|
|
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.
|
2012-04-14 01:37:52 +02:00
|
|
|
|
2015-11-01 23:15:12 +01:00
|
|
|
config PWM_MULTICHAN
|
|
|
|
bool "PWM Multiple Output Channel Support"
|
|
|
|
default n
|
|
|
|
depends on ARCH_HAVE_PWM_MULTICHAN
|
|
|
|
depends on !PWM_PULSECOUNT
|
|
|
|
---help---
|
|
|
|
Enables support for multiple output channels per timer.
|
|
|
|
|
|
|
|
if PWM_MULTICHAN
|
|
|
|
|
|
|
|
config PWM_NCHANNELS
|
|
|
|
int "Number of Output Channels Per Timer"
|
|
|
|
default 1
|
|
|
|
range 1 4
|
|
|
|
---help---
|
|
|
|
Specifies the number of output channels per timer. Each timer
|
|
|
|
may support fewer output channels than this value.
|
|
|
|
|
|
|
|
endif # PWM_MULTICHAN
|
|
|
|
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # PWM
|
|
|
|
|
|
|
|
config ARCH_HAVE_I2CRESET
|
|
|
|
bool
|
|
|
|
default n
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2012-09-11 18:50:16 +02:00
|
|
|
menuconfig I2C
|
|
|
|
bool "I2C Driver Support"
|
2012-09-05 23:36:03 +02:00
|
|
|
default n
|
2012-04-14 01:37:52 +02:00
|
|
|
---help---
|
|
|
|
This selection enables building of the "upper-half" I2C driver.
|
2016-01-30 15:00:16 +01:00
|
|
|
See include/nuttx/i2c/i2c_master.h for further I2C driver information.
|
2012-04-14 01:37:52 +02:00
|
|
|
|
2013-12-03 00:21:46 +01:00
|
|
|
if I2C
|
2016-01-26 16:58:18 +01:00
|
|
|
source drivers/i2c/Kconfig
|
|
|
|
endif
|
2012-09-17 20:35:37 +02:00
|
|
|
|
2012-09-11 18:50:16 +02:00
|
|
|
menuconfig SPI
|
|
|
|
bool "SPI Driver Support"
|
2012-09-05 23:36:03 +02:00
|
|
|
default n
|
2012-04-14 01:37:52 +02:00
|
|
|
---help---
|
2013-01-02 15:02:07 +01:00
|
|
|
This selection enables selection of common SPI options. This option
|
|
|
|
should be enabled by all platforms that support SPI interfaces.
|
2013-07-01 16:11:54 +02:00
|
|
|
See include/nuttx/spi/spi.h for further SPI driver information.
|
2012-04-14 01:37:52 +02:00
|
|
|
|
|
|
|
if SPI
|
2013-07-01 16:11:54 +02:00
|
|
|
source drivers/spi/Kconfig
|
2014-11-26 20:55:34 +01:00
|
|
|
endif
|
|
|
|
|
2013-11-07 19:26:53 +01:00
|
|
|
menuconfig I2S
|
|
|
|
bool "I2S Driver Support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This selection enables selection of common I2S options. This option
|
|
|
|
should be enabled by all platforms that support I2S interfaces.
|
|
|
|
See include/nuttx/audio/i2s.h for further I2S driver information.
|
|
|
|
|
|
|
|
if I2S
|
|
|
|
endif # I2S
|
|
|
|
|
2015-02-13 17:30:06 +01:00
|
|
|
source drivers/timers/Kconfig
|
2014-04-22 17:01:20 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
menuconfig ANALOG
|
2012-09-11 00:26:37 +02:00
|
|
|
bool "Analog Device(ADC/DAC) Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This directory holds implementations of analog device drivers.
|
|
|
|
This includes drivers for Analog to Digital Conversion (ADC) as
|
|
|
|
well as drivers for Digital to Analog Conversion (DAC).
|
|
|
|
See include/nuttx/analog/*.h for registration information.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if ANALOG
|
|
|
|
source drivers/analog/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # ANALOG
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2013-05-19 23:12:28 +02:00
|
|
|
menuconfig AUDIO_DEVICES
|
|
|
|
bool "Audio Device Support"
|
|
|
|
default n
|
|
|
|
---help---
|
2014-07-19 18:20:19 +02:00
|
|
|
Enable support for audio device drivers. This includes drivers for
|
|
|
|
MP3, WMA and Ogg Vorbis encoding, decoding, as well as drivers for
|
|
|
|
interfacing with external DSP chips to perform custom audio functions.
|
|
|
|
|
|
|
|
NOTE: All of these drivers depend on support from the audio subsystem
|
|
|
|
enabled with the AUDIO selection.
|
2013-05-19 23:12:28 +02:00
|
|
|
|
|
|
|
if AUDIO_DEVICES
|
|
|
|
source drivers/audio/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # AUDIO_DEVICES
|
2013-05-19 23:12:28 +02:00
|
|
|
|
2013-12-09 17:51:22 +01:00
|
|
|
menuconfig VIDEO_DEVICES
|
|
|
|
bool "Video Device Support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable support for video device drivers.
|
|
|
|
|
|
|
|
if VIDEO_DEVICES
|
|
|
|
source drivers/video/Kconfig
|
|
|
|
endif # VIDEO_DEVICES
|
|
|
|
|
2012-09-11 18:50:16 +02:00
|
|
|
menuconfig BCH
|
2012-09-11 00:26:37 +02:00
|
|
|
bool "Block-to-Character (BCH) Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Contains logic that may be used to convert a block driver into
|
|
|
|
a character driver. This is the complementary conversion as that
|
|
|
|
performed by loop.c. See include/nuttx/fs/fs.h for registration
|
|
|
|
information.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if BCH
|
|
|
|
source drivers/bch/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # BCH
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
menuconfig INPUT
|
2012-09-11 00:26:37 +02:00
|
|
|
bool "Input Device Support"
|
2012-09-05 23:36:03 +02:00
|
|
|
default n
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
|
|
|
This directory holds implementations of input device drivers.
|
|
|
|
This includes such things as touchscreen and keypad drivers.
|
|
|
|
See include/nuttx/input/*.h for registration information.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if INPUT
|
|
|
|
source drivers/input/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # INPUT
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2015-12-15 15:40:34 +01:00
|
|
|
source drivers/ioexpander/Kconfig
|
2012-04-07 16:50:57 +02:00
|
|
|
source drivers/lcd/Kconfig
|
2015-12-15 15:05:10 +01:00
|
|
|
source drivers/leds/Kconfig
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
menuconfig MMCSD
|
2012-09-11 18:50:16 +02:00
|
|
|
bool "MMC/SD Driver Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Support for MMC/SD block drivers. MMC/SD block drivers based on
|
|
|
|
SPI and SDIO/MCI interfaces are supported. See include/nuttx/mmcsd.h
|
|
|
|
and include/nuttx/sdio.h for further information.
|
|
|
|
|
|
|
|
if MMCSD
|
|
|
|
source drivers/mmcsd/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # MMCSD
|
2012-09-11 00:26:37 +02:00
|
|
|
|
2016-01-30 14:37:43 +01:00
|
|
|
menuconfig MODEM
|
|
|
|
bool "Modem Support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable modem support.
|
|
|
|
|
|
|
|
if MODEM
|
|
|
|
source drivers/modem/Kconfig
|
|
|
|
endif # MODEM
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
menuconfig MTD
|
2012-09-11 00:26:37 +02:00
|
|
|
bool "Memory Technology Device (MTD) Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Memory Technology Device (MTD) drivers. Some simple drivers for
|
|
|
|
memory technologies like FLASH, EEPROM, NVRAM, etc. See
|
2013-11-15 18:22:23 +01:00
|
|
|
include/nuttx/mtd/mtd.h
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
(Note: This is a simple memory interface and should not be
|
|
|
|
confused with the "real" MTD developed at infradead.org. This
|
|
|
|
logic is unrelated; I just used the name MTD because I am not
|
|
|
|
aware of any other common way to refer to this class of devices).
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if MTD
|
|
|
|
source drivers/mtd/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # MTD
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2014-11-27 18:08:27 +01:00
|
|
|
menuconfig EEPROM
|
|
|
|
bool "EEPROM support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This directory holds implementations of EEPROM drivers.
|
|
|
|
|
|
|
|
if EEPROM
|
|
|
|
source drivers/eeprom/Kconfig
|
|
|
|
endif
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
menuconfig NETDEVICES
|
2013-09-17 18:52:23 +02:00
|
|
|
bool "Network Device/PHY Support"
|
|
|
|
default n if !ARCH_HAVE_PHY
|
|
|
|
default y if ARCH_HAVE_PHY
|
2012-09-12 16:07:13 +02:00
|
|
|
depends on NET
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2013-09-17 18:52:23 +02:00
|
|
|
Network interface driver and PHY selections. This options enables
|
|
|
|
selection of drivers for external Ethernet MAC chips. The majority
|
|
|
|
of MCUs, however, have built-in, internal Ethernet MAC peripherals
|
|
|
|
and that Ethernet support is selected in the MCU-specific
|
|
|
|
configuration menus.
|
|
|
|
|
|
|
|
Most Ethernet MAC drivers, whether internal or external, will
|
|
|
|
require configuration of an external PHY device. That external PHY
|
|
|
|
device is also selected via this menu.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if NETDEVICES
|
|
|
|
source drivers/net/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # NETDEVICES
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
menuconfig PIPES
|
|
|
|
bool "FIFO and named pipe drivers"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
FIFO and named pipe drivers. Standard interfaces are declared
|
|
|
|
in include/unistd.h
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if PIPES
|
|
|
|
source drivers/pipes/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # PIPES
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
source drivers/power/Kconfig
|
|
|
|
|
|
|
|
menuconfig SENSORS
|
2012-09-11 18:50:16 +02:00
|
|
|
bool "Sensor Device Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Drivers for various sensors
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if SENSORS
|
|
|
|
source drivers/sensors/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # SENSORS
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
menuconfig SERCOMM_CONSOLE
|
2012-09-11 18:50:16 +02:00
|
|
|
bool "Osmocom-bb Sercomm Driver Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Sercomm is the transport used by osmocom-bb that runs on top of serial.
|
|
|
|
See http://bb.osmocom.org/trac/wiki/nuttx-bb/run for detailed the usage
|
|
|
|
of nuttx with sercomm.
|
|
|
|
|
2012-04-24 20:00:55 +02:00
|
|
|
drivers/sercomm is only built if SERCOMM_CONSOLE in the NuttX
|
2012-04-07 16:50:57 +02:00
|
|
|
configuration file. If you attempt to build this driver without
|
|
|
|
osmocom-bb, you will get compilation errors because of header files
|
|
|
|
that are needed from the osmocom-bb.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2013-12-03 00:21:46 +01:00
|
|
|
if SERCOMM_CONSOLE
|
2012-04-07 16:50:57 +02:00
|
|
|
source drivers/sercomm/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # SERCOMM_CONSOLE
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
menuconfig SERIAL
|
2012-09-11 18:50:16 +02:00
|
|
|
bool "Serial Driver Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Front-end character drivers for chip-specific UARTs. This provide
|
2012-11-22 22:21:48 +01:00
|
|
|
some TTY-like functionality and are commonly used (but not required
|
|
|
|
for) the NuttX system console. See also include/nuttx/serial/serial.h
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if SERIAL
|
|
|
|
source drivers/serial/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # SERIAL
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
menuconfig USBDEV
|
2012-09-11 18:50:16 +02:00
|
|
|
bool "USB Device Driver Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
USB device drivers. See also include/nuttx/usb/usbdev.h
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if USBDEV
|
|
|
|
source drivers/usbdev/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # USBDEV
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
menuconfig USBHOST
|
2012-09-11 18:50:16 +02:00
|
|
|
bool "USB Host Driver Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
USB host drivers. See also include/nuttx/usb/usbhost.h
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
if USBHOST
|
|
|
|
source drivers/usbhost/Kconfig
|
2013-12-03 00:21:46 +01:00
|
|
|
endif # USBHOST
|
2012-04-07 16:50:57 +02:00
|
|
|
|
2016-06-30 21:09:22 +02:00
|
|
|
config HAVE_USBTRACE
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2016-06-30 20:24:33 +02:00
|
|
|
menuconfig USBMONITOR
|
|
|
|
bool "USB Monitor"
|
|
|
|
default n
|
2016-06-30 21:09:22 +02:00
|
|
|
depends on HAVE_USBTRACE
|
2016-06-30 20:24:33 +02:00
|
|
|
---help---
|
|
|
|
If USB device tracing (USBDEV_TRACE) AND/OR USB host tracing
|
|
|
|
(USBHOST_TRACE) are enabled then this option will select the USB
|
|
|
|
monitor. The USB monitor is a daemon that will periodically collect
|
|
|
|
the buffered USB trace data and dump it to the SYSLOG device.
|
|
|
|
|
|
|
|
if USBMONITOR
|
|
|
|
source drivers/usbmonitor/Kconfig
|
2016-06-30 21:09:22 +02:00
|
|
|
endif # USBMONITOR
|
2016-06-30 20:24:33 +02:00
|
|
|
|
2016-02-26 23:50:26 +01:00
|
|
|
menuconfig DRIVERS_WIRELESS
|
2012-09-11 18:50:16 +02:00
|
|
|
bool "Wireless Device Support"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Drivers for various wireless devices.
|
2012-07-29 20:30:48 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
source drivers/wireless/Kconfig
|
2012-08-02 02:42:46 +02:00
|
|
|
source drivers/syslog/Kconfig
|