rp/clocks: don't disrupt PLLs if already running.

This makes it possible to run under https://github.com/majbthrd/pico-debug
This commit is contained in:
Dario Nieuwenhuis
2021-06-30 23:45:07 +02:00
parent 53c236fde8
commit 5fae5d20c0
2 changed files with 59 additions and 35 deletions

View File

@ -22,6 +22,6 @@ cortex-m-rt = "0.6.13"
cortex-m = "0.7.1"
critical-section = "0.2.1"
rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="fbb1004086225c74ff3c02db9309767cebef5dce", features = ["rt"] }
rp2040-pac2 = { git = "https://github.com/embassy-rs/rp2040-pac2", rev="91fa122b4923fdc02462a39ec109b161aedb29b4", features = ["rt"] }
#rp2040-pac2 = { path = "../../rp/rp2040-pac2" }
embedded-hal = { version = "0.2.4", features = [ "unproven" ] }