Skip to content

Commit 70edb66

Browse files
committed
fwupd: Add initial xml and Makefile
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 30841c5 commit 70edb66

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

fwupd/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.cab

fwupd/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
qtpy.cab: firmware.metainfo.xml
2+
cp ../target/thumbv6m-none-eabi/release/qtpy.uf2 .
3+
gcab -c -v $@ qtpy.uf2 firmware.metainfo.xml

fwupd/firmware.metainfo.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<component type="firmware">
3+
<id>work.frame.inputmodule.qtpy</id>
4+
<name>Framework QT Py</name>
5+
<summary>Firmware for the Framework QT Py</summary>
6+
<description>
7+
<p>
8+
Updating the firmware on your Framework QT Py improves performance and
9+
adds new features.
10+
</p>
11+
</description>
12+
<provides>
13+
<!-- 32ac:0012 -->
14+
<firmware type="flashed">5a5b58d0-9cb4-5f8b-a449-e7b7c820b0cb</firmware>
15+
</provides>
16+
<url type="homepage">https://github.com/FrameworkComputer/inputmodule-rs</url>
17+
<metadata_license>CC0-1.0</metadata_license>
18+
<project_license>proprietary</project_license>
19+
<categories>
20+
<category>X-Device</category>
21+
</categories>
22+
<releases>
23+
<release urgency="normal" version="0.20" date="2024-11-17" install_duration="40">
24+
<checksum filename="qtpy.uf2" target="content"/>
25+
<description>
26+
New firmware!
27+
</description>
28+
</release>
29+
</releases>
30+
<requires>{{ min_ver }}
31+
<id compare="ge" version="1.9.2">org.freedesktop.fwupd</id>
32+
</requires>
33+
<custom>
34+
<!--<value key="LVFS::VersionFormat">{{ version_format }}</value>-->
35+
<value key="LVFS::UpdateProtocol">com.microsoft.uf2</value>
36+
</custom>
37+
<!--
38+
<keywords>
39+
<keyword>{{ keyword }}</keyword>
40+
<keyword>{{ id }}</keyword>
41+
</keywords>
42+
-->
43+
</component>

0 commit comments

Comments
 (0)