kopia lustrzana https://github.com/raspberrypi/pico-playground
15 wiersze
384 B
CMake
15 wiersze
384 B
CMake
if (TARGET hardware_reset)
|
|
add_executable(hello_reset
|
|
hello_reset.c
|
|
)
|
|
|
|
# Pull in our pico_stdlib which pulls in commonly used features
|
|
target_link_libraries(hello_reset pico_stdlib)
|
|
|
|
# create map/bin/hex file etc.
|
|
pico_add_extra_outputs(hello_reset)
|
|
|
|
# add url via pico_set_program_url
|
|
playground_auto_set_url(hello_reset)
|
|
endif ()
|