This repository has been archived on 2025-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
rp2040_projects/pwm/hello_pwm/CMakeLists.txt
graham sanderson 46078742c7 Initial Release
2021-01-20 16:45:01 -06:00

13 lines
312 B
CMake

add_executable(hello_pwm
hello_pwm.c
)
# Pull in our pico_stdlib which pulls in commonly used features
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)