Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/.cargo/config.toml b/.cargo/config.toml
- index 7b52192..431674c 100644
- --- a/.cargo/config.toml
- +++ b/.cargo/config.toml
- @@ -1,4 +1,4 @@
- -[target.xtensa-esp32s3-none-elf]
- +[target.xtensa-esp32-none-elf]
- runner = "espflash flash --monitor"
- @@ -14,7 +14,7 @@ rustflags = [
- "link-arg=-nostartfiles",
- ]
- -target = "xtensa-esp32s3-none-elf"
- +target = "xtensa-esp32-none-elf"
- [unstable]
- build-std = ["alloc", "core"]
- diff --git a/Cargo.toml b/Cargo.toml
- index 9a433f3..7095ac0 100644
- --- a/Cargo.toml
- +++ b/Cargo.toml
- @@ -7,23 +7,23 @@ license = "MIT OR Apache-2.0"
- [dependencies]
- -esp32s3-hal = { version = "0.15.0", features = [
- +esp32-hal = { version = "0.18.0", features = [
- "embassy",
- "embassy-executor-thread",
- "embassy-time-timg0",
- "log",
- ] }
- esp-backtrace = { version = "0.11.0", features = [
- - "esp32s3",
- + "esp32",
- "panic-handler",
- "exception-handler",
- "println",
- ] }
- -esp-println = { version = "0.9.0", features = ["esp32s3", "log"] }
- +esp-println = { version = "0.9.0", features = ["esp32", "log"] }
- log = { version = "0.4.20" }
- esp-alloc = { version = "0.3.0" }
- esp-wifi = { version = "0.3.0", features = [
- - "esp32s3",
- + "esp32",
- "wifi",
- "embassy-net",
- "wifi-default",
- @@ -48,9 +48,9 @@ heapless = { version = "0.8.0", default-features = false }
- embassy-executor = { version = "0.5.0", features = ["nightly"] }
- embassy-time = "0.3.0"
- esp-hal = { git = "https://github.com/esp-rs/esp-hal", rev = "9a95c0a", features = [
- - "esp32s3",
- + "esp32",
- ] }
- -embassy-time-driver = "0.1.0"
- +embassy-time-driver = "0.1"
- snafu = { version = "0.8.0", default-features = false, features = [
- "rust_1_61",
- "rust_1_65",
- diff --git a/src/main.rs b/src/main.rs
- index 5157f79..7de6cd4 100644
- --- a/src/main.rs
- +++ b/src/main.rs
- @@ -16,7 +16,7 @@ use embassy_time::{
- Timer,
- };
- use embedded_svc::wifi::{ClientConfiguration, Configuration, Wifi};
- -use esp32s3_hal as hal;
- +use esp32_hal as hal;
- use esp_backtrace as _;
- use esp_println::{print, println};
- use esp_wifi::{
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement