Remove static_cell dependency

Removed the static_cell dependency from Cargo.toml and Cargo.lock. Also cleaned up comments and metadata in main.rs and updated .idea project settings.
This commit is contained in:
okhsunrog 2024-09-08 04:54:20 +03:00
parent 26096fb6d4
commit 253447bad2
4 changed files with 13 additions and 14 deletions

17
.idea/workspace.xml generated
View file

@ -7,7 +7,7 @@
<cargoProject FILE="$PROJECT_DIR$/Cargo.toml" />
</component>
<component name="ChangeListManager">
<list default="true" id="7b22105a-0bfb-4392-932c-cec93348d8e9" name="Changes" comment="latest stable esp-hal + hello world">
<list default="true" id="7b22105a-0bfb-4392-932c-cec93348d8e9" name="Changes" comment="latest git version of esp-hal + fix RustRover warnings + probe-rs&#10;use this command for installing working probe-rs:&#10;```&#10;cargo install probe-rs-tools \&#10; --git https://github.com/probe-rs/probe-rs \&#10; --rev 9bde591 --force --locked&#10;```">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Cargo.lock" beforeDir="false" afterPath="$PROJECT_DIR$/Cargo.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Cargo.toml" beforeDir="false" afterPath="$PROJECT_DIR$/Cargo.toml" afterDir="false" />
@ -100,7 +100,7 @@
<updated>1725751529946</updated>
<workItem from="1725751530671" duration="64000" />
<workItem from="1725752698276" duration="5000" />
<workItem from="1725758634613" duration="1240000" />
<workItem from="1725758634613" duration="1796000" />
</task>
<task id="LOCAL-00001" summary="latest stable esp-hal + hello world">
<option name="closed" value="true" />
@ -110,7 +110,15 @@
<option name="project" value="LOCAL" />
<updated>1725758678966</updated>
</task>
<option name="localTasksCounter" value="2" />
<task id="LOCAL-00002" summary="latest git version of esp-hal + fix RustRover warnings + probe-rs&#10;use this command for installing working probe-rs:&#10;```&#10;cargo install probe-rs-tools \&#10; --git https://github.com/probe-rs/probe-rs \&#10; --rev 9bde591 --force --locked&#10;```">
<option name="closed" value="true" />
<created>1725759926412</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1725759926413</updated>
</task>
<option name="localTasksCounter" value="3" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -118,6 +126,7 @@
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="latest stable esp-hal + hello world" />
<option name="LAST_COMMIT_MESSAGE" value="latest stable esp-hal + hello world" />
<MESSAGE value="latest git version of esp-hal + fix RustRover warnings + probe-rs&#10;use this command for installing working probe-rs:&#10;```&#10;cargo install probe-rs-tools \&#10; --git https://github.com/probe-rs/probe-rs \&#10; --rev 9bde591 --force --locked&#10;```" />
<option name="LAST_COMMIT_MESSAGE" value="latest git version of esp-hal + fix RustRover warnings + probe-rs&#10;use this command for installing working probe-rs:&#10;```&#10;cargo install probe-rs-tools \&#10; --git https://github.com/probe-rs/probe-rs \&#10; --rev 9bde591 --force --locked&#10;```" />
</component>
</project>

1
Cargo.lock generated
View file

@ -575,7 +575,6 @@ dependencies = [
"esp-backtrace",
"esp-hal",
"esp-hal-embassy",
"static_cell",
]
[[package]]

View file

@ -12,7 +12,6 @@ embassy-time = { version = "0.3", features = ["generic-queue-8"] }
esp-backtrace = { version = "0.14", features = ["esp32c3", "defmt", "exception-handler", "panic-handler"] }
esp-hal = { version = "0.20", features = ["esp32c3", "defmt"] }
esp-hal-embassy = { version = "0.3", features = ["esp32c3", "defmt"] }
static_cell = { version = "2.1", features = ["nightly"] }
[profile.release]
codegen-units = 1

View file

@ -1,11 +1,3 @@
//! embassy hello world
//!
//! This is an example of running the embassy executor with multiple tasks
//! concurrently.
//% CHIPS: esp32 esp32c2 esp32c3 esp32c6 esp32h2 esp32s2 esp32s3
//% FEATURES: embassy esp-hal-embassy/integrated-timers
#![no_std]
#![no_main]