make rom faster

This commit is contained in:
2025-11-23 17:12:27 +01:00
parent 53d35464f5
commit 6cf860fb34
10 changed files with 318 additions and 29 deletions

View File

@@ -2,6 +2,7 @@
name = "picorom-rs"
version = "0.1.0"
edition = "2024"
license = "MIT or Apache-2.0"
[lints.clippy]
pedantic = "warn"
@@ -14,6 +15,7 @@ test = false
bench = false
[dependencies]
cortex-m = "0.7"
cortex-m-rt = "0.7"
embassy-rp = { version = "0.8", features = [
"time-driver",
@@ -26,9 +28,12 @@ embassy-rp = { version = "0.8", features = [
embassy-executor = { version = "0.9", features = [
"defmt",
"executor-thread",
"executor-interrupt",
"arch-cortex-m",
] }
embassy-time = { version = "0.5", features = [
"defmt",
"defmt-timestamp-uptime-tus",
] }
embassy-usb = { version = "0.5", default-features = false, features = [
"defmt",
] }
@@ -51,7 +56,7 @@ codegen-units = 1
debug = 2
debug-assertions = true
incremental = false
opt-level = 3
opt-level = 'z'
overflow-checks = true
# cargo build/run --release