-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
30 lines (23 loc) · 1.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[package]
name = "pico-usb"
version = "0.1.0"
authors = ["Dominik Boehi <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rp2040-pac = { version = "*", git = "https://github.com/rp-rs/rp2040-pac", branch = "main", features = ["rt"] }
rp2040-boot2 = { version = "*", git = "https://github.com/rp-rs/rp2040-boot2-rs.git", branch = "main"}
cortex-m = "0.7"
cortex-m-rt = "0.6.13"
panic-halt = "0.2.0"
usb-device = { version = "*", git = "https://github.com/Disasm/usb-device.git" }
vcell = "0.1.2"
rtt-target = { version = "0.3.0", features = ["cortex-m"] }
ufmt = "0.1.0"
[patch."https://github.com/rp-rs/rp2040-pac"]
rp2040-pac = { version = "*", git = "https://github.com/Tiwalun/rp2040-pac", branch = "usb-buff-status-writable"}
[profile.release]
codegen-units = 1 # better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = true # better optimizations
overflow-checks = true # for debugging