Skip to content

Instantly share code, notes, and snippets.

@elktros
Created March 22, 2021 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elktros/1ce86469ac169718a0f6672b4a760be4 to your computer and use it in GitHub Desktop.
Save elktros/1ce86469ac169718a0f6672b4a760be4 to your computer and use it in GitHub Desktop.
Raspberry Pi Pico UART Serial CMakeLists
add_executable(hello_serial
hello_serial.c
)
# Pull in our pico_stdlib which aggregates commonly used features
target_link_libraries(hello_serial pico_stdlib)
# create map/bin/hex/uf2 file etc.
pico_add_extra_outputs(hello_serial)
# add url via pico_set_program_url
example_auto_set_url(hello_serial)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment