fix comp time and rename feature to psram

This commit is contained in:
2025-11-09 10:58:33 -07:00
parent 6d7912ce5b
commit f0d9f41fea
5 changed files with 65 additions and 91 deletions

View File

@@ -11,11 +11,13 @@ doctest = false
bench = false
[features]
default = ["rp235x", "defmt", "fps"]
pimoroni2w = ["rp235x"]
rp2040 = ["embassy-rp/rp2040"]
default = ["rp235x", "defmt"]
pimoroni2w = ["rp235x", "psram"]
# rp2040 = ["embassy-rp/rp2040"] # unsupported, ram too small for fb
rp235x = ["embassy-rp/rp235xb"]
trouble = ["dep:bt-hci", "dep:cyw43", "dep:cyw43-pio", "dep:trouble-host"]
psram = ["dep:embedded-alloc"]
fps = []
defmt = [
"dep:defmt",
"panic-probe/print-defmt",
@@ -30,7 +32,6 @@ defmt = [
# "cyw43/defmt",
# "cyw43-pio/defmt",
]
fps = []
[dependencies]
embassy-executor = { version = "0.9", features = [
@@ -79,7 +80,6 @@ st7365p-lcd = { git = "https://github.com/legitcamper/st7365p-lcd-rs", rev = "a7
embedded-graphics = { version = "0.8.1" }
embedded-text = "0.7.2"
embedded-layout = "0.4.2"
kolibri-embedded-gui = "0.1.0"
strum = { version = "0.27.2", default-features = false }
rand = { version = "0.9.0", default-features = false }
@@ -91,7 +91,9 @@ spin = "0.10.0"
num_enum = { version = "0.7.4", default-features = false }
goblin = { version = "0.10.1", default-features = false, features = ["elf32"] }
talc = "4.4.3"
embedded-alloc = { version = "0.6.0", features = ["allocator_api"] }
embedded-alloc = { version = "0.6.0", features = [
"allocator_api",
], optional = true }
bumpalo = "3.19.0"
abi_sys = { path = "../abi_sys" }