Skip to content

Commit

Permalink
update boards
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoskal committed Apr 19, 2023
1 parent 7ef4c61 commit 718f718
Show file tree
Hide file tree
Showing 11 changed files with 245 additions and 94 deletions.
93 changes: 63 additions & 30 deletions compiler/src/boards.json
Expand Up @@ -120,23 +120,19 @@
"D5": 5,
"D6": 6,
"D9": 9,
"LED_PWR": 21,
"MISO": 37,
"MOSI": 35,
"PWR": 7,
"RX": 38,
"SCK": 36,
"TX": 39
},
"productId": "0x3c2ed99e",
"setupPins": [
{
"out": 1,
"pin": 21
},
{
"out": 1,
"pin": 7
}
],
"sPin": {
"LED_PWR": 1,
"PWR": 1
},
"uartLog": true,
"url": "https://www.adafruit.com/product/5000"
},
Expand All @@ -157,7 +153,7 @@
"type": 1
},
"pins": {
"#TX": 21,
"@TX": 21,
"A0": 4,
"A1": 3,
"A2": 1,
Expand Down Expand Up @@ -254,7 +250,7 @@
"devName": "Espressif ESP32-C3 (bare)",
"id": "esp32c3_bare",
"pins": {
"#P21": 21,
"@P21": 21,
"P0": 0,
"P1": 1,
"P10": 10,
Expand Down Expand Up @@ -295,8 +291,8 @@
"type": 1
},
"pins": {
"#LED": 7,
"#P21": 21,
"@LED": 7,
"@P21": 21,
"P0": 0,
"P1": 1,
"P20": 20,
Expand Down Expand Up @@ -324,7 +320,7 @@
"devName": "Espressif ESP32-S2 (bare)",
"id": "esp32s2_bare",
"pins": {
"#P43": 43,
"@P43": 43,
"P0": 0,
"P1": 1,
"P10": 10,
Expand Down Expand Up @@ -381,8 +377,9 @@
"type": 2
},
"pins": {
"#TX": 43,
"@TX": 43,
"LED0": 13,
"LED_PWR": 21,
"MISO": 37,
"MOSI": 35,
"P1": 1,
Expand All @@ -402,6 +399,9 @@
"SCK": 36
},
"productId": "0x3126f707",
"sPin": {
"LED_PWR": 1
},
"services": [
{
"name": "buttonBOOT",
Expand All @@ -414,12 +414,6 @@
"service": "analog:lightLevel"
}
],
"setupPins": [
{
"out": 1,
"pin": 21
}
],
"uartLog": true,
"url": "https://unexpectedmaker.com/shop/feathers2-esp32-s2"
},
Expand Down Expand Up @@ -455,6 +449,7 @@
"pinTX": 0
},
"pins": {
"@HILIM": 18,
"P1": 1,
"P10": 10,
"P2": 2,
Expand All @@ -471,6 +466,10 @@
"P7": 7
},
"productId": "0x3875e80d",
"sPin": {
"#": "enable high power limiter mode",
"@HILIM": 0
},
"services": [
{
"faultIgnoreMs": 1000,
Expand All @@ -483,13 +482,6 @@
"pinUsbDetect": 11,
"service": "power"
}
],
"setupPins": [
{
"#": "Enable hi-power limiter mode",
"out": 0,
"pin": 18
}
]
},
"msr207_v42": {
Expand Down Expand Up @@ -786,7 +778,7 @@
"devName": "Seeed Studio XIAO ESP32C3",
"id": "seeed_xiao_esp32c3",
"pins": {
"#D9": 9,
"@D9": 9,
"D0": 2,
"D1": 3,
"D10": 10,
Expand All @@ -807,6 +799,47 @@
],
"uartLog": true,
"url": "https://www.seeedstudio.com/Seeed-XIAO-ESP32C3-p-5431.html"
},
"seeed_xiao_esp32c3_msr218": {
"$description": "A tiny ESP32-C3 board mounted on base with Jacdac, Qwiic and Grove connectors.",
"$fwUrl": "https://github.com/microsoft/devicescript-esp32/releases/latest/download/devicescript-esp32c3-seeed_xiao_esp32c3_msr218-0x0.bin",
"$schema": "https://raw.githubusercontent.com/microsoft/devicescript-esp32/main/boards/esp32deviceconfig.schema.json",
"archId": "esp32c3",
"devName": "Seeed Studio XIAO ESP32C3 with MSR218 base",
"i2c": {
"$connector": "Qwiic",
"pinSCL": 7,
"pinSDA": 6
},
"id": "seeed_xiao_esp32c3_msr218",
"jacdac": {
"$connector": "Jacdac",
"pin": 5
},
"led": {
"pin": 10,
"type": 1
},
"pins": {
"@JD": 5,
"@LED": 10,
"@SCL": 7,
"@SDA": 6,
"@TX": 21,
"A0": 2,
"A1": 3,
"A2": 4,
"D9": 9,
"LED_PWR": 8,
"RX": 20
},
"productId": "0x36b64827",
"sPin": {
"LED_PWR": 1
},
"services": [],
"uartLog": true,
"url": "https://www.seeedstudio.com/Seeed-XIAO-ESP32C3-p-5431.html"
}
}
}
93 changes: 63 additions & 30 deletions website/docs/devices/boards.json
Expand Up @@ -29,23 +29,19 @@
"D5": 5,
"D6": 6,
"D9": 9,
"LED_PWR": 21,
"MISO": 37,
"MOSI": 35,
"PWR": 7,
"RX": 38,
"SCK": 36,
"TX": 39
},
"productId": "0x3c2ed99e",
"setupPins": [
{
"out": 1,
"pin": 21
},
{
"out": 1,
"pin": 7
}
],
"sPin": {
"LED_PWR": 1,
"PWR": 1
},
"uartLog": true,
"url": "https://www.adafruit.com/product/5000"
},
Expand All @@ -66,7 +62,7 @@
"type": 1
},
"pins": {
"#TX": 21,
"@TX": 21,
"A0": 4,
"A1": 3,
"A2": 1,
Expand Down Expand Up @@ -165,7 +161,7 @@
"devName": "Espressif ESP32-C3 (bare)",
"id": "esp32c3_bare",
"pins": {
"#P21": 21,
"@P21": 21,
"P0": 0,
"P1": 1,
"P10": 10,
Expand Down Expand Up @@ -206,8 +202,8 @@
"type": 1
},
"pins": {
"#LED": 7,
"#P21": 21,
"@LED": 7,
"@P21": 21,
"P0": 0,
"P1": 1,
"P20": 20,
Expand Down Expand Up @@ -236,7 +232,7 @@
"devName": "Espressif ESP32-S2 (bare)",
"id": "esp32s2_bare",
"pins": {
"#P43": 43,
"@P43": 43,
"P0": 0,
"P1": 1,
"P10": 10,
Expand Down Expand Up @@ -293,8 +289,9 @@
"type": 2
},
"pins": {
"#TX": 43,
"@TX": 43,
"LED0": 13,
"LED_PWR": 21,
"MISO": 37,
"MOSI": 35,
"P1": 1,
Expand All @@ -314,6 +311,9 @@
"SCK": 36
},
"productId": "0x3126f707",
"sPin": {
"LED_PWR": 1
},
"services": [
{
"name": "buttonBOOT",
Expand All @@ -326,12 +326,6 @@
"service": "analog:lightLevel"
}
],
"setupPins": [
{
"out": 1,
"pin": 21
}
],
"uartLog": true,
"url": "https://unexpectedmaker.com/shop/feathers2-esp32-s2",
"img": "https://microsoft.github.io/jacdac-docs/images/devices/unexpected-maker/feathers2esp32s2v20.catalog.jpg"
Expand Down Expand Up @@ -368,6 +362,7 @@
"pinTX": 0
},
"pins": {
"@HILIM": 18,
"P1": 1,
"P10": 10,
"P2": 2,
Expand All @@ -384,6 +379,10 @@
"P7": 7
},
"productId": "0x3875e80d",
"sPin": {
"#": "enable high power limiter mode",
"@HILIM": 0
},
"services": [
{
"faultIgnoreMs": 1000,
Expand All @@ -396,13 +395,6 @@
"pinUsbDetect": 11,
"service": "power"
}
],
"setupPins": [
{
"#": "Enable hi-power limiter mode",
"out": 0,
"pin": 18
}
]
},
"msr207_v42": {
Expand Down Expand Up @@ -703,7 +695,7 @@
"devName": "Seeed Studio XIAO ESP32C3",
"id": "seeed_xiao_esp32c3",
"pins": {
"#D9": 9,
"@D9": 9,
"D0": 2,
"D1": 3,
"D10": 10,
Expand All @@ -725,5 +717,46 @@
"uartLog": true,
"url": "https://www.seeedstudio.com/Seeed-XIAO-ESP32C3-p-5431.html",
"img": "https://microsoft.github.io/jacdac-docs/images/devices/seeed-studio/xiaoesp32c3v00.catalog.jpg"
},
"seeed_xiao_esp32c3_msr218": {
"$description": "A tiny ESP32-C3 board mounted on base with Jacdac, Qwiic and Grove connectors.",
"$fwUrl": "https://github.com/microsoft/devicescript-esp32/releases/latest/download/devicescript-esp32c3-seeed_xiao_esp32c3_msr218-0x0.bin",
"$schema": "https://raw.githubusercontent.com/microsoft/devicescript-esp32/main/boards/esp32deviceconfig.schema.json",
"archId": "esp32c3",
"devName": "Seeed Studio XIAO ESP32C3 with MSR218 base",
"i2c": {
"$connector": "Qwiic",
"pinSCL": 7,
"pinSDA": 6
},
"id": "seeed_xiao_esp32c3_msr218",
"jacdac": {
"$connector": "Jacdac",
"pin": 5
},
"led": {
"pin": 10,
"type": 1
},
"pins": {
"@JD": 5,
"@LED": 10,
"@SCL": 7,
"@SDA": 6,
"@TX": 21,
"A0": 2,
"A1": 3,
"A2": 4,
"D9": 9,
"LED_PWR": 8,
"RX": 20
},
"productId": "0x36b64827",
"sPin": {
"LED_PWR": 1
},
"services": [],
"uartLog": true,
"url": "https://www.seeedstudio.com/Seeed-XIAO-ESP32C3-p-5431.html"
}
}

0 comments on commit 718f718

Please sign in to comment.