fix: Support S2 and S3 in CMake
This commit is contained in:
parent
120522d0f6
commit
d086cb0f07
|
@ -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})
|
||||
|
|
|
@ -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)
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
|
Loading…
Reference in New Issue