Skip to content

Commit c9b1030

Browse files
committed
更新
1 parent 5febfd2 commit c9b1030

File tree

16 files changed

+1280
-0
lines changed

16 files changed

+1280
-0
lines changed

raspberrypi_pico/board.json

Lines changed: 257 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
{
2+
"name": "LuatOS ESP32S3 Core",
3+
"version": "1.0.0",
4+
"description": "LuatOS ESP32S3 Core development board by OpenLuat",
5+
"compilerTool": "arduino-cli",
6+
"core": "aily:esp32",
7+
"type": "aily:esp32:esp32s3",
8+
"compilerParam": "compile -v -b aily:esp32:esp32s3:UploadSpeed=921600,CDCOnBoot=default,CPUFreq=240,FlashFreq=80,FlashMode=dio,FlashSize=16M,PartitionScheme=no_ota,DebugLevel=none,EraseFlash=none,PSRAM=enabled",
9+
"uploadParam": "upload -v -b aily:esp32:esp32s3 -p ${serial}",
10+
"analogPins": [
11+
["GPIO1", "1"],
12+
["GPIO2", "2"],
13+
["GPIO3", "3"],
14+
["GPIO4", "4"],
15+
["GPIO5", "5"],
16+
["GPIO6", "6"],
17+
["GPIO7", "7"],
18+
["GPIO8", "8"],
19+
["GPIO9", "9"],
20+
["GPIO10", "10"],
21+
["GPIO11", "11"],
22+
["GPIO12", "12"],
23+
["GPIO13", "13"],
24+
["GPIO14", "14"],
25+
["GPIO15", "15"],
26+
["GPIO16", "16"],
27+
["GPIO17", "17"],
28+
["GPIO18", "18"]
29+
],
30+
"digitalPins": [
31+
["GPIO0", "0"],
32+
["GPIO1", "1"],
33+
["GPIO2", "2"],
34+
["GPIO3", "3"],
35+
["GPIO4", "4"],
36+
["GPIO5", "5"],
37+
["GPIO6", "6"],
38+
["GPIO7", "7"],
39+
["GPIO8", "8"],
40+
["GPIO9", "9"],
41+
["GPIO10", "10"],
42+
["GPIO11", "11"],
43+
["GPIO12", "12"],
44+
["GPIO13", "13"],
45+
["GPIO14", "14"],
46+
["GPIO15", "15"],
47+
["GPIO16", "16"],
48+
["GPIO17", "17"],
49+
["GPIO18", "18"],
50+
["GPIO21", "21"],
51+
["GPIO33", "33"],
52+
["GPIO34", "34"],
53+
["GPIO35", "35"],
54+
["GPIO36", "36"],
55+
["GPIO37", "37"],
56+
["GPIO38", "38"],
57+
["GPIO39", "39"],
58+
["GPIO40", "40"],
59+
["GPIO41", "41"],
60+
["GPIO42", "42"],
61+
["GPIO43", "43"],
62+
["GPIO44", "44"],
63+
["GPIO45", "45"],
64+
["GPIO46", "46"],
65+
["GPIO47", "47"],
66+
["GPIO48", "48"]
67+
],
68+
"pwmPins": [
69+
["GPIO0", "0"],
70+
["GPIO1", "1"],
71+
["GPIO2", "2"],
72+
["GPIO3", "3"],
73+
["GPIO4", "4"],
74+
["GPIO5", "5"],
75+
["GPIO6", "6"],
76+
["GPIO7", "7"],
77+
["GPIO8", "8"],
78+
["GPIO9", "9"],
79+
["GPIO10", "10"],
80+
["GPIO11", "11"],
81+
["GPIO12", "12"],
82+
["GPIO13", "13"],
83+
["GPIO14", "14"],
84+
["GPIO15", "15"],
85+
["GPIO16", "16"],
86+
["GPIO17", "17"],
87+
["GPIO18", "18"],
88+
["GPIO21", "21"],
89+
["GPIO33", "33"],
90+
["GPIO34", "34"],
91+
["GPIO35", "35"],
92+
["GPIO36", "36"],
93+
["GPIO37", "37"],
94+
["GPIO38", "38"],
95+
["GPIO39", "39"],
96+
["GPIO40", "40"],
97+
["GPIO41", "41"],
98+
["GPIO42", "42"],
99+
["GPIO43", "43"],
100+
["GPIO44", "44"],
101+
["GPIO45", "45"],
102+
["GPIO46", "46"],
103+
["GPIO47", "47"],
104+
["GPIO48", "48"]
105+
],
106+
"servoPins": [
107+
["GPIO0", "0"],
108+
["GPIO1", "1"],
109+
["GPIO2", "2"],
110+
["GPIO3", "3"],
111+
["GPIO4", "4"],
112+
["GPIO5", "5"],
113+
["GPIO6", "6"],
114+
["GPIO7", "7"],
115+
["GPIO8", "8"],
116+
["GPIO9", "9"],
117+
["GPIO10", "10"],
118+
["GPIO11", "11"],
119+
["GPIO12", "12"],
120+
["GPIO13", "13"],
121+
["GPIO14", "14"],
122+
["GPIO15", "15"],
123+
["GPIO16", "16"],
124+
["GPIO17", "17"],
125+
["GPIO18", "18"],
126+
["GPIO21", "21"],
127+
["GPIO33", "33"],
128+
["GPIO34", "34"],
129+
["GPIO35", "35"],
130+
["GPIO36", "36"],
131+
["GPIO37", "37"],
132+
["GPIO38", "38"],
133+
["GPIO39", "39"],
134+
["GPIO40", "40"],
135+
["GPIO41", "41"],
136+
["GPIO42", "42"],
137+
["GPIO43", "43"],
138+
["GPIO44", "44"],
139+
["GPIO45", "45"],
140+
["GPIO46", "46"],
141+
["GPIO47", "47"],
142+
["GPIO48", "48"]
143+
],
144+
"serialPort": [
145+
["Serial", "Serial"],
146+
["Serial1", "Serial1"],
147+
["Serial2", "Serial2"]
148+
],
149+
"serialSpeed": [
150+
["1200", "1200"],
151+
["9600", "9600"],
152+
["14400", "14400"],
153+
["19200", "19200"],
154+
["38400", "38400"],
155+
["57600", "57600"],
156+
["115200", "115200"],
157+
["230400", "230400"],
158+
["460800", "460800"],
159+
["921600", "921600"]
160+
],
161+
"spi": [
162+
["SPI2", "SPI"],
163+
["SPI3", "SPI1"]
164+
],
165+
"spiPins": {
166+
"SPI": [
167+
["MOSI", "17"],
168+
["MISO", "16"],
169+
["SCK", "18"],
170+
["CS", "14"]
171+
],
172+
"SPI1": [
173+
["MOSI", "47"],
174+
["MISO", "33"],
175+
["SCK", "48"]
176+
]
177+
},
178+
"spiClockDivide": [
179+
["2 (40MHz)", "SPI_CLOCK_DIV2"],
180+
["4 (20MHz)", "SPI_CLOCK_DIV4"],
181+
["8 (10MHz)", "SPI_CLOCK_DIV8"],
182+
["16 (5MHz)", "SPI_CLOCK_DIV16"],
183+
["32 (2.5MHz)", "SPI_CLOCK_DIV32"],
184+
["64 (1.25MHz)", "SPI_CLOCK_DIV64"],
185+
["128 (625KHz)", "SPI_CLOCK_DIV128"]
186+
],
187+
"i2c": [
188+
["I2C", "Wire"],
189+
["I2C1", "Wire1"]
190+
],
191+
"i2cPins": {
192+
"Wire": [
193+
["SDA", "11"],
194+
["SCL", "12"]
195+
],
196+
"Wire1": [
197+
["SDA", "37"],
198+
["SCL", "38"]
199+
]
200+
},
201+
"i2cSpeed": [
202+
["100kHz", "100000L"],
203+
["400kHz", "400000L"],
204+
["1MHz", "1000000L"]
205+
],
206+
"builtinLed": [
207+
["LEDA", "10"],
208+
["LEDB", "11"]
209+
],
210+
"interruptPins": [
211+
["GPIO0", "0"],
212+
["GPIO1", "1"],
213+
["GPIO2", "2"],
214+
["GPIO3", "3"],
215+
["GPIO4", "4"],
216+
["GPIO5", "5"],
217+
["GPIO6", "6"],
218+
["GPIO7", "7"],
219+
["GPIO8", "8"],
220+
["GPIO9", "9"],
221+
["GPIO10", "10"],
222+
["GPIO11", "11"],
223+
["GPIO12", "12"],
224+
["GPIO13", "13"],
225+
["GPIO14", "14"],
226+
["GPIO15", "15"],
227+
["GPIO16", "16"],
228+
["GPIO17", "17"],
229+
["GPIO18", "18"],
230+
["GPIO21", "21"],
231+
["GPIO33", "33"],
232+
["GPIO34", "34"],
233+
["GPIO35", "35"],
234+
["GPIO36", "36"],
235+
["GPIO37", "37"],
236+
["GPIO38", "38"],
237+
["GPIO39", "39"],
238+
["GPIO40", "40"],
239+
["GPIO41", "41"],
240+
["GPIO42", "42"],
241+
["GPIO43", "43"],
242+
["GPIO44", "44"],
243+
["GPIO45", "45"],
244+
["GPIO46", "46"],
245+
["GPIO47", "47"],
246+
["GPIO48", "48"]
247+
],
248+
"interruptMode": [
249+
["RISING", "RISING"],
250+
["FALLING", "FALLING"],
251+
["CHANGE", "CHANGE"],
252+
["ONLOW", "ONLOW"],
253+
["ONHIGH", "ONHIGH"],
254+
["ONLOW_WE", "ONLOW_WE"],
255+
["ONHIGH_WE", "ONHIGH_WE"]
256+
]
257+
}

raspberrypi_pico/package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "@aily-project/board-raspberrypi_pico",
3+
"nickname": "Raspberry Pi Pico",
4+
"version": "1.0.0",
5+
"description": "Raspberry Pi Pico",
6+
"main": "index.js",
7+
"disabled": true,
8+
"scripts": {
9+
"test": "echo \"Error: no test specified\" && exit 1"
10+
},
11+
"keywords": [
12+
"树莓派",
13+
"WiFi",
14+
"Bluetooth"
15+
],
16+
"author": "RaspberryPi",
17+
"license": "MIT",
18+
"boardDependencies": {
19+
"@aily-project/compiler-esp-x32": "14.2.0",
20+
"@aily-project/tool-esptool_py": "4.8.1",
21+
"@aily-project/sdk-esp32": "3.2.0",
22+
"@aily-project/tool-idf_esp32s3": "5.4.0",
23+
"@aily-project/tool-ctags": "5.8.0"
24+
}
25+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "project_",
3+
"version": "1.0.0",
4+
"description": "",
5+
"board": "ESP32S3 board",
6+
"dependencies": {
7+
"@aily-project/board-esp32s3": "1.0.0",
8+
"@aily-project/lib-core-io": "1.0.0",
9+
"@aily-project/lib-core-logic": "0.0.1",
10+
"@aily-project/lib-core-loop": "0.0.1",
11+
"@aily-project/lib-core-math":"0.0.1",
12+
"@aily-project/lib-core-text": "0.0.1",
13+
"@aily-project/lib-core-serial": "0.0.1",
14+
"@aily-project/lib-core-time": "0.0.1",
15+
"@aily-project/lib-core-variables": "1.0.1"
16+
}
17+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"blocks": {
3+
"languageVersion": 0,
4+
"blocks": [
5+
{
6+
"type": "arduino_setup",
7+
"id": "arduino_setup_id0",
8+
"x": 30,
9+
"y": 30,
10+
"deletable": false
11+
},
12+
{
13+
"type": "arduino_loop",
14+
"id": "arduino_loop_id0",
15+
"x": 30,
16+
"y": 290,
17+
"deletable": false
18+
}
19+
]
20+
}
21+
}

0 commit comments

Comments
 (0)