chore(cmake): add CONFIG_CHERRYUSB check, update custom file cmake
Signed-off-by: sakumisu <1203593632@qq.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
if(CONFIG_CHERRYUSB)
|
||||
|
||||
if(BL_SDK_BASE)
|
||||
set(CONFIG_CHERRYUSB_DEVICE_CDC_ACM 1)
|
||||
set(CONFIG_CHERRYUSB_DEVICE_HID 1)
|
||||
@@ -172,3 +174,5 @@ elseif(HPM_SDK_BASE)
|
||||
sdk_inc(${cherryusb_incs})
|
||||
sdk_src(${cherryusb_srcs})
|
||||
endif()
|
||||
|
||||
endif()
|
||||
Reference in New Issue
Block a user