fixed async/sync usage
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
[package]
|
||||
edition = "2024"
|
||||
name = "esp32c6-async"
|
||||
edition = "2024"
|
||||
name = "esp32c6-async"
|
||||
rust-version = "1.88"
|
||||
version = "0.1.0"
|
||||
version = "0.1.0"
|
||||
|
||||
[[bin]]
|
||||
name = "esp32c6-async"
|
||||
@@ -16,12 +16,12 @@ esp-rtos = { version = "0.2.0", features = ["embassy", "esp32c6"] }
|
||||
esp-bootloader-esp-idf = { version = "0.4.0", features = ["esp32c6"] }
|
||||
|
||||
embassy-executor = { version = "0.9.1", features = [] }
|
||||
embassy-time = "0.5.0"
|
||||
embassy-time = "0.5.0"
|
||||
|
||||
critical-section = "1.2.0"
|
||||
static_cell = "2.1.1"
|
||||
static_cell = "2.1.1"
|
||||
|
||||
as7265x = { path = "../..", features = ["async"] }
|
||||
as7265x = { path = "../.." }
|
||||
esp-println = { version = "0.16.1", features = ["esp32c6"] }
|
||||
|
||||
[profile.dev]
|
||||
@@ -30,10 +30,10 @@ esp-println = { version = "0.16.1", features = ["esp32c6"] }
|
||||
opt-level = "s"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1 # LLVM can perform better optimizations using a single thread
|
||||
debug = 2
|
||||
codegen-units = 1 # LLVM can perform better optimizations using a single thread
|
||||
debug = 2
|
||||
debug-assertions = false
|
||||
incremental = false
|
||||
lto = 'fat'
|
||||
opt-level = 's'
|
||||
overflow-checks = false
|
||||
incremental = false
|
||||
lto = 'fat'
|
||||
opt-level = 's'
|
||||
overflow-checks = false
|
||||
|
||||
Reference in New Issue
Block a user