Update dependencies to released versions of crates

This commit is contained in:
Jan Niehusmann 2021-12-25 19:42:17 +00:00 committed by 9names
parent 3e193672b8
commit b03e3eef45
2 changed files with 6 additions and 6 deletions

View File

@ -17,14 +17,14 @@ defmt-rtt = "0.3.0"
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
# We're using a Pico by default on this template
pico = { git = "https://github.com/rp-rs/rp-hal", branch="main"}
rp-pico = "0.2.0"
# but you can use any BSP. Uncomment this to use the pro_micro_rp2040 BSP instead
# pro_micro_rp2040 = { git = "https://github.com/rp-rs/rp-hal", branch="main"}
# sparkfun-pro-micro-rp2040 = "0.1.0"
# If you're not going to use a Board Support Package you'll need these:
# rp2040-hal = { git = "https://github.com/rp-rs/rp-hal", branch="main", features=["rt"] }
# rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", branch="main" }
# rp2040-hal = { version="0.3.0", features=["rt"] }
# rp2040-boot2 = "0.2.0"
# cargo build/run
[profile.dev]

View File

@ -13,8 +13,8 @@ use panic_probe as _;
// Provide an alias for our BSP so we can switch targets quickly.
// Uncomment the BSP you included in Cargo.toml, the rest of the code does not need to change.
use pico as bsp;
// use pro_micro_rp2040 as bsp;
use rp_pico as bsp;
// use sparkfun_pro_micro_rp2040 as bsp;
use bsp::hal::{
clocks::{init_clocks_and_plls, Clock},