2021-06-15 14:45:05 +01:00
|
|
|
set(OUTPUT_NAME pmw3901_motion)
|
|
|
|
|
|
|
|
add_executable(
|
|
|
|
${OUTPUT_NAME}
|
|
|
|
motion.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
# enable usb output, disable uart output
|
|
|
|
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
|
|
|
|
pico_enable_stdio_uart(${OUTPUT_NAME} 1)
|
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
2021-09-13 21:58:11 +01:00
|
|
|
target_link_libraries(${OUTPUT_NAME} pico_stdlib breakout_pmw3901 breakout_paa5100)
|
2021-06-15 14:45:05 +01:00
|
|
|
|
|
|
|
# create map/bin/hex file etc.
|
|
|
|
pico_add_extra_outputs(${OUTPUT_NAME})
|