Skip to content

Commit 81d98d6

Browse files
committed
v1.0.6 coming
1 parent 6ffd704 commit 81d98d6

File tree

3 files changed

+44
-9
lines changed

3 files changed

+44
-9
lines changed

lgt8f-1.0.6.zip

601 KB
Binary file not shown.

make.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { execSync } = require("child_process");
55
const package = "package_lgt8fx_index.json";
66
const folder = "lgt8f";
77

8-
const toNum = str => parseInt(str.split(".").join(""), 10);
8+
const toNum = (str) => parseInt(str.split(".").join(""), 10);
99
const jsonStr = fs.readFileSync(package);
1010

1111
const json = JSON.parse(jsonStr);
@@ -26,9 +26,7 @@ const size = fs.statSync(archiveFileName).size.toString();
2626
console.log(`size ${size}`);
2727
const checksum =
2828
"SHA-256:" +
29-
execSync(`shasum -a 256 ${archiveFileName}`)
30-
.toString()
31-
.split(" ")[0];
29+
execSync(`shasum -a 256 ${archiveFileName}`).toString().split(" ")[0];
3230
console.log(`checksum ${checksum}`);
3331

3432
platforms.unshift({
@@ -45,16 +43,17 @@ platforms.unshift({
4543
checksum,
4644
size,
4745
help: {
48-
online: "https://github.com/dbuezas/LGT8fx/issues"
46+
online: "https://github.com/dbuezas/LGT8fx/issues",
4947
},
5048
boards: [
5149
{ name: "LGT8F328P-LQFP48 MiniEVB" },
5250
{ name: "LGT8F328P-LQFP32 wemos-TTGO-XI" },
5351
{ name: "LGT8F328P-LQFP32 MiniEVB" },
54-
{ name: "LGT8F328D" },
52+
{ name: "LGT8F328P-SSOP20" },
53+
{ name: "LGT8F328D-LQFP32" },
5554
{ name: "LGT8F328D-SSOP20" },
56-
{ name: "LGT8F88D-SSOP20" }
57-
]
55+
{ name: "LGT8F88D-SSOP20" },
56+
],
5857
});
5958

6059
fs.writeFileSync(package, JSON.stringify(json, 0, 2));

package_lgt8fx_index.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,42 @@
88
"online": "https://github.com/dbuezas/LGT8fx"
99
},
1010
"platforms": [
11+
{
12+
"name": "LGT8fx Boards",
13+
"architecture": "avr",
14+
"version": "1.0.6",
15+
"category": "lgt8fx",
16+
"url": "https://github.com/dbuezas/lgt8fx/releases/download/v1.0.6/lgt8f-1.0.6.zip",
17+
"archiveFileName": "lgt8f-1.0.6.zip",
18+
"checksum": "SHA-256:e7384539898243cb013182b37780205330d61fa8c5276f512422b84b2a2f23bd",
19+
"size": "615499",
20+
"help": {
21+
"online": "https://github.com/dbuezas/LGT8fx/issues"
22+
},
23+
"boards": [
24+
{
25+
"name": "LGT8F328P-LQFP48 MiniEVB"
26+
},
27+
{
28+
"name": "LGT8F328P-LQFP32 wemos-TTGO-XI"
29+
},
30+
{
31+
"name": "LGT8F328P-LQFP32 MiniEVB"
32+
},
33+
{
34+
"name": "LGT8F328P-SSOP20"
35+
},
36+
{
37+
"name": "LGT8F328D-LQFP32"
38+
},
39+
{
40+
"name": "LGT8F328D-SSOP20"
41+
},
42+
{
43+
"name": "LGT8F88D-SSOP20"
44+
}
45+
]
46+
},
1147
{
1248
"name": "LGT8fx Boards",
1349
"architecture": "avr",
@@ -198,4 +234,4 @@
198234
"tools": []
199235
}
200236
]
201-
}
237+
}

0 commit comments

Comments
 (0)