Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Update dependencies (#163)
Browse files Browse the repository at this point in the history
* build: Update deps

* fix: Update timer
  • Loading branch information
SergioGasquez authored Jul 16, 2024
1 parent fd8e76b commit 437aa2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
esp-backtrace = { version = "0.12.0", features = [
esp-backtrace = { version = "0.12.2", features = [
"{{ mcu }}",
"exception-handler",
"panic-handler",
"println",
] }
esp-hal = { version = "0.18.0", features = [ "{{ mcu }}" ] }
esp-println = { version = "0.9.1", features = ["{{ mcu }}", "log"] }
esp-hal = { version = "0.19.0", features = [ "{{ mcu }}" ] }
esp-println = { version = "0.10.0", features = ["{{ mcu }}", "log"] }
log = { version = "0.4.21" }
{% if alloc -%}
esp-alloc = { version = "0.4.0" }
{% endif -%}
{% if wifi -%}
embedded-svc = { version = "0.26.1", default-features = false, features = [] }
embedded-io = "0.6.1"
esp-wifi = { version = "0.6.0", features = [
esp-wifi = { version = "0.7.0", features = [
"{{ mcu }}",
"phy-enable-usb",
"utils",
Expand Down
2 changes: 1 addition & 1 deletion pre-script.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn init_heap() {
// depends on: `peripherals` being in scope
variable::set("esp_wifi_snippet",
`
let timer = esp_hal::${meta.esp_wifi_timer};
let timer = esp_hal::timer::PeriodicTimer::new(esp_hal::${meta.esp_wifi_timer}.into());
let _init = esp_wifi::initialize(
esp_wifi::EspWifiInitFor::${meta.esp_wifi_init},
timer,
Expand Down

0 comments on commit 437aa2f

Please sign in to comment.