-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboard.json
136 lines (127 loc) · 5.62 KB
/
board.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
/* The name of the board */
"name": "senseBox MCU S2",
/* Board version. Increment it whenever you make changes. */
"version": 1,
/* One-liner description of the board, it's capabilities, etc. */
"description": "Development board to evaluate ESP32-S2 Modules",
/* The name of the person who created this file */
"author": "Felix Erdmann"
/* Microcontroller name. Valid values: atmega328p, atmega2560, attiny85, rp2040, esp32 */
"mcu": "esp32-s2",
/* Fully Qualified Board Name (FQBN) for the Arduino CLI */
"fqbn": "esp32:esp32:esp32s2",
/* Width of the board graphics, in mm. Must match the width defined in board.svg */
"width": 75.00,
/* Height of the board graphics, in mm. Must match the height defined in board.svg */
"height": 68.35,
"environments": {
"circuitpython": {
"firmware": "https://corsproxy.io/?https://adafruit-circuit-python.s3.amazonaws.com/bin/sensebox_mcu_esp32s2/en_US/adafruit-circuitpython-sensebox_mcu_esp32s2-en_US-$VERSION.bin",
// "firmware": "https://downloads.circuitpython.org/bin/sensebox_mcu_esp32s2/en_US/adafruit-circuitpython-sensebox_mcu_esp32s2-en_US-$VERSION.bin",
"defaultVersion": "9.0.4"
}
// "circuitpython": {
// "firmware": "https://wokwi.github.io/firmware-assets/circuitpython/adafruit-circuitpython-franzininho_wifi_wroom-en_US-$VERSION.bin",
// "defaultVersion": "7.2.0"
// }
},
/* The pins available on the board.
"x"/"y" positions are in mm, and are relative to the top-left corner of the board.
"target" is either:
- an MCU pin name
- "GND" for ground
- "power(n)" for power supply pins, where n is the voltage. e.g. "power(3.3)"
*/
"pins": {
// "0": { "x": 56.25, "y": 1.22, "target": "GPIO0" },
"1": { "x": 65.859, "y": 54.340, "target": "GPIO1" },
"2": { "x": 69.87, "y": 30.50, "target": "GPIO2" },
"3": { "x": 69.87, "y": 29.51, "target": "GPIO3" },
"3V3.A": { "x": 69.87, "y": 28.525, "target": "power(3.3)" },
"GND.A": { "x": 69.87, "y": 27.54, "target": "GND" },
// "4": { "x": 46.64, "y": 1.22, "target": "GPIO4" },
// "5": { "x": 44.12, "y": 1.22, "target": "GPIO5" },
// "6": { "x": 41.6, "y": 1.22, "target": "GPIO6" },
// "7": { "x": 39.2, "y": 1.22, "target": "GPIO7" },
// "10": { "x": 36.5, "y": 1.22, "target": "GPIO10" },
// "11": { "x": 34.25, "y": 1.22, "target": "GPIO11" },
// "12": { "x": 31.75, "y": 1.22, "target": "GPIO12" },
// "13": { "x": 29.15, "y": 1.22, "target": "GPIO13" },
// "14": { "x": 26.65, "y": 1.22, "target": "GPIO14" },
// "15": { "x": 24.15, "y": 1.22, "target": "GPIO15" },
// "16": { "x": 21.65, "y": 1.22, "target": "GPIO16" },
// "17": { "x": 19.25, "y": 1.22, "target": "GPIO17" },
// "8": { "x": 16.85, "y": 1.22, "target": "GPIO8" },
// "9": { "x": 14.35, "y": 1.22, "target": "GPIO9" },
"GND.I2C.A": { "x": 69.867, "y": 5.503, "target": "GND" },
"3V3.I2C.A": { "x": 69.867, "y": 6.297, "target": "power(3.3)" },
"SDA": { "x": 69.867, "y": 7.286, "target": "GPIO8" },
"SCL": { "x": 69.867, "y": 8.273, "target": "GPIO9" },
// "3V3.2": { "x": 11.8, "y": 6.25, "target": "power(3.3)" },
// "GND.7": { "x": 9.35, "y": 6.25, "target": "GND" },
// "SDA": { "x": 16.85, "y": 6.25, "target": "GPIO8" },
// "SCL": { "x": 14.35, "y": 6.25, "target": "GPIO9" },
// "46": { "x": 56.25, "y": 23.55, "target": "GPIO46" },
// "45": { "x": 53.85, "y": 23.55, "target": "GPIO45" },
// "44": { "x": 51.45, "y": 23.55, "target": "GPIO44" },
// "43": { "x": 49.05, "y": 23.55, "target": "GPIO43" },
// "42": { "x": 46.64, "y": 23.55, "target": "GPIO42" },
// "41": { "x": 44.12, "y": 23.55, "target": "GPIO41" },
// "40": { "x": 41.6, "y": 23.55, "target": "GPIO40" },
// "39": { "x": 39.2, "y": 23.55, "target": "GPIO39" },
// "38": { "x": 36.5, "y": 23.55, "target": "GPIO38" },
// "37": { "x": 34.25, "y": 23.55, "target": "GPIO37" },
// "36": { "x": 31.75, "y": 23.55, "target": "GPIO36" },
// "35": { "x": 29.15, "y": 23.55, "target": "GPIO35" },
// "34": { "x": 26.65, "y": 23.55, "target": "GPIO34" },
// "33": { "x": 24.15, "y": 23.55, "target": "GPIO33" },
// "26": { "x": 21.65, "y": 23.55, "target": "GPIO26" },
// "21": { "x": 19.25, "y": 23.55, "target": "GPIO21" },
// "18": { "x": 16.85, "y": 23.55, "target": "GPIO18" },
// "5V.1": { "x": 14.35, "y": 23.55, "target": "power(5)" },
// "GND.3": { "x": 11.8, "y": 23.55, "target": "GND" },
// "GND.2": { "x": 9.35, "y": 23.55, "target": "GND" },
// "5V.2": { "x": 14.35, "y": 19.25, "target": "power(5)" },
// "GND.4": { "x": 9.35, "y": 19.25, "target": "GND" },
// "GND.5": { "x": 11.8, "y": 19.25, "target": "GND" },
// "GND.6": { "x": 17.95, "y": 19.25, "target": "GND" },
// "5V.3": { "x": 20.45, "y": 19.25, "target": "power(5)" },
// "21.2": { "x": 23.1, "y": 19.25, "target": "GPIO21" }
},
/* On-board LED definitions. These only draw the light of the LED when it's on.
You should draw the body of the LED in your .svg file. */
"leds": [
{
"id": "power",
"x": 8.06,
"y": 36.23,
"type": "0603",
"color": "green",
"pins": {
"A": "3V3.A", // This is a power LED, so it's always on
"C": "GND.A"
}
},
// {
// "id": "led33",
// "x": 23.5,
// "y": 14.85,
// "type": "0603",
// "color": "#ffc100",
// "pins": {
// "A": "33", // This is LED 33
// "C": "GND.1"
// }
// },
{
"id": "led21",
"x": 67.52,
"y": 56.00,
"type": "ws2812",
"pins": {
"DI": "1"
}
}
]
}