Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add boards for WipperSnapper Python #148

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions boards/mcp2221/definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"boardName": "mcp2221",
"mcuName": "mcp2221",
"mcuRefVoltage": 3.3,
"displayName": "Adafruit MCP2221A Breakout",
"vendor": "Adafruit",
"productURL": "https://www.adafruit.com/product/4471",
"documentationURL": "https://learn.adafruit.com/",
"installMethod": "python",
"components": {
"digitalPins": [
{
"name": "G0",
"displayName": "G0",
"dataType": "bool"
},
{
"name": "G1",
"displayName": "G1",
"dataType": "bool"
},
{
"name": "G2",
"displayName": "G2",
"dataType": "bool"
},
{
"name": "G3",
"displayName": "G3",
"dataType": "bool"
},
{
"name": "RX",
"displayName": "RX (UART)",
"dataType": "bool"
},
{
"name": "TX",
"displayName": "TX (UART)",
"dataType": "bool"
}
],
"analogPins": [
{
"name": "G1",
"displayName": "G1 (ADC 1)",
"dataType": "int16"
},
{
"name": "G2",
"displayName": "G2 (ADC 2)",
"dataType": "int16"
},
{
"name": "G3",
"displayName": "G3 (ADC 3)",
"dataType": "int16"
}
],
"i2cPorts": []
}
}
Binary file added boards/mcp2221/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
152 changes: 152 additions & 0 deletions boards/raspberry-pi-4/definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
{
"boardName": "raspberry-pi-4",
"mcuName": "bcm2711",
"mcuRefVoltage": 3.3,
"displayName": "Raspberry Pi 4 Model B",
"vendor": "Raspberry Pi",
"productURL": "https://www.adafruit.com/product/4296",
"documentationURL": "https://learn.adafruit.com/",
"installMethod": "python",
"components": {
"digitalPins": [
{
"name": "D0",
"displayName": "D0",
"dataType": "bool"
},
{
"name": "D1",
"displayName": "D1",
"dataType": "bool"
},
{
"name": "D4",
"displayName": "D4",
"dataType": "bool"
},
{
"name": "D5",
"displayName": "D5",
"dataType": "bool"
},
{
"name": "D6",
"displayName": "D6",
"dataType": "bool"
},
{
"name": "D7",
"displayName": "D7",
"dataType": "bool"
},
{
"name": "D8",
"displayName": "D8",
"dataType": "bool"
},
{
"name": "D9",
"displayName": "D9",
"dataType": "bool"
},
{
"name": "D10",
"displayName": "D10",
"dataType": "bool"
},
{
"name": "D11",
"displayName": "D11",
"dataType": "bool"
},
{
"name": "D12",
"displayName": "D12 (PWM Output 0)",
"dataType": "bool",
"hasPWM": true,
"hasServo": true
},
{
"name": "D13",
"displayName": "D13 (PWM Output 1)",
"dataType": "bool",
"hasPWM": true,
"hasServo": true
},
{
"name": "D14",
"displayName": "D14 (UART TX)",
"dataType": "bool",
"uartTx": true
},
{
"name": "D15",
"displayName": "D15 (UART RX)",
"dataType": "bool",
"uartRx": true
},
{
"name": "D16",
"displayName": "D16",
"dataType": "bool"
},
{
"name": "D17",
"displayName": "D17",
"dataType": "bool"
},
{
"name": "D18",
"displayName": "D18 (NEOPIXEL)",
"dataType": "bool"
},
{
"name": "D19",
"displayName": "D19",
"dataType": "bool"
},
{
"name": "D20",
"displayName": "D20",
"dataType": "bool"
},
{
"name": "D21",
"displayName": "D21",
"dataType": "bool"
},
{
"name": "D22",
"displayName": "D22",
"dataType": "bool"
},
{
"name": "D23",
"displayName": "D23",
"dataType": "bool"
},
{
"name": "D24",
"displayName": "D24",
"dataType": "bool"
},
{
"name": "D25",
"displayName": "D25",
"dataType": "bool"
},
{
"name": "D26",
"displayName": "D26",
"dataType": "bool"
},
{
"name": "D27",
"displayName": "D27",
"dataType": "bool"
}
],
"analogPins": [],
"i2cPorts": []
}
}
Binary file added boards/raspberry-pi-4/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
152 changes: 152 additions & 0 deletions boards/raspberry-pi-5/definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
{
"boardName": "raspberry-pi-5",
"mcuName": "bcm2712",
"mcuRefVoltage": 3.3,
"displayName": "Raspberry Pi 5",
"vendor": "Raspberry Pi",
"productURL": "https://www.adafruit.com/product/5813",
"documentationURL": "https://learn.adafruit.com/",
"installMethod": "python",
"components": {
"digitalPins": [
{
"name": "D0",
"displayName": "D0",
"dataType": "bool"
},
{
"name": "D1",
"displayName": "D1",
"dataType": "bool"
},
{
"name": "D4",
"displayName": "D4",
"dataType": "bool"
},
{
"name": "D5",
"displayName": "D5",
"dataType": "bool"
},
{
"name": "D6",
"displayName": "D6",
"dataType": "bool"
},
{
"name": "D7",
"displayName": "D7",
"dataType": "bool"
},
{
"name": "D8",
"displayName": "D8",
"dataType": "bool"
},
{
"name": "D9",
"displayName": "D9",
"dataType": "bool"
},
{
"name": "D10",
"displayName": "D10",
"dataType": "bool"
},
{
"name": "D11",
"displayName": "D11",
"dataType": "bool"
},
{
"name": "D12",
"displayName": "D12 (PWM Output 0)",
"dataType": "bool",
"hasPWM": true,
"hasServo": true
},
{
"name": "D13",
"displayName": "D13 (PWM Output 1)",
"dataType": "bool",
"hasPWM": true,
"hasServo": true
},
{
"name": "D14",
"displayName": "D14 (UART TX)",
"dataType": "bool",
"uartTx": true
},
{
"name": "D15",
"displayName": "D15 (UART RX)",
"dataType": "bool",
"uartRx": true
},
{
"name": "D16",
"displayName": "D16",
"dataType": "bool"
},
{
"name": "D17",
"displayName": "D17",
"dataType": "bool"
},
{
"name": "D18",
"displayName": "D18",
"dataType": "bool"
},
{
"name": "D19",
"displayName": "D19",
"dataType": "bool"
},
{
"name": "D20",
"displayName": "D20",
"dataType": "bool"
},
{
"name": "D21",
"displayName": "D21",
"dataType": "bool"
},
{
"name": "D22",
"displayName": "D22",
"dataType": "bool"
},
{
"name": "D23",
"displayName": "D23",
"dataType": "bool"
},
{
"name": "D24",
"displayName": "D24",
"dataType": "bool"
},
{
"name": "D25",
"displayName": "D25",
"dataType": "bool"
},
{
"name": "D26",
"displayName": "D26",
"dataType": "bool"
},
{
"name": "D27",
"displayName": "D27",
"dataType": "bool"
}
],
"analogPins": [],
"i2cPorts": []
}
}
Binary file added boards/raspberry-pi-5/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading