Skip to content

Commit

Permalink
Update to embassy-executor 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
t-moe committed Jan 6, 2025
1 parent ecec5b5 commit bf6ac04
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 18 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Breaking: Removed Features `init-log` and `init-rtt`.

### Changed

- Breaking: Bump embassy-excecutor to 0.7.0

## [0.5.0]

### Changed
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ heapless = "0.8.0"
# Optional dependencies
defmt = { version = "0.3.8", optional = true }
log = { version = "0.4.20", optional = true }
embassy-executor = { version = "0.6.1", optional = true, default-features = false }
embassy-executor = { version = "0.7.0", optional = true, default-features = false }


[features]
Expand Down
21 changes: 16 additions & 5 deletions examples/esp32c6/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/esp32c6/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ esp-hal = { version = "0.22.0", features = ["esp32c6"] }
esp-println = { version = "0.12.0", features = ["esp32c6", "log"] }
embassy-time = { version = "0.3.1", features = ["generic-queue-8"] }
esp-hal-embassy = { version = "0.5.0", features = ["esp32c6"] }
embassy-executor = { default-features = false, version = "0.6.0" }
embassy-executor = { default-features = false, version = "0.6.0" } # TODO: update to 0.7.0 when esp-hal supports it

[dev-dependencies]
embedded-test = { version = "0.6.0", features = ["embassy", "external-executor"], path = "../.." }
Expand Down
8 changes: 4 additions & 4 deletions examples/stm32f767/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/stm32f767/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ cortex-m = { version = "0.7", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7"
stm32f7xx-hal = { version = "0.8", features = ["stm32f767"] } # replace the model of your microcontroller here

embassy-executor = { default-features = false, version = "0.6.0", features = ["executor-thread", "arch-cortex-m"] }
# Note: You need to enable at least one executor feature on embassy 0.6.x
embassy-executor = { default-features = false, version = "0.7.0", features = ["executor-thread", "arch-cortex-m"] }
# Note: You need to enable at least one executor feature on embassy 0.7.x

# dependencies when using the log/defmt feature
log = { version = "0.4.20", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pub fn ensure_linker_file_was_added_to_rustflags() -> ! {
#[cfg(feature = "embassy")]
pub use embassy_executor::task;
#[cfg(all(feature = "embassy", not(feature = "external-executor")))]
pub use embassy_executor::Executor; // Please activate the `executor-thread` or `executor-interrupt` feature on the embassy-executor crate (v0.5.x/v0.6.x)!
pub use embassy_executor::Executor; // Please activate the `executor-thread` or `executor-interrupt` feature on the embassy-executor crate (v0.7.x)!

const VERSION: u32 = 1; //Format version of our protocol between probe-rs and target running embedded-test

Expand Down

0 comments on commit bf6ac04

Please sign in to comment.