13 lines
375 B
CMake
13 lines
375 B
CMake
add_executable(pwm_measure_duty_cycle
|
|
measure_duty_cycle.c
|
|
)
|
|
|
|
# pull in common dependencies and additional pwm hardware support
|
|
target_link_libraries(pwm_measure_duty_cycle pico_stdlib hardware_pwm)
|
|
|
|
# create map/bin/hex file etc.
|
|
pico_add_extra_outputs(pwm_measure_duty_cycle)
|
|
|
|
# add url via pico_set_program_url
|
|
example_auto_set_url(pwm_measure_duty_cycle)
|