fix: Support S2 and S3 in CMake

This commit is contained in:
Tomas Rezucha 2022-12-02 08:03:41 +01:00
parent 120522d0f6
commit d086cb0f07
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ idf_component_register(SRCS ${srcs}
INCLUDE_DIRS ${includes_public}
PRIV_INCLUDE_DIRS ${includes_private}
PRIV_REQUIRES driver
REQUIRED_IDF_TARGETS esp32s3 esp32s3
REQUIRED_IDF_TARGETS esp32s2 esp32s3
)
target_compile_options(${COMPONENT_LIB} PRIVATE ${compile_options})

View File

@ -31,7 +31,7 @@
#define TUSB_VERSION_MAJOR 0
#define TUSB_VERSION_MINOR 12
#define TUSB_VERSION_REVISION 1
#define TUSB_VERSION_REVISION 2
#define TUSB_VERSION_STRING TU_STRING(TUSB_VERSION_MAJOR) "." TU_STRING(TUSB_VERSION_MINOR) "." TU_STRING(TUSB_VERSION_REVISION)
//--------------------------------------------------------------------+