compiles and run example

This commit is contained in:
Emanuele Trabattoni
2021-05-16 14:24:45 +02:00
parent a6cf43860e
commit cbdc29724e
4 changed files with 8 additions and 0 deletions

View File

@@ -4,5 +4,9 @@ add_executable(emon main.cpp)
# Pull in our pico_stdlib which aggregates commonly used features
target_link_libraries(emon pico_stdlib)
# enable usb output, disable uart output
pico_enable_stdio_usb(emon 1)
pico_enable_stdio_uart(emon 0)
# create map/bin/hex/uf2 file etc.
pico_add_extra_outputs(emon)