Add example of detaching peripheral clock and varying system clock

This commit is contained in:
Luke Wren
2021-02-04 17:46:53 +00:00
committed by Graham Sanderson
parent 49d1514123
commit 6a53ff302b
3 changed files with 99 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
add_executable(clocks_detached_clk_peri
detached_clk_peri.c
)
# Pull in our pico_stdlib which pulls in commonly used features
target_link_libraries(clocks_detached_clk_peri pico_stdlib)
# create map/bin/hex file etc.
pico_add_extra_outputs(clocks_detached_clk_peri)
# add url via pico_set_program_url
example_auto_set_url(clocks_detached_clk_peri)