We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c75e374 commit e7f54c1Copy full SHA for e7f54c1
hello_world/usb/CMakeLists.txt
@@ -1,4 +1,4 @@
1
-if (TARGET tinyusb_device)
+if ((TARGET tinyusb_device) OR (TARGET cherryusb_device))
2
add_executable(hello_usb
3
hello_usb.c
4
)
@@ -16,5 +16,5 @@ if (TARGET tinyusb_device)
16
# add url via pico_set_program_url
17
example_auto_set_url(hello_usb)
18
elseif(PICO_ON_DEVICE)
19
- message("Skipping hello_usb because TinyUSB submodule is not initialized in the SDK")
+ message("Skipping hello_usb because TinyUSB or CherryUSB submodule is not initialized in the SDK")
20
endif()
0 commit comments