Skip to content

Commit dae6427

Browse files
committed
Add wokwi files
1 parent b85d81e commit dae6427

File tree

3 files changed

+136
-0
lines changed

3 files changed

+136
-0
lines changed

.vscode/launch.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "gdb",
9+
"request": "attach",
10+
"name": "VsCode: Wokwi Debug S3",
11+
"executable": "${workspaceFolder}/target/xtensa-esp32s3-none-elf/release/kernel-esp32s3",
12+
"target": "127.0.0.1:9333",
13+
"remote": true,
14+
"gdbpath": "${userHome}/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin/xtensa-esp32s3-elf-gdb",
15+
"cwd": "${workspaceRoot}",
16+
"stopAtConnect": true,
17+
"valuesFormatting": "parseText"
18+
}
19+
]
20+
}

diagram.json

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
{
2+
"version": 1,
3+
"author": "Scott Mabin",
4+
"editor": "wokwi",
5+
"parts": [
6+
{
7+
"type": "board-esp32-s3-devkitc-1",
8+
"id": "esp",
9+
"top": 0,
10+
"left": 0,
11+
"attrs": {
12+
"builder": "rust-nostd-esp"
13+
}
14+
},
15+
{
16+
"type": "wokwi-pushbutton",
17+
"id": "btn1",
18+
"top": 45,
19+
"left": -250.27,
20+
"attrs": {
21+
"color": "green"
22+
}
23+
},
24+
{
25+
"type": "wokwi-pushbutton",
26+
"id": "btn2",
27+
"top": 103.94,
28+
"left": -247.33,
29+
"attrs": {
30+
"color": "green"
31+
}
32+
},
33+
{
34+
"type": "wokwi-pushbutton",
35+
"id": "btn3",
36+
"top": 170.6,
37+
"left": -248.01,
38+
"attrs": {
39+
"color": "green"
40+
}
41+
}
42+
],
43+
"connections": [
44+
[
45+
"esp:TX",
46+
"$serialMonitor:RX",
47+
"",
48+
[]
49+
],
50+
[
51+
"esp:RX",
52+
"$serialMonitor:TX",
53+
"",
54+
[]
55+
],
56+
[
57+
"btn1:1.l",
58+
"esp:GND.1",
59+
"green",
60+
[
61+
"h-43.3",
62+
"v12.88"
63+
]
64+
],
65+
[
66+
"btn2:1.l",
67+
"esp:GND.1",
68+
"green",
69+
[
70+
"h-29.57",
71+
"v111.28"
72+
]
73+
],
74+
[
75+
"btn3:1.l",
76+
"esp:GND.1",
77+
"green",
78+
[
79+
"h-14.23",
80+
"v45.95"
81+
]
82+
],
83+
[
84+
"esp:4",
85+
"btn1:2.r",
86+
"green",
87+
[
88+
"h-173.51",
89+
"v19"
90+
]
91+
],
92+
[
93+
"esp:5",
94+
"btn2:2.r",
95+
"green",
96+
[
97+
"h-163.58",
98+
"v1.03"
99+
]
100+
],
101+
[
102+
"esp:6",
103+
"btn3:2.r",
104+
"green",
105+
[
106+
"h-153.65",
107+
"v126.79"
108+
]
109+
]
110+
],
111+
"dependencies": {}
112+
}

wokwi.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[wokwi]
2+
version = 1
3+
elf = "target/xtensa-esp32s3-none-elf/release/kernel-esp32s3"
4+
firmware = "target/xtensa-esp32s3-none-elf/release/kernel-esp32s3"

0 commit comments

Comments
 (0)