adding oled support
This commit is contained in:
@@ -36,12 +36,14 @@ pico_sdk_init()
|
||||
# Add executable. Default name is the project name, version 0.1
|
||||
|
||||
if (TARGET tinyusb_device)
|
||||
add_executable(hello_usb
|
||||
hello_usb.c
|
||||
add_executable(hello_usb
|
||||
hello_usb.cpp
|
||||
)
|
||||
|
||||
add_subdirectory(pico-ssd1306)
|
||||
|
||||
# pull in common dependencies
|
||||
target_link_libraries(hello_usb pico_stdlib)
|
||||
target_link_libraries(hello_usb pico_stdlib pico_ssd1306 hardware_i2c)
|
||||
|
||||
# enable usb output, disable uart output
|
||||
pico_enable_stdio_usb(hello_usb 1)
|
||||
|
||||
Reference in New Issue
Block a user