diff --git a/lgt8f-1.0.6.zip b/lgt8f-1.0.6.zip new file mode 100644 index 0000000..ce982e8 Binary files /dev/null and b/lgt8f-1.0.6.zip differ diff --git a/make.js b/make.js index cd80f5d..c21286a 100755 --- a/make.js +++ b/make.js @@ -5,7 +5,7 @@ const { execSync } = require("child_process"); const package = "package_lgt8fx_index.json"; const folder = "lgt8f"; -const toNum = str => parseInt(str.split(".").join(""), 10); +const toNum = (str) => parseInt(str.split(".").join(""), 10); const jsonStr = fs.readFileSync(package); const json = JSON.parse(jsonStr); @@ -26,9 +26,7 @@ const size = fs.statSync(archiveFileName).size.toString(); console.log(`size ${size}`); const checksum = "SHA-256:" + - execSync(`shasum -a 256 ${archiveFileName}`) - .toString() - .split(" ")[0]; + execSync(`shasum -a 256 ${archiveFileName}`).toString().split(" ")[0]; console.log(`checksum ${checksum}`); platforms.unshift({ @@ -45,16 +43,17 @@ platforms.unshift({ checksum, size, help: { - online: "https://github.com/dbuezas/LGT8fx/issues" + online: "https://github.com/dbuezas/LGT8fx/issues", }, boards: [ { name: "LGT8F328P-LQFP48 MiniEVB" }, { name: "LGT8F328P-LQFP32 wemos-TTGO-XI" }, { name: "LGT8F328P-LQFP32 MiniEVB" }, - { name: "LGT8F328D" }, + { name: "LGT8F328P-SSOP20" }, + { name: "LGT8F328D-LQFP32" }, { name: "LGT8F328D-SSOP20" }, - { name: "LGT8F88D-SSOP20" } - ] + { name: "LGT8F88D-SSOP20" }, + ], }); fs.writeFileSync(package, JSON.stringify(json, 0, 2)); diff --git a/package_lgt8fx_index.json b/package_lgt8fx_index.json index 34048da..5cbd2da 100644 --- a/package_lgt8fx_index.json +++ b/package_lgt8fx_index.json @@ -8,6 +8,42 @@ "online": "https://github.com/dbuezas/LGT8fx" }, "platforms": [ + { + "name": "LGT8fx Boards", + "architecture": "avr", + "version": "1.0.6", + "category": "lgt8fx", + "url": "https://github.com/dbuezas/lgt8fx/releases/download/v1.0.6/lgt8f-1.0.6.zip", + "archiveFileName": "lgt8f-1.0.6.zip", + "checksum": "SHA-256:e7384539898243cb013182b37780205330d61fa8c5276f512422b84b2a2f23bd", + "size": "615499", + "help": { + "online": "https://github.com/dbuezas/LGT8fx/issues" + }, + "boards": [ + { + "name": "LGT8F328P-LQFP48 MiniEVB" + }, + { + "name": "LGT8F328P-LQFP32 wemos-TTGO-XI" + }, + { + "name": "LGT8F328P-LQFP32 MiniEVB" + }, + { + "name": "LGT8F328P-SSOP20" + }, + { + "name": "LGT8F328D-LQFP32" + }, + { + "name": "LGT8F328D-SSOP20" + }, + { + "name": "LGT8F88D-SSOP20" + } + ] + }, { "name": "LGT8fx Boards", "architecture": "avr", @@ -198,4 +234,4 @@ "tools": [] } ] -} \ No newline at end of file +}