pimoroni-pico/examples/breakout_as7262/explorer_bargraph.cmake

17 wiersze
436 B
CMake
Czysty Zwykły widok Historia

2021-05-12 15:04:34 +00:00
set(OUTPUT_NAME as7262_explorer_bargraph)
add_executable(
${OUTPUT_NAME}
explorer_bargraph.cpp
)
# enable usb output, disable uart output
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
2021-05-14 09:44:12 +00:00
pico_enable_stdio_uart(${OUTPUT_NAME} 1)
2021-05-12 15:04:34 +00:00
# Pull in pico libraries that we need
target_link_libraries(${OUTPUT_NAME} pico_stdlib breakout_as7262 pico_explorer pico_graphics st7789)
2021-05-12 15:04:34 +00:00
# create map/bin/hex file etc.
pico_add_extra_outputs(${OUTPUT_NAME})