pimoroni-pico/examples/plasma2040/plasma2040_level.cmake

18 lines
370 B
CMake

set(OUTPUT_NAME plasma2040_level)
add_executable(${OUTPUT_NAME} plasma2040_level.cpp)
target_link_libraries(${OUTPUT_NAME}
pico_stdlib
plasma2040
breakout_msa301
hardware_i2c
pimoroni_i2c
rgbled
button
)
# enable usb output
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
pico_add_extra_outputs(${OUTPUT_NAME})