simple picorom interface
This commit is contained in:
41
Cargo.toml
41
Cargo.toml
@@ -9,13 +9,52 @@ test = false
|
||||
bench = false
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.7"
|
||||
cortex-m = { version = "0.7", features = ["inline-asm"] }
|
||||
cortex-m-rt = "0.7"
|
||||
panic-probe = { version = "1.0", features = ["print-defmt", "defmt-error"] }
|
||||
rp-pico = "0.9"
|
||||
embedded-hal = "1.0"
|
||||
pio = "0.2"
|
||||
pio-proc = "0.2"
|
||||
usb-device = { version = "0.3", features = ["defmt"] }
|
||||
usbd-serial = "0.2"
|
||||
|
||||
defmt = "1.0"
|
||||
defmt-rtt = "1.1"
|
||||
|
||||
num_enum = { version = "0.7", default-features = false }
|
||||
heapless = "0.9"
|
||||
|
||||
# cargo build/run
|
||||
[profile.dev]
|
||||
codegen-units = 1
|
||||
debug = 2
|
||||
debug-assertions = true
|
||||
incremental = false
|
||||
opt-level = 3
|
||||
overflow-checks = true
|
||||
|
||||
# cargo build/run --release
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
debug = 2
|
||||
debug-assertions = false
|
||||
incremental = false
|
||||
lto = 'fat'
|
||||
opt-level = 3
|
||||
overflow-checks = false
|
||||
|
||||
# do not optimize proc-macro crates = faster builds from scratch
|
||||
[profile.dev.build-override]
|
||||
codegen-units = 8
|
||||
debug = false
|
||||
debug-assertions = false
|
||||
opt-level = 0
|
||||
overflow-checks = false
|
||||
|
||||
[profile.release.build-override]
|
||||
codegen-units = 8
|
||||
debug = false
|
||||
debug-assertions = false
|
||||
opt-level = 0
|
||||
overflow-checks = false
|
||||
|
||||
Reference in New Issue
Block a user