Skip to content

Commit aaff1d6

Browse files
WilstonOreotronical
authored andcommitted
Fix m5stack_cores3 build
1 parent c404d60 commit aaff1d6

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

examples/mcu-board-support/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ esp-alloc = { version = "0.8.0", optional = true }
232232
esp-println = { version = "0.15.0", default-features = false, features = ["auto", "log-04"], optional = true }
233233
esp-backtrace = { version = "0.17.0", optional = true, features = ["esp32s3", "exception-handler", "println"] }
234234
static_cell = { version = "2.1.0", optional = true }
235-
esp-bootloader-esp-idf = { version = "0.2.0", optional = true }
235+
esp-bootloader-esp-idf = { version = "0.2.0", features = ["esp32s3"] }
236236

237237
mipidsi = { version = "0.9.0", optional = true }
238238
embedded-graphics-core = { version = "0.4", optional = true }

examples/mcu-board-support/m5stack_cores3.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ fn panic(info: &core::panic::PanicInfo) -> ! {
66
esp_println::println!("Panic: {:?}", info);
77
loop {}
88
}
9+
esp_bootloader_esp_idf::esp_app_desc!(
10+
// Version
11+
"1.0.0",
12+
// Project name
13+
"slint-m5stack_cores3",
14+
// Build time
15+
"12:00:00",
16+
// Build date
17+
"2025-01-01",
18+
// ESP-IDF version
19+
"4.4",
20+
// MMU page size
21+
8 * 1024,
22+
// Minimal eFuse block revision supported by image. Format: major * 100 + minor
23+
0,
24+
// Maximum eFuse block revision supported by image. Format: major * 100 + minor
25+
u16::MAX
26+
);
927

1028
use alloc::boxed::Box;
1129
use alloc::rc::Rc;

0 commit comments

Comments
 (0)