Files
pico-examples/pwm/hello_pwm/CMakeLists.txt
2021-07-30 08:45:51 -05:00

13 lines
314 B
CMake

add_executable(hello_pwm
hello_pwm.c
)
# pull in common dependencies and additional pwm hardware support
target_link_libraries(hello_pwm pico_stdlib hardware_pwm)
# create map/bin/hex file etc.
pico_add_extra_outputs(hello_pwm)
# add url via pico_set_program_url
example_auto_set_url(hello_pwm)