Skip to content

Instantly share code, notes, and snippets.

@DuqueDeTuring
Created November 13, 2022 02:08
Show Gist options
  • Save DuqueDeTuring/96a72950c696c85dd04930e87ce9e623 to your computer and use it in GitHub Desktop.
Save DuqueDeTuring/96a72950c696c85dd04930e87ce9e623 to your computer and use it in GitHub Desktop.
cmake blink example for pico w
add_executable(blink
blink.c
)
# pull in common dependencies
target_link_libraries(blink pico_stdlib pico_cyw43_arch_none )
# create map/bin/hex file etc.
pico_add_extra_outputs(blink)
# add url via pico_set_program_url
example_auto_set_url(blink)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment