From c5d20dc2310bed5407ecb8106471da7be85f2457 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 25 May 2021 11:11:33 +1000 Subject: [PATCH] fpga: Disable BOD when running on FPGA --- components/esp32/Kconfig | 1 + components/esp32c3/Kconfig | 1 + components/esp32s2/Kconfig | 1 + components/esp32s3/Kconfig | 1 + 4 files changed, 4 insertions(+) diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index 3f43c7e72b..b166fcdc7b 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -532,6 +532,7 @@ menu "ESP32-specific" config ESP32_BROWNOUT_DET bool "Hardware brownout detect & reset" + depends on !IDF_ENV_FPGA default y help The ESP32 has a built-in brownout detector which can detect if the voltage is lower than diff --git a/components/esp32c3/Kconfig b/components/esp32c3/Kconfig index 26d4bacfb9..bb583c732e 100644 --- a/components/esp32c3/Kconfig +++ b/components/esp32c3/Kconfig @@ -66,6 +66,7 @@ menu "ESP32C3-Specific" config ESP32C3_BROWNOUT_DET bool "Hardware brownout detect & reset" + depends on !IDF_ENV_FPGA default y help The ESP32-C3 has a built-in brownout detector which can detect if the voltage is lower than diff --git a/components/esp32s2/Kconfig b/components/esp32s2/Kconfig index 7aae82862a..9c8805dacf 100644 --- a/components/esp32s2/Kconfig +++ b/components/esp32s2/Kconfig @@ -266,6 +266,7 @@ menu "ESP32S2-specific" config ESP32S2_BROWNOUT_DET bool "Hardware brownout detect & reset" + depends on !IDF_ENV_FPGA default y help The ESP32-S2 has a built-in brownout detector which can detect if the voltage is lower than diff --git a/components/esp32s3/Kconfig b/components/esp32s3/Kconfig index c4fd9a8c67..77b51f890d 100644 --- a/components/esp32s3/Kconfig +++ b/components/esp32s3/Kconfig @@ -331,6 +331,7 @@ menu "ESP32S3-Specific" config ESP32S3_BROWNOUT_DET bool "Hardware brownout detect & reset" + depends on !IDF_ENV_FPGA default y help The ESP32-S3 has a built-in brownout detector which can detect if the voltage is lower than