15 lines
353 B
CMake
15 lines
353 B
CMake
|
set(OUTPUT_NAME inventor2040w_read_adcs)
|
||
|
add_executable(${OUTPUT_NAME} inventor2040w_read_adcs.cpp)
|
||
|
|
||
|
# Pull in pico libraries that we need
|
||
|
target_link_libraries(${OUTPUT_NAME}
|
||
|
pico_stdlib
|
||
|
inventor
|
||
|
analog
|
||
|
)
|
||
|
|
||
|
# enable usb output
|
||
|
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
|
||
|
|
||
|
# create map/bin/hex file etc.
|
||
|
pico_add_extra_outputs(${OUTPUT_NAME})
|