2021-05-10 06:23:34 +01:00
|
|
|
set(OUTPUT_NAME rtc_demo)
|
|
|
|
|
|
|
|
add_executable(
|
|
|
|
${OUTPUT_NAME}
|
|
|
|
demo.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
# enable usb output, disable uart output
|
|
|
|
pico_enable_stdio_usb(${OUTPUT_NAME} 1)
|
2021-05-14 18:12:37 +01:00
|
|
|
pico_enable_stdio_uart(${OUTPUT_NAME} 1)
|
2021-05-10 06:23:34 +01:00
|
|
|
|
|
|
|
# Pull in pico libraries that we need
|
|
|
|
target_link_libraries(${OUTPUT_NAME} pico_stdlib breakout_rtc)
|
|
|
|
|
|
|
|
# create map/bin/hex file etc.
|
|
|
|
pico_add_extra_outputs(${OUTPUT_NAME})
|