Skip to content

Commit

Permalink
Merge pull request #56 from SergioGasquez/feat/esp-hal-0-20
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
bjoernQ authored Sep 2, 2024
2 parents 1ef8e70 + 1388074 commit 07edbea
Show file tree
Hide file tree
Showing 15 changed files with 448 additions and 342 deletions.
341 changes: 206 additions & 135 deletions advanced/stack-overflow-detection/Cargo.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions advanced/stack-overflow-detection/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
esp-hal = { version = "0.19.0", features = ["esp32c3"] }
esp-backtrace = { version = "0.13.0", features = ["esp32c3", "panic-handler", "exception-handler", "println"] }
esp-println = { version = "0.10.0", features = ["esp32c3"] }
critical-section = "1.1.2"
esp-hal = { version = "0.20.1", features = ["esp32c3"] }
esp-backtrace = { version = "0.14.0", features = ["esp32c3", "panic-handler", "exception-handler", "println"] }
esp-println = { version = "0.11.0", features = ["esp32c3"] }
critical-section = "1.1.3"
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ fn main() -> ! {
let _ = ClockControl::boot_defaults(system.clock_control).freeze();

// get the debug assist driver
let da = DebugAssist::new(peripherals.ASSIST_DEBUG, Some(interrupt_handler));
let mut da = DebugAssist::new(peripherals.ASSIST_DEBUG);
da.set_interrupt_handler(interrupt_handler);

// set up stack overflow protection
install_stack_guard(da, 4096);
Expand Down
3 changes: 2 additions & 1 deletion advanced/stack-overflow-detection/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ fn main() -> ! {
let _ = ClockControl::boot_defaults(system.clock_control).freeze();

// get the debug assist driver
let da = DebugAssist::new(peripherals.ASSIST_DEBUG, Some(interrupt_handler));
let da = DebugAssist::new(peripherals.ASSIST_DEBUG);
da.set_interrupt_handler(interrupt_handler);

boom();

Expand Down
6 changes: 3 additions & 3 deletions intro/blinky/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
esp-hal = { version = "0.19.0", features = ["esp32c3"] }
esp-backtrace = { version = "0.13.0", features = [
esp-hal = { version = "0.20.1", features = ["esp32c3"] }
esp-backtrace = { version = "0.14.0", features = [
"esp32c3",
"panic-handler",
"exception-handler",
"println",
] }
esp-println = { version = "0.10.0", features = ["esp32c3"] }
esp-println = { version = "0.11.0", features = ["esp32c3"] }
6 changes: 3 additions & 3 deletions intro/button-interrupt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
esp-hal = { version = "0.19.0", features = ["esp32c3"] }
esp-backtrace = { version = "0.13.0", features = [
esp-hal = { version = "0.20.1", features = ["esp32c3"] }
esp-backtrace = { version = "0.14.0", features = [
"esp32c3",
"panic-handler",
"exception-handler",
"println",
] }
esp-println = { version = "0.10.0", features = ["esp32c3"] }
esp-println = { version = "0.11.0", features = ["esp32c3"] }
critical-section = "1.1.2"
6 changes: 3 additions & 3 deletions intro/button/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
esp-hal = { version = "0.19.0", features = ["esp32c3"] }
esp-backtrace = { version = "0.13.0", features = [
esp-hal = { version = "0.20.1", features = ["esp32c3"] }
esp-backtrace = { version = "0.14.0", features = [
"esp32c3",
"panic-handler",
"exception-handler",
"println",
] }
esp-println = { version = "0.10.0", features = ["esp32c3"] }
esp-println = { version = "0.11.0", features = ["esp32c3"] }
6 changes: 3 additions & 3 deletions intro/defmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
esp-hal = { version = "0.19.0", features = ["esp32c3"] }
esp-backtrace = { version = "0.13.0", features = [
esp-hal = { version = "0.20.1", features = ["esp32c3"] }
esp-backtrace = { version = "0.14.0", features = [
"esp32c3",
"panic-handler",
"exception-handler",
"defmt",
] }
esp-println = { version = "0.10.0", features = [
esp-println = { version = "0.11.0", features = [
"esp32c3",
"log",
"defmt-espflash",
Expand Down
6 changes: 3 additions & 3 deletions intro/dma/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
esp-hal = { version = "0.19.0", features = ["esp32c3"] }
esp-backtrace = { version = "0.13.0", features = [
esp-hal = { version = "0.20.1", features = ["esp32c3"] }
esp-backtrace = { version = "0.14.0", features = [
"esp32c3",
"panic-handler",
"exception-handler",
"println",
] }
esp-println = { version = "0.10.0", features = ["esp32c3"] }
esp-println = { version = "0.11.0", features = ["esp32c3"] }
6 changes: 3 additions & 3 deletions intro/hello-world/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
esp-hal = { version = "0.19.0", features = ["esp32c3"] }
esp-backtrace = { version = "0.13.0", features = [
esp-hal = { version = "0.20.1", features = ["esp32c3"] }
esp-backtrace = { version = "0.14.0", features = [
"esp32c3",
"panic-handler",
"exception-handler",
"println",
] }
esp-println = { version = "0.10.0", features = ["esp32c3"] }
esp-println = { version = "0.11.0", features = ["esp32c3"] }
Loading

0 comments on commit 07edbea

Please sign in to comment.