From 2237cc11a3e1c6915849e2ce308bf4548fba33d7 Mon Sep 17 00:00:00 2001 From: morris Date: Thu, 28 Nov 2019 21:08:20 +0800 Subject: [PATCH] add IDF_ENV_FPGA option --- Kconfig | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Kconfig b/Kconfig index 8f1d47e7c..663272644 100644 --- a/Kconfig +++ b/Kconfig @@ -4,16 +4,14 @@ # mainmenu "Espressif IoT Development Framework Configuration" - # Hidden option to support checking for this specific target in C code and Kconfig files - config IDF_TARGET_ESP32 - bool - default "y" if IDF_TARGET="esp32" - default "n" - config IDF_CMAKE bool option env="IDF_CMAKE" + config IDF_ENV_FPGA + # This option is for internal use only + bool + config IDF_TARGET # This option records the IDF target when sdkconfig is generated the first time. # It is not updated if environment variable $IDF_TARGET changes later, and @@ -25,12 +23,10 @@ mainmenu "Espressif IoT Development Framework Configuration" config IDF_TARGET_ESP32 bool default "y" if IDF_TARGET="esp32" - default "n" config IDF_TARGET_ESP32S2BETA bool default "y" if IDF_TARGET="esp32s2beta" - default "n" select FREERTOS_UNICORE config IDF_FIRMWARE_CHIP_ID @@ -323,7 +319,7 @@ mainmenu "Espressif IoT Development Framework Configuration" menu "Compatibility options" config LEGACY_INCLUDE_COMMON_HEADERS - bool "Include headers accross components as before IDF v4.0" + bool "Include headers across components as before IDF v4.0" default n help Soc, esp32, and driver components, the most common