mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 02:33:33 +08:00
PGA11x driver belongs in analog/ not input/
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4978 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -828,9 +828,9 @@ Where <subdir> is one of the following:
|
||||
The Mirtoo's PGA117 amplifier/multipexer is not used by this configuration
|
||||
but can be enabled by setting:
|
||||
|
||||
CONFIG_INPUT=y : Enable support for INPUT devices
|
||||
CONFIG_SPI_OWNBUS=y : If the PGA117 is the only device on the bus
|
||||
CONFIG_INPUT_PGA11X=y : Enable support for the PGA117
|
||||
CONFIG_ADC=y : Enable support for analog input devices
|
||||
CONFIG_SPI_OWNBUS=y : If the PGA117 is the only device on the bus
|
||||
CONFIG_ADC_PGA11X=y : Enable support for the PGA117
|
||||
|
||||
nxffs:
|
||||
======
|
||||
@@ -914,7 +914,7 @@ Where <subdir> is one of the following:
|
||||
The Mirtoo's PGA117 amplifier/multipexer is not used by this configuration
|
||||
but can be enabled by setting:
|
||||
|
||||
CONFIG_INPUT=y : Enable support for INPUT devices
|
||||
CONFIG_SPI_OWNBUS=n : The PGA117 is *not* the only device on the bus
|
||||
CONFIG_INPUT_PGA11X=y : Enable support for the PGA117
|
||||
CONFIG_ADC=y : Enable support for anlog input devices
|
||||
CONFIG_SPI_OWNBUS=n : The PGA117 is *not* the only device on the bus
|
||||
CONFIG_ADC_PGA11X=y : Enable support for the PGA117
|
||||
|
||||
|
||||
@@ -750,10 +750,10 @@ CONFIG_USBMSC_REMOVABLE=y
|
||||
# PGA117 support
|
||||
#
|
||||
# Prerequisites:
|
||||
# CONFIG_INPUT=y is needed to enable support for INPUT devices
|
||||
# CONFIG_ADC=y is needed to enable support for analog input devices
|
||||
#
|
||||
# CONFIG_INPUT_PGA11X
|
||||
# Enables support for the PGA11X driver (Needs CONFIG_INPUT)
|
||||
# CONFIG_ADC_PGA11X
|
||||
# Enables support for the PGA11X driver (Needs CONFIG_ADC)
|
||||
# CONFIG_PGA11X_SPIFREQUENCY
|
||||
# SPI frequency. Default 1MHz
|
||||
# CONFIG_PGA11X_DAISYCHAIN
|
||||
@@ -773,11 +773,11 @@ CONFIG_USBMSC_REMOVABLE=y
|
||||
# CONFIG_DEBUG_SPI -- With CONFIG_DEBUG and CONFIG_DEBUG_VERBOSE,
|
||||
# this will enable debug output from the PGA117 driver.
|
||||
#
|
||||
CONFIG_INPUT=n
|
||||
CONFIG_ADC=n
|
||||
CONFIG_SPI_OWNBUS=y
|
||||
CONFIG_DEBUG_SPI=n
|
||||
|
||||
CONFIG_INPUT_PGA11X=n
|
||||
CONFIG_ADC_PGA11X=n
|
||||
#CONFIG_PGA11X_SPIFREQUENCY
|
||||
CONFIG_PGA11X_DAISYCHAIN=n
|
||||
CONFIG_PGA11X_SPIMODE=1
|
||||
|
||||
@@ -750,10 +750,10 @@ CONFIG_USBMSC_REMOVABLE=y
|
||||
# PGA117 support
|
||||
#
|
||||
# Prerequisites:
|
||||
# CONFIG_INPUT=y is needed to enable support for INPUT devices
|
||||
# CONFIG_ADC=y is needed to enable support for analog input devices
|
||||
#
|
||||
# CONFIG_INPUT_PGA11X
|
||||
# Enables support for the PGA11X driver (Needs CONFIG_INPUT)
|
||||
# CONFIG_ADC_PGA11X
|
||||
# Enables support for the PGA11X driver (Needs CONFIG_ADC)
|
||||
# CONFIG_PGA11X_SPIFREQUENCY
|
||||
# SPI frequency. Default 1MHz
|
||||
# CONFIG_PGA11X_DAISYCHAIN
|
||||
@@ -776,11 +776,11 @@ CONFIG_USBMSC_REMOVABLE=y
|
||||
# CONFIG_DEBUG_SPI -- With CONFIG_DEBUG and CONFIG_DEBUG_VERBOSE,
|
||||
# this will enable debug output from the PGA117 driver.
|
||||
#
|
||||
CONFIG_INPUT=n
|
||||
CONFIG_ADC=n
|
||||
CONFIG_SPI_OWNBUS=y
|
||||
CONFIG_DEBUG_SPI=n
|
||||
|
||||
CONFIG_INPUT_PGA11X=n
|
||||
CONFIG_ADC_PGA11X=n
|
||||
#CONFIG_PGA11X_SPIFREQUENCY
|
||||
CONFIG_PGA11X_DAISYCHAIN=n
|
||||
CONFIG_PGA11X_SPIMODE=1
|
||||
|
||||
Reference in New Issue
Block a user