Use RP2350
This commit is contained in:
parent
1f8a8ff81a
commit
cd44e736db
8 changed files with 252 additions and 157 deletions
29
Cargo.toml
29
Cargo.toml
|
|
@ -1,30 +1,17 @@
|
|||
[package]
|
||||
name = "rp2040-usb-ramdisk"
|
||||
name = "rp2350-usb-ramdisk"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.7.7"
|
||||
cortex-m-rt = { version = "0.7.5", optional = true }
|
||||
cortex-m-rt = "0.7.5"
|
||||
critical-section = "1.2.0"
|
||||
defmt = "0.3.10"
|
||||
defmt-rtt = "0.4.1"
|
||||
embedded-hal = "1.0.0"
|
||||
panic-probe = { version = "0.3.2", features = ["print-defmt"] }
|
||||
rp-pico = "0.9.0"
|
||||
rp2040-boot2 = { version = "0.3.0", optional = true }
|
||||
rp2040-hal = "0.10.2"
|
||||
panic-halt = "1.0.0"
|
||||
panic-probe = "0.3.2"
|
||||
rp235x-hal = { version = "0.3.0", features = ["binary-info", "critical-section-impl", "rt", "defmt"] }
|
||||
usb-device = "0.3.2"
|
||||
usbd-storage = { version = "1.0.0", features = ["scsi", "bbb", "defmt"] }
|
||||
|
||||
[features]
|
||||
default = ["boot2", "rt", "critical-section-impl"]
|
||||
boot2 = ["rp2040-boot2"]
|
||||
rt = ["cortex-m-rt","rp2040-hal/rt"]
|
||||
critical-section-impl = ["rp2040-hal/critical-section-impl"]
|
||||
cortex-m-rt = ["dep:cortex-m-rt"]
|
||||
|
||||
[profile.dev]
|
||||
panic = "abort"
|
||||
|
||||
[profile.release]
|
||||
panic = "abort"
|
||||
usbd-storage = { version = "1.0.0", features = ["bbb", "defmt", "scsi"] }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue