Update dependencies to released versions of crates
This commit is contained in:
parent
3e193672b8
commit
b03e3eef45
@ -17,14 +17,14 @@ defmt-rtt = "0.3.0"
|
|||||||
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
|
panic-probe = { version = "0.3.0", features = ["print-defmt"] }
|
||||||
|
|
||||||
# We're using a Pico by default on this template
|
# 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
|
# 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:
|
# 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-hal = { version="0.3.0", features=["rt"] }
|
||||||
# rp2040-boot2 = { git = "https://github.com/rp-rs/rp2040-boot2-rs", branch="main" }
|
# rp2040-boot2 = "0.2.0"
|
||||||
|
|
||||||
# cargo build/run
|
# cargo build/run
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
|
|||||||
@ -13,8 +13,8 @@ use panic_probe as _;
|
|||||||
|
|
||||||
// Provide an alias for our BSP so we can switch targets quickly.
|
// 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.
|
// Uncomment the BSP you included in Cargo.toml, the rest of the code does not need to change.
|
||||||
use pico as bsp;
|
use rp_pico as bsp;
|
||||||
// use pro_micro_rp2040 as bsp;
|
// use sparkfun_pro_micro_rp2040 as bsp;
|
||||||
|
|
||||||
use bsp::hal::{
|
use bsp::hal::{
|
||||||
clocks::{init_clocks_and_plls, Clock},
|
clocks::{init_clocks_and_plls, Clock},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user