This is an automated email from the ASF dual-hosted git repository.
archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new ff1dc87ccf0 drivers/usbdev: Aligned Cmake with Make
ff1dc87ccf0 is described below
commit ff1dc87ccf062bbdf085bcaa3c4e5868f11a1a30
Author: simbit18 <[email protected]>
AuthorDate: Thu Oct 9 10:24:27 2025 +0200
drivers/usbdev: Aligned Cmake with Make
Add:
- media transfer protocol (MTP) #10620
Signed-off-by: simbit18 <[email protected]>
---
drivers/usbdev/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/usbdev/CMakeLists.txt b/drivers/usbdev/CMakeLists.txt
index 6fef1b4ad4a..cae55d63e39 100644
--- a/drivers/usbdev/CMakeLists.txt
+++ b/drivers/usbdev/CMakeLists.txt
@@ -57,6 +57,10 @@ if(CONFIG_USBDEV)
list(APPEND SRCS adb.c)
endif()
+ if(CONFIG_USBMTP)
+ list(APPEND SRCS mtp.c)
+ endif()
+
if(CONFIG_NET_CDCECM)
list(APPEND SRCS cdcecm.c)
endif()