Kconfigs: Fix and issue with SERCOMM_CONSOLE being define in two places
This commit is contained in:
parent
37c5113c94
commit
d46001a4ba
@ -97,8 +97,10 @@ choice
|
|||||||
prompt "Serial Console Selection"
|
prompt "Serial Console Selection"
|
||||||
default SERIAL_CONSOLE_NONE
|
default SERIAL_CONSOLE_NONE
|
||||||
|
|
||||||
config SERCOMM_CONSOLE
|
# See drivers/Kconfig
|
||||||
|
config USE_SERCOMM_CONSOLE
|
||||||
bool "SERCOMM console"
|
bool "SERCOMM console"
|
||||||
|
select SERCOMM_CONSOLE
|
||||||
|
|
||||||
config SERIAL_MODEM_CONSOLE
|
config SERIAL_MODEM_CONSOLE
|
||||||
bool "Serial console on modem UART"
|
bool "Serial console on modem UART"
|
||||||
|
@ -78,7 +78,7 @@ config CAN_LOOPBACK
|
|||||||
driver does support loopback mode, the setting will enable it. (If the
|
driver does support loopback mode, the setting will enable it. (If the
|
||||||
driver does not, this setting will have no effect).
|
driver does not, this setting will have no effect).
|
||||||
|
|
||||||
endif
|
endif # CAN
|
||||||
|
|
||||||
config ARCH_HAVE_PWM_PULSECOUNT
|
config ARCH_HAVE_PWM_PULSECOUNT
|
||||||
bool
|
bool
|
||||||
@ -102,7 +102,11 @@ config PWM_PULSECOUNT
|
|||||||
hardware will support a fixed pulse count, then this configuration
|
hardware will support a fixed pulse count, then this configuration
|
||||||
should be set to enable the capability.
|
should be set to enable the capability.
|
||||||
|
|
||||||
endif
|
endif # PWM
|
||||||
|
|
||||||
|
config ARCH_HAVE_I2CRESET
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
menuconfig I2C
|
menuconfig I2C
|
||||||
bool "I2C Driver Support"
|
bool "I2C Driver Support"
|
||||||
@ -111,43 +115,39 @@ menuconfig I2C
|
|||||||
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.
|
||||||
|
|
||||||
|
if I2C
|
||||||
|
|
||||||
config I2C_SLAVE
|
config I2C_SLAVE
|
||||||
bool "I2C Slave"
|
bool "I2C Slave"
|
||||||
default n
|
default n
|
||||||
depends on I2C
|
|
||||||
|
|
||||||
config I2C_TRANSFER
|
config I2C_TRANSFER
|
||||||
bool "Support the I2C transfer() method"
|
bool "Support the I2C transfer() method"
|
||||||
default n
|
default n
|
||||||
depends on I2C
|
|
||||||
|
|
||||||
config I2C_WRITEREAD
|
config I2C_WRITEREAD
|
||||||
bool "Support the I2C writeread() method"
|
bool "Support the I2C writeread() method"
|
||||||
default n
|
default n
|
||||||
depends on I2C
|
|
||||||
|
|
||||||
config I2C_POLLED
|
config I2C_POLLED
|
||||||
bool "Polled I2C (no interrupts)"
|
bool "Polled I2C (no interrupts)"
|
||||||
default n
|
default n
|
||||||
depends on I2C
|
|
||||||
|
|
||||||
config I2C_TRACE
|
config I2C_TRACE
|
||||||
bool "Enable I2C trace debug"
|
bool "Enable I2C trace debug"
|
||||||
default n
|
default n
|
||||||
depends on I2C
|
|
||||||
|
|
||||||
config I2C_NTRACE
|
config I2C_NTRACE
|
||||||
bool "Enable I2C trace debug"
|
int "Number of I2C trace records"
|
||||||
default n
|
default 32
|
||||||
depends on I2C_TRACE
|
depends on I2C_TRACE
|
||||||
|
|
||||||
config ARCH_HAVE_I2CRESET
|
|
||||||
bool
|
|
||||||
|
|
||||||
config I2C_RESET
|
config I2C_RESET
|
||||||
bool "Support up_i2creset"
|
bool "Support up_i2creset"
|
||||||
default n
|
default n
|
||||||
depends on I2C && ARCH_HAVE_I2CRESET
|
depends on ARCH_HAVE_I2CRESET
|
||||||
|
|
||||||
|
endif # I2C
|
||||||
|
|
||||||
menuconfig SPI
|
menuconfig SPI
|
||||||
bool "SPI Driver Support"
|
bool "SPI Driver Support"
|
||||||
@ -159,7 +159,7 @@ menuconfig SPI
|
|||||||
|
|
||||||
if SPI
|
if SPI
|
||||||
source drivers/spi/Kconfig
|
source drivers/spi/Kconfig
|
||||||
endif
|
endif # SPI
|
||||||
|
|
||||||
menuconfig I2S
|
menuconfig I2S
|
||||||
bool "I2S Driver Support"
|
bool "I2S Driver Support"
|
||||||
@ -253,7 +253,7 @@ menuconfig ANALOG
|
|||||||
|
|
||||||
if ANALOG
|
if ANALOG
|
||||||
source drivers/analog/Kconfig
|
source drivers/analog/Kconfig
|
||||||
endif
|
endif # ANALOG
|
||||||
|
|
||||||
menuconfig AUDIO_DEVICES
|
menuconfig AUDIO_DEVICES
|
||||||
bool "Audio Device Support"
|
bool "Audio Device Support"
|
||||||
@ -266,7 +266,7 @@ menuconfig AUDIO_DEVICES
|
|||||||
|
|
||||||
if AUDIO_DEVICES
|
if AUDIO_DEVICES
|
||||||
source drivers/audio/Kconfig
|
source drivers/audio/Kconfig
|
||||||
endif
|
endif # AUDIO_DEVICES
|
||||||
|
|
||||||
menuconfig BCH
|
menuconfig BCH
|
||||||
bool "Block-to-Character (BCH) Support"
|
bool "Block-to-Character (BCH) Support"
|
||||||
@ -279,7 +279,7 @@ menuconfig BCH
|
|||||||
|
|
||||||
if BCH
|
if BCH
|
||||||
source drivers/bch/Kconfig
|
source drivers/bch/Kconfig
|
||||||
endif
|
endif # BCH
|
||||||
|
|
||||||
menuconfig INPUT
|
menuconfig INPUT
|
||||||
bool "Input Device Support"
|
bool "Input Device Support"
|
||||||
@ -291,7 +291,7 @@ menuconfig INPUT
|
|||||||
|
|
||||||
if INPUT
|
if INPUT
|
||||||
source drivers/input/Kconfig
|
source drivers/input/Kconfig
|
||||||
endif
|
endif # INPUT
|
||||||
|
|
||||||
menuconfig LCD
|
menuconfig LCD
|
||||||
bool "LCD Driver Support"
|
bool "LCD Driver Support"
|
||||||
@ -307,7 +307,7 @@ menuconfig LCD
|
|||||||
|
|
||||||
if LCD
|
if LCD
|
||||||
source drivers/lcd/Kconfig
|
source drivers/lcd/Kconfig
|
||||||
endif
|
endif # LCD
|
||||||
|
|
||||||
menuconfig MMCSD
|
menuconfig MMCSD
|
||||||
bool "MMC/SD Driver Support"
|
bool "MMC/SD Driver Support"
|
||||||
@ -319,7 +319,7 @@ menuconfig MMCSD
|
|||||||
|
|
||||||
if MMCSD
|
if MMCSD
|
||||||
source drivers/mmcsd/Kconfig
|
source drivers/mmcsd/Kconfig
|
||||||
endif
|
endif # MMCSD
|
||||||
|
|
||||||
menuconfig MTD
|
menuconfig MTD
|
||||||
bool "Memory Technology Device (MTD) Support"
|
bool "Memory Technology Device (MTD) Support"
|
||||||
@ -336,7 +336,7 @@ menuconfig MTD
|
|||||||
|
|
||||||
if MTD
|
if MTD
|
||||||
source drivers/mtd/Kconfig
|
source drivers/mtd/Kconfig
|
||||||
endif
|
endif # MTD
|
||||||
|
|
||||||
menuconfig NETDEVICES
|
menuconfig NETDEVICES
|
||||||
bool "Network Device/PHY Support"
|
bool "Network Device/PHY Support"
|
||||||
@ -356,7 +356,7 @@ menuconfig NETDEVICES
|
|||||||
|
|
||||||
if NETDEVICES
|
if NETDEVICES
|
||||||
source drivers/net/Kconfig
|
source drivers/net/Kconfig
|
||||||
endif
|
endif # NETDEVICES
|
||||||
|
|
||||||
menuconfig PIPES
|
menuconfig PIPES
|
||||||
bool "FIFO and named pipe drivers"
|
bool "FIFO and named pipe drivers"
|
||||||
@ -367,7 +367,7 @@ menuconfig PIPES
|
|||||||
|
|
||||||
if PIPES
|
if PIPES
|
||||||
source drivers/pipes/Kconfig
|
source drivers/pipes/Kconfig
|
||||||
endif
|
endif # PIPES
|
||||||
|
|
||||||
config PM
|
config PM
|
||||||
bool "Power management (PM) driver interfaces"
|
bool "Power management (PM) driver interfaces"
|
||||||
@ -387,7 +387,7 @@ menuconfig POWER
|
|||||||
|
|
||||||
if POWER
|
if POWER
|
||||||
source drivers/power/Kconfig
|
source drivers/power/Kconfig
|
||||||
endif
|
endif # POWER
|
||||||
|
|
||||||
menuconfig SENSORS
|
menuconfig SENSORS
|
||||||
bool "Sensor Device Support"
|
bool "Sensor Device Support"
|
||||||
@ -397,7 +397,7 @@ menuconfig SENSORS
|
|||||||
|
|
||||||
if SENSORS
|
if SENSORS
|
||||||
source drivers/sensors/Kconfig
|
source drivers/sensors/Kconfig
|
||||||
endif
|
endif # SENSORS
|
||||||
|
|
||||||
menuconfig SERCOMM_CONSOLE
|
menuconfig SERCOMM_CONSOLE
|
||||||
bool "Osmocom-bb Sercomm Driver Support"
|
bool "Osmocom-bb Sercomm Driver Support"
|
||||||
@ -412,9 +412,9 @@ menuconfig SERCOMM_CONSOLE
|
|||||||
osmocom-bb, you will get compilation errors because of header files
|
osmocom-bb, you will get compilation errors because of header files
|
||||||
that are needed from the osmocom-bb.
|
that are needed from the osmocom-bb.
|
||||||
|
|
||||||
if SERCOMM
|
if SERCOMM_CONSOLE
|
||||||
source drivers/sercomm/Kconfig
|
source drivers/sercomm/Kconfig
|
||||||
endif
|
endif # SERCOMM_CONSOLE
|
||||||
|
|
||||||
menuconfig SERIAL
|
menuconfig SERIAL
|
||||||
bool "Serial Driver Support"
|
bool "Serial Driver Support"
|
||||||
@ -426,7 +426,7 @@ menuconfig SERIAL
|
|||||||
|
|
||||||
if SERIAL
|
if SERIAL
|
||||||
source drivers/serial/Kconfig
|
source drivers/serial/Kconfig
|
||||||
endif
|
endif # SERIAL
|
||||||
|
|
||||||
menuconfig USBDEV
|
menuconfig USBDEV
|
||||||
bool "USB Device Driver Support"
|
bool "USB Device Driver Support"
|
||||||
@ -436,7 +436,7 @@ menuconfig USBDEV
|
|||||||
|
|
||||||
if USBDEV
|
if USBDEV
|
||||||
source drivers/usbdev/Kconfig
|
source drivers/usbdev/Kconfig
|
||||||
endif
|
endif # USBDEV
|
||||||
|
|
||||||
menuconfig USBHOST
|
menuconfig USBHOST
|
||||||
bool "USB Host Driver Support"
|
bool "USB Host Driver Support"
|
||||||
@ -446,7 +446,7 @@ menuconfig USBHOST
|
|||||||
|
|
||||||
if USBHOST
|
if USBHOST
|
||||||
source drivers/usbhost/Kconfig
|
source drivers/usbhost/Kconfig
|
||||||
endif
|
endif # USBHOST
|
||||||
|
|
||||||
menuconfig WIRELESS
|
menuconfig WIRELESS
|
||||||
bool "Wireless Device Support"
|
bool "Wireless Device Support"
|
||||||
@ -456,7 +456,7 @@ menuconfig WIRELESS
|
|||||||
|
|
||||||
if WIRELESS
|
if WIRELESS
|
||||||
source drivers/wireless/Kconfig
|
source drivers/wireless/Kconfig
|
||||||
endif
|
endif # WIRELESS
|
||||||
|
|
||||||
comment "System Logging Device Options"
|
comment "System Logging Device Options"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user