2022-05-28 05:27:02 -04:00
|
|
|
menu "Driver Configurations"
|
2018-03-07 02:04:43 -05:00
|
|
|
|
2022-07-15 00:52:44 -04:00
|
|
|
menu "Legacy ADC Configuration"
|
2018-03-07 02:04:43 -05:00
|
|
|
|
2019-04-29 08:22:57 -04:00
|
|
|
config ADC_DISABLE_DAC
|
2022-07-15 00:52:44 -04:00
|
|
|
depends on SOC_DAC_SUPPORTED
|
2019-01-25 11:10:53 -05:00
|
|
|
bool "Disable DAC when ADC2 is used on GPIO 25 and 26"
|
|
|
|
default y
|
|
|
|
help
|
2019-04-29 08:22:57 -04:00
|
|
|
If this is set, the ADC2 driver will disable the output of the DAC corresponding to the specified
|
2019-01-25 11:10:53 -05:00
|
|
|
channel. This is the default value.
|
2018-01-24 05:46:34 -05:00
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
For testing, disable this option so that we can measure the output of DAC by internal ADC.
|
2018-01-24 05:46:34 -05:00
|
|
|
|
2022-07-15 00:52:44 -04:00
|
|
|
config ADC_SUPPRESS_DEPRECATE_WARN
|
|
|
|
bool "Suppress legacy driver deprecated warning"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Wether to suppress the deprecation warnings when using legacy adc driver (driver/adc.h).
|
|
|
|
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
|
|
|
|
you can enable this option.
|
|
|
|
|
|
|
|
menu "Legacy ADC Calibration Configuration"
|
|
|
|
|
|
|
|
config ADC_CAL_EFUSE_TP_ENABLE
|
|
|
|
depends on IDF_TARGET_ESP32
|
|
|
|
bool "Use Two Point Values"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Some ESP32s have Two Point calibration values burned into eFuse BLOCK3.
|
|
|
|
This option will allow the ADC calibration component to characterize the
|
|
|
|
ADC-Voltage curve using Two Point values if they are available.
|
|
|
|
|
|
|
|
config ADC_CAL_EFUSE_VREF_ENABLE
|
|
|
|
depends on IDF_TARGET_ESP32
|
|
|
|
bool "Use eFuse Vref"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
Some ESP32s have Vref burned into eFuse BLOCK0. This option will allow
|
|
|
|
the ADC calibration component to characterize the ADC-Voltage curve using
|
|
|
|
eFuse Vref if it is available.
|
|
|
|
|
|
|
|
config ADC_CAL_LUT_ENABLE
|
|
|
|
depends on IDF_TARGET_ESP32
|
|
|
|
bool "Use Lookup Tables"
|
|
|
|
default "y"
|
|
|
|
help
|
|
|
|
This option will allow the ADC calibration component to use Lookup Tables
|
|
|
|
to correct for non-linear behavior in 11db attenuation. Other attenuations
|
|
|
|
do not exhibit non-linear behavior hence will not be affected by this option.
|
|
|
|
|
|
|
|
config ADC_CALI_SUPPRESS_DEPRECATE_WARN
|
|
|
|
bool "Suppress legacy driver deprecated warning"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Wether to suppress the deprecation warnings when using legacy adc calibration
|
|
|
|
driver (esp_adc_cal.h).
|
|
|
|
If you want to continue using the legacy driver, and don't want to see related
|
|
|
|
deprecation warnings, you can enable this option.
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2019-01-25 11:10:53 -05:00
|
|
|
endmenu # ADC Configuration
|
2018-03-07 02:04:43 -05:00
|
|
|
|
2023-05-12 02:22:31 -04:00
|
|
|
orsource "./twai/Kconfig.twai"
|
2020-08-04 00:52:10 -04:00
|
|
|
|
2023-08-29 00:25:05 -04:00
|
|
|
orsource "./uart/Kconfig.uart"
|
2019-08-26 05:14:15 -04:00
|
|
|
|
2022-06-22 04:34:13 -04:00
|
|
|
menu "Sigma Delta Modulator Configuration"
|
|
|
|
depends on SOC_SDM_SUPPORTED
|
|
|
|
config SDM_CTRL_FUNC_IN_IRAM
|
|
|
|
bool "Place SDM control functions into IRAM"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Place SDM control functions (like set_duty) into IRAM,
|
|
|
|
so that these functions can be IRAM-safe and able to be called in the other IRAM interrupt context.
|
|
|
|
Enabling this option can improve driver performance as well.
|
|
|
|
|
|
|
|
config SDM_SUPPRESS_DEPRECATE_WARN
|
|
|
|
bool "Suppress legacy driver deprecated warning"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Wether to suppress the deprecation warnings when using legacy sigma delta driver.
|
|
|
|
If you want to continue using the legacy driver, and don't want to see related deprecation warnings,
|
|
|
|
you can enable this option.
|
|
|
|
|
|
|
|
config SDM_ENABLE_DEBUG_LOG
|
|
|
|
bool "Enable debug log"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Wether to enable the debug log message for SDM driver.
|
|
|
|
Note that, this option only controls the SDM driver log, won't affect other drivers.
|
|
|
|
endmenu # Sigma Delta Modulator Configuration
|
|
|
|
|
2022-11-07 12:54:23 -05:00
|
|
|
menu "USB Serial/JTAG Configuration"
|
|
|
|
depends on SOC_USB_SERIAL_JTAG_SUPPORTED
|
|
|
|
config USJ_NO_AUTO_LS_ON_CONNECTION
|
|
|
|
bool "Don't enter the automatic light sleep when USB Serial/JTAG port is connected"
|
|
|
|
depends on PM_ENABLE && ESP_CONSOLE_USB_SERIAL_JTAG_ENABLED && !SOC_USB_SERIAL_JTAG_SUPPORT_LIGHT_SLEEP
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
If enabled, the chip will constantly monitor the connection status of the USB Serial/JTAG port. As long
|
|
|
|
as the USB Serial/JTAG is connected, a ESP_PM_NO_LIGHT_SLEEP power management lock will be acquired to
|
|
|
|
prevent the system from entering light sleep.
|
|
|
|
This option can be useful if serial monitoring is needed via USB Serial/JTAG while power management is
|
|
|
|
enabled, as the USB Serial/JTAG cannot work under light sleep and after waking up from light sleep.
|
|
|
|
Note. This option can only control the automatic Light-Sleep behavior. If esp_light_sleep_start() is
|
|
|
|
called manually from the program, enabling this option will not prevent light sleep entry even if the
|
|
|
|
USB Serial/JTAG is in use.
|
|
|
|
endmenu # USB Serial/JTAG Configuration
|
|
|
|
|
2022-12-05 22:57:43 -05:00
|
|
|
menu "Parallel IO Configuration"
|
|
|
|
depends on SOC_PARLIO_SUPPORTED
|
|
|
|
|
|
|
|
config PARLIO_ENABLE_DEBUG_LOG
|
|
|
|
bool "Enable debug log"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Wether to enable the debug log message for parallel IO driver.
|
|
|
|
Note that, this option only controls the parallel IO driver log, won't affect other drivers.
|
|
|
|
|
|
|
|
config PARLIO_ISR_IRAM_SAFE
|
|
|
|
bool "Parallel IO ISR IRAM-Safe"
|
|
|
|
default n
|
|
|
|
select GDMA_CTRL_FUNC_IN_IRAM # the driver needs to start the GDMA in the interrupt
|
|
|
|
help
|
|
|
|
Ensure the Parallel IO interrupt is IRAM-Safe by allowing the interrupt handler to be
|
|
|
|
executable when the cache is disabled (e.g. SPI Flash write).
|
|
|
|
|
|
|
|
endmenu # Parallel IO Configuration
|
|
|
|
|
2023-09-21 07:27:43 -04:00
|
|
|
orsource "./ledc/Kconfig.ledc"
|
2023-06-14 00:25:05 -04:00
|
|
|
|
2023-08-03 00:29:44 -04:00
|
|
|
menu "I2C Configuration"
|
|
|
|
config I2C_ISR_IRAM_SAFE
|
|
|
|
bool "I2C ISR IRAM-Safe"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Ensure the I2C interrupt is IRAM-Safe by allowing the interrupt handler to be
|
|
|
|
executable when the cache is disabled (e.g. SPI Flash write).
|
|
|
|
note: This cannot be used in the I2C legacy driver.
|
|
|
|
|
|
|
|
config I2C_ENABLE_DEBUG_LOG
|
|
|
|
bool "Enable I2C debug log"
|
|
|
|
default n
|
|
|
|
help
|
|
|
|
Wether to enable the debug log message for I2C driver.
|
|
|
|
Note that this option only controls the I2C driver log, will not affect other drivers.
|
|
|
|
|
|
|
|
note: This cannot be used in the I2C legacy driver.
|
|
|
|
|
|
|
|
endmenu # I2C Configurations
|
|
|
|
|
2021-08-18 07:45:51 -04:00
|
|
|
endmenu # Driver configurations
|