Skip to content

Commit e7f54c1

Browse files
committed
feat(cherryusb): support pico_stdio_usb
Signed-off-by: sakumisu <[email protected]>
1 parent c75e374 commit e7f54c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hello_world/usb/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if (TARGET tinyusb_device)
1+
if ((TARGET tinyusb_device) OR (TARGET cherryusb_device))
22
add_executable(hello_usb
33
hello_usb.c
44
)
@@ -16,5 +16,5 @@ if (TARGET tinyusb_device)
1616
# add url via pico_set_program_url
1717
example_auto_set_url(hello_usb)
1818
elseif(PICO_ON_DEVICE)
19-
message("Skipping hello_usb because TinyUSB submodule is not initialized in the SDK")
19+
message("Skipping hello_usb because TinyUSB or CherryUSB submodule is not initialized in the SDK")
2020
endif()

0 commit comments

Comments
 (0)