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/led_fade/CMakeLists.txt
graham sanderson 46078742c7 Initial Release
2021-01-20 16:45:01 -06:00

13 lines
327 B
CMake

add_executable(pwm_led_fade
pwm_led_fade.c
)
# Pull in our pico_stdlib which pulls in commonly used features
target_link_libraries(pwm_led_fade pico_stdlib hardware_pwm)
# create map/bin/hex file etc.
pico_add_extra_outputs(pwm_led_fade)
# add url via pico_set_program_url
example_auto_set_url(pwm_led_fade)