my first commit
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
if (TARGET tinyusb_device)
|
||||
add_executable(hello_usb
|
||||
hello_usb.c
|
||||
hello_usb.cpp
|
||||
)
|
||||
|
||||
set(PICO_CXX_ENABLE_EXCEPTIONS 1)
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_usb pico_stdlib)
|
||||
target_link_libraries(hello_usb pico_stdlib pico_multicore pico_util)
|
||||
target_compile_definitions(hello_usb PRIVATE PARAM_ASSERTIONS_ENABLE_ALL=1)
|
||||
|
||||
# enable usb output, disable uart output
|
||||
pico_enable_stdio_usb(hello_usb 1)
|
||||
|
||||
Reference in New Issue
Block a user