Skip to content

Commit a4f084f

Browse files
committed
Windows Driver: Show supported BIOS version in error message
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 1643688 commit a4f084f

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

framework_lib/src/chromium_ec/windows.rs

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,26 @@ fn init() -> bool {
5252
match platform {
5353
Some(platform @ Platform::IntelGen11)
5454
| Some(platform @ Platform::IntelGen12)
55-
| Some(platform @ Platform::IntelGen13)
56-
| Some(platform @ Platform::Framework13Amd7080)
57-
| Some(platform @ Platform::Framework16Amd7080) => {
55+
| Some(platform @ Platform::IntelGen13) => {
5856
println!("The windows driver is not enabled on {:?}.", platform);
5957
println!("Please stay tuned for future BIOS and driver updates.");
6058
println!();
6159
}
60+
Some(Platform::IntelCoreUltra1) => {
61+
println!("The windows driver has been enabled since BIOS 3.06.");
62+
println!("Please install the latest BIOS and drivers");
63+
println!();
64+
}
65+
Some(Platform::Framework13Amd7080) => {
66+
println!("The windows driver has been enabled since BIOS 3.16.");
67+
println!("Please install the latest BIOS and drivers");
68+
println!();
69+
}
70+
Some(Platform::Framework16Amd7080) => {
71+
println!("The windows driver has been enabled since BIOS 3.06.");
72+
println!("Please install the latest BIOS and drivers");
73+
println!();
74+
}
6275
_ => (),
6376
}
6477

0 commit comments

Comments
 (0)