Skip to content

Commit c4803c8

Browse files
committed
Remove deprecated SDK config option from CMake
- Replace deprecated option with current one (disabled) when not using it. ***NO_CI***
1 parent 365bbb9 commit c4803c8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CMake/binutils.ESP32.cmake

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -749,8 +749,7 @@ macro(nf_add_idf_as_library)
749749
list(APPEND IDF_LIBRARIES_TO_ADD idf::esp_tinyusb)
750750
list(APPEND IDF_LIBRARIES_TO_ADD idf::tinyusb)
751751

752-
string(APPEND SDKCONFIG_DEFAULT_CONTENTS "\nCONFIG_TINYUSB_ENABLED=y\n")
753-
string(APPEND SDKCONFIG_DEFAULT_CONTENTS "CONFIG_TINYUSB_CDC_ENABLED=y\n")
752+
string(APPEND SDKCONFIG_DEFAULT_CONTENTS "\nCONFIG_TINYUSB_CDC_ENABLED=y\n")
754753
string(APPEND SDKCONFIG_DEFAULT_CONTENTS "CONFIG_TINYUSB_DESC_PRODUCT_STRING=\"nanoFramework device\"\n")
755754
string(APPEND SDKCONFIG_DEFAULT_CONTENTS "CONFIG_TINYUSB_DESC_CDC_STRING=\"nanoFramework device\"\n")
756755
string(APPEND SDKCONFIG_DEFAULT_CONTENTS "CONFIG_TINYUSB_CDC_RX_BUFSIZE=64\n")
@@ -760,7 +759,7 @@ macro(nf_add_idf_as_library)
760759
else()
761760
message(STATUS "Support for embedded USB CDC **IS NOT** enabled")
762761

763-
string(APPEND SDKCONFIG_DEFAULT_CONTENTS "\nCONFIG_TINYUSB_ENABLED=n\n")
762+
string(APPEND SDKCONFIG_DEFAULT_CONTENTS "\nCONFIG_TINYUSB_CDC_ENABLED=n\n")
764763
endif()
765764

766765
# need to temporarily allow changes in source files

0 commit comments

Comments
 (0)