Skip to content

Commit 43494f2

Browse files
committed
ESP32-S3 example: update to esp-hal 0.23
1 parent 514d4eb commit 43494f2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/example-esp32s3/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
esp-hal = { version = "0.22", features = ["esp32s3"] }
8-
esp-backtrace = { version = "0.14.2", features = [
7+
esp-hal = { version = "0.23", features = ["esp32s3"] }
8+
esp-backtrace = { version = "0.15.0", features = [
99
"esp32s3",
1010
"panic-handler",
1111
"println",
1212
] }
13-
esp-println = { version = "0.12.0", features = ["esp32s3", "log"] }
13+
esp-println = { version = "0.13.0", features = ["esp32s3", "log"] }
1414
usb-device = { version = "0.3.2", features = ["control-buffer-256"] }
1515
usbd-midi = { path = "../../" }
1616
midi-convert = "0.2.0"

examples/example-esp32s3/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const SYSEX_BUFFER_SIZE: usize = 64;
2323
fn main() -> ! {
2424
// Some basic setup to run the MCU at maximum clock speed.
2525
let mut config = Config::default();
26-
config.cpu_clock = clock::CpuClock::Clock240MHz;
26+
config.cpu_clock = clock::CpuClock::_240MHz;
2727
let peripherals = esp_hal::init(config);
2828

2929
let usb_bus_allocator = otg_fs::UsbBus::new(

0 commit comments

Comments
 (0)