30 lines
760 B
TOML
30 lines
760 B
TOML
[package]
|
|
name = "rp2040-usb-ramdisk"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
cortex-m = "0.7.7"
|
|
cortex-m-rt = { version = "0.7.5", optional = true }
|
|
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"
|
|
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"
|