Further fixes and adjustments for getting UART working on esp32 boards

This commit is contained in:
Lorow
2025-11-04 00:55:12 +01:00
parent 3b66642a83
commit 68cac0b3ac
20 changed files with 129 additions and 100 deletions

View File

@@ -5,7 +5,7 @@ set (
ProjectConfig
)
if ("$ENV{IDF_ETARGET}" STREQUAL "esp32s3")
if ("$ENV{IDF_TARGET}" STREQUAL "esp32s3")
list(APPEND requires
tinyusb
)
@@ -16,7 +16,7 @@ set (
"SerialManager/SerialManager.cpp"
)
if ("$ENV{IDF_ETARGET}" STREQUAL "esp32s3" OR "$ENV{IDF_ETARGET}" STREQUAL "esp32s2" )
if ("$ENV{IDF_TARGET}" STREQUAL "esp32s3" )
list(APPEND source_files
"SerialManager/SerialManager_esp32s3.cpp"
)