init: initial commit
Some checks failed
CI Checks / Building (macOS-latest, stable) (push) Has been cancelled
CI Checks / Building (true, macOS-latest, nightly) (push) Has been cancelled
CI Checks / Building (true, ubuntu-latest, nightly) (push) Has been cancelled
CI Checks / Building (true, windows-latest, nightly) (push) Has been cancelled
CI Checks / Building (ubuntu-latest, stable) (push) Has been cancelled
CI Checks / Building (windows-latest, stable) (push) Has been cancelled
CI Checks / Linting (push) Has been cancelled
CI Checks / Formatting (push) Has been cancelled
Some checks failed
CI Checks / Building (macOS-latest, stable) (push) Has been cancelled
CI Checks / Building (true, macOS-latest, nightly) (push) Has been cancelled
CI Checks / Building (true, ubuntu-latest, nightly) (push) Has been cancelled
CI Checks / Building (true, windows-latest, nightly) (push) Has been cancelled
CI Checks / Building (ubuntu-latest, stable) (push) Has been cancelled
CI Checks / Building (windows-latest, stable) (push) Has been cancelled
CI Checks / Linting (push) Has been cancelled
CI Checks / Formatting (push) Has been cancelled
This commit is contained in:
84
Cargo.toml
Normal file
84
Cargo.toml
Normal file
@@ -0,0 +1,84 @@
|
||||
[package]
|
||||
edition = "2021"
|
||||
name = "muse2040"
|
||||
version = "0.1.0"
|
||||
license = "LGPL-3.0-or-later"
|
||||
|
||||
[dependencies]
|
||||
cortex-m = "0.7"
|
||||
cortex-m-rt = "0.7"
|
||||
embedded-hal = { version = "1.0.0" }
|
||||
|
||||
defmt = "1"
|
||||
defmt-rtt = "1"
|
||||
format_no_std = "1.2.0"
|
||||
heapless = "0.9.2"
|
||||
panic-probe = { version = "1", features = ["print-defmt"] }
|
||||
portable-atomic = { version = "1.11.1", features = ["critical-section"] }
|
||||
static_cell = "2.1.1"
|
||||
|
||||
rp-pico = "0.9"
|
||||
|
||||
embassy-executor = { version = "0.8.0", features = ["arch-cortex-m", "executor-thread"] }
|
||||
embassy-futures = "0.1.1"
|
||||
embassy-time = { version = "0.4.0" }
|
||||
embassy-rp = { version = "0.7.0", features = ["rp2040", "time-driver", "critical-section-impl"] }
|
||||
embassy-sync = "0.7.1"
|
||||
embassy-usb = "0.5.1"
|
||||
|
||||
cyw43 = { version = "0.4.0", features = ["bluetooth"]}
|
||||
cyw43-firmware = "0.1.0"
|
||||
cyw43-pio = "0.6.0"
|
||||
trouble-host = { version = "0.2.4", features = ["central", "default-packet-pool"]}
|
||||
|
||||
# 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
|
||||
|
||||
# cargo test
|
||||
[profile.test]
|
||||
codegen-units = 1
|
||||
debug = 2
|
||||
debug-assertions = true
|
||||
incremental = false
|
||||
opt-level = 3
|
||||
overflow-checks = true
|
||||
|
||||
# cargo test --release
|
||||
[profile.bench]
|
||||
codegen-units = 1
|
||||
debug = 2
|
||||
debug-assertions = false
|
||||
incremental = false
|
||||
lto = 'fat'
|
||||
opt-level = 3
|
||||
Reference in New Issue
Block a user