Skip to content

Commit f00f843

Browse files
author
Spacehuhn
committed
Added missing platform
1 parent c3ad932 commit f00f843

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

package.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434

3535
if path.exists(platform_file):
3636
with open(platform_file) as f:
37-
project_json["platforms"] = json.load(f)
37+
platforms = json.load(f)
38+
for p in platforms:
39+
project_json["platforms"].append(p)
3840

3941
# Tools
4042
tools_file = f"{project}/{package}/tools.json"

package_spacehuhn_index.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,58 @@
248248
"online": "https://github.com/spacehuhntech"
249249
},
250250
"platforms": [
251+
{
252+
"name": "WiFiDuck ESP8266 Boards",
253+
"architecture": "esp8266",
254+
"version": "2.7.2",
255+
"category": "wifiduck",
256+
"url": "https://github.com/spacehuhntech/arduino/releases/download/wifiduck-esp8266-2.7.2/wifiduck-esp8266-arduino-core-2.7.2.zip",
257+
"archiveFileName": "wifiduck-esp8266-arduino-core-2.7.2.zip",
258+
"checksum": "SHA-256:463edd3321f24e7c458bdb380bb39da589ebeb0839481f427b1eaafc33b509fa",
259+
"size": 161962397,
260+
"help": {
261+
"online": "https://github.com/spacehuhntech/wifiduck"
262+
},
263+
"boards": [
264+
{
265+
"name": "Generic ESP8266"
266+
},
267+
{
268+
"name": "Generic ESP8285"
269+
},
270+
{
271+
"name": "Adafruit Feather HUZZAH"
272+
},
273+
{
274+
"name": "NodeMCU"
275+
},
276+
{
277+
"name": "LOLIN(WEMOS) D1 mini"
278+
}
279+
],
280+
"toolsDependencies": [
281+
{
282+
"packager": "wifiduck",
283+
"version": "2.5.0-4-b40a506",
284+
"name": "xtensa-lx106-elf-gcc"
285+
},
286+
{
287+
"packager": "wifiduck",
288+
"version": "2.5.0-4-b40a506",
289+
"name": "mkspiffs"
290+
},
291+
{
292+
"packager": "wifiduck",
293+
"version": "2.5.0-4-fe5bb56",
294+
"name": "mklittlefs"
295+
},
296+
{
297+
"packager": "wifiduck",
298+
"version": "3.7.2-post1",
299+
"name": "python3"
300+
}
301+
]
302+
},
251303
{
252304
"name": "WiFi Duck AVR Boards",
253305
"architecture": "avr",

0 commit comments

Comments
 (0)