Skip to content

Commit 16b7dce

Browse files
committed
Embed HDMIv6 and DPv6 firmware
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 2cf432b commit 16b7dce

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ linux:
55
cargo build --release
66
cp -f target/release/framework_tool out/dp_hdmi_version
77

8+
env FWK_DP_HDMI_BIN=dp-flash-006 cargo build --release
9+
cp target/release/framework_tool out/dp_update_006
10+
811
env FWK_DP_HDMI_BIN=dp-flash-008 cargo build --release
912
cp target/release/framework_tool out/dp_update_008
1013

@@ -14,6 +17,9 @@ linux:
1417
env FWK_DP_HDMI_BIN=dp-flash-101 cargo build --release
1518
cp target/release/framework_tool out/dp_update_101
1619

20+
env FWK_DP_HDMI_BIN=hdmi-flash-005 cargo build --release
21+
cp target/release/framework_tool out/hdmi_update_005
22+
1723
env FWK_DP_HDMI_BIN=hdmi-flash-006 cargo build --release
1824
cp target/release/framework_tool out/hdmi_update_006
1925

@@ -38,6 +44,9 @@ windows:
3844
cargo build --release --no-default-features --features "windows"
3945
cp -f target/release/framework_tool.exe out/dp_hdmi_version.exe
4046

47+
env FWK_DP_HDMI_BIN=dp-flash-006 cargo build --release --no-default-features --features "windows"
48+
cp target/release/framework_tool.exe out/dp_update_006.exe
49+
4150
env FWK_DP_HDMI_BIN=dp-flash-008 cargo build --release --no-default-features --features "windows"
4251
cp target/release/framework_tool.exe out/dp_update_008.exe
4352

@@ -47,6 +56,9 @@ windows:
4756
env FWK_DP_HDMI_BIN=dp-flash-101 cargo build --release --no-default-features --features "windows"
4857
cp target/release/framework_tool.exe out/dp_update_101.exe
4958

59+
env FWK_DP_HDMI_BIN=hdmi-flash-005 cargo build --release --no-default-features --features "windows"
60+
cp target/release/framework_tool.exe out/hdmi_update_005.exe
61+
5062
env FWK_DP_HDMI_BIN=hdmi-flash-006 cargo build --release --no-default-features --features "windows"
5163
cp target/release/framework_tool.exe out/hdmi_update_006.exe
5264

115 KB
Binary file not shown.
115 KB
Binary file not shown.

framework_tool/src/main.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ use framework_lib::commandline;
33
fn main() {
44
if let Some(binfile) = option_env!("FWK_DP_HDMI_BIN") {
55
let bin = match binfile {
6+
"dp-flash-006" => {
7+
include_bytes!("../../framework_lib/embed_bins/dp-flash-006.bin").as_slice()
8+
}
69
"dp-flash-008" => {
710
include_bytes!("../../framework_lib/embed_bins/dp-flash-008.bin").as_slice()
811
}
@@ -12,6 +15,9 @@ fn main() {
1215
"dp-flash-101" => {
1316
include_bytes!("../../framework_lib/embed_bins/dp-flash-101.bin").as_slice()
1417
}
18+
"hdmi-flash-005" => {
19+
include_bytes!("../../framework_lib/embed_bins/hdmi-flash-005.bin").as_slice()
20+
}
1521
"hdmi-flash-006" => {
1622
include_bytes!("../../framework_lib/embed_bins/hdmi-flash-006.bin").as_slice()
1723
}

0 commit comments

Comments
 (0)