be shut off when it is not working leading to lower power consumption. However
using the FSM control ADC power will increase the noise of ADC.
- config ADC2_DISABLE_DAC
+ config ADC_DISABLE_DAC
bool "Disable DAC when ADC2 is used on GPIO 25 and 26"
default y
help
- If this is set, the ADC2 driver will disables the output of the DAC corresponding to the specified
+ If this is set, the ADC2 driver will disable the output of the DAC corresponding to the specified
channel. This is the default value.
For testing, disable this option so that we can measure the output of DAC by internal ADC.
}
//disable other peripherals
-#ifdef CONFIG_ADC2_DISABLE_DAC
+#ifdef CONFIG_ADC_DISABLE_DAC
adc2_dac_disable( channel );
#endif
// set controller
--- /dev/null
+# sdkconfig replacement configurations for deprecated options formatted as
+# CONFIG_DEPRECATED_OPTION CONFIG_NEW_OPTION
+
+CONFIG_ADC2_DISABLE_DAC CONFIG_ADC_DISABLE_DAC
# ADC configuration
#
CONFIG_ADC_FORCE_XPD_FSM=
-CONFIG_ADC2_DISABLE_DAC=y
+CONFIG_ADC_DISABLE_DAC=y
#
# ESP32-specific
CONFIG_COMPILER_STACK_CHECK=y
CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y
CONFIG_ESP_TIMER_PROFILING=y
-CONFIG_ADC2_DISABLE_DAC=n
+CONFIG_ADC_DISABLE_DAC=n
CONFIG_COMPILER_WARN_WRITE_STRINGS=y
CONFIG_SPI_MASTER_IN_IRAM=y
CONFIG_EFUSE_VIRTUAL=y