Skip to content

Commit f13d21a

Browse files
committed
Merge branch 'main' into deploy
2 parents 835dec8 + 2c66098 commit f13d21a

File tree

39 files changed

+3664
-13
lines changed

39 files changed

+3664
-13
lines changed

arduino_mega_pro/board.json

Lines changed: 245 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,245 @@
1+
{
2+
"name": "Arduino MEGA Pro",
3+
"version":"1.0.1",
4+
"description": "Arduino MEGA Pro board",
5+
"compilerTool": "aily-builder",
6+
"core": "arduino:avr",
7+
"type": "arduino:avr:mega",
8+
"compilerParam": "compile -v -b arduino:avr:mega",
9+
"uploadParam": "avrdude -C${'avrdude.conf'} -v -V -patmega2560 -cwiring -P${serial} -b${baud} -D -Uflash:w:${'*.hex'}:i;",
10+
"analogPins": [
11+
["A0", "A0"],
12+
["A1", "A1"],
13+
["A2", "A2"],
14+
["A3", "A3"],
15+
["A4", "A4"],
16+
["A5", "A5"],
17+
["A6", "A6"],
18+
["A7", "A7"],
19+
["A8", "A8"],
20+
["A9", "A9"],
21+
["A10", "A10"],
22+
["A11", "A11"],
23+
["A12", "A12"],
24+
["A13", "A13"],
25+
["A14", "A14"],
26+
["A15", "A15"]
27+
],
28+
"digitalPins": [
29+
["0", "0"],
30+
["1", "1"],
31+
["2", "2"],
32+
["3", "3"],
33+
["4", "4"],
34+
["5", "5"],
35+
["6", "6"],
36+
["7", "7"],
37+
["8", "8"],
38+
["9", "9"],
39+
["10", "10"],
40+
["11", "11"],
41+
["12", "12"],
42+
["13", "13"],
43+
["14", "14"],
44+
["15", "15"],
45+
["16", "16"],
46+
["17", "17"],
47+
["18", "18"],
48+
["19", "19"],
49+
["20", "20"],
50+
["21", "21"],
51+
["22", "22"],
52+
["23", "23"],
53+
["24", "24"],
54+
["25", "25"],
55+
["26", "26"],
56+
["27", "27"],
57+
["28", "28"],
58+
["29", "29"],
59+
["30", "30"],
60+
["31", "31"],
61+
["32", "32"],
62+
["33", "33"],
63+
["34", "34"],
64+
["35", "35"],
65+
["36", "36"],
66+
["37", "37"],
67+
["38", "38"],
68+
["39", "39"],
69+
["40", "40"],
70+
["41", "41"],
71+
["42", "42"],
72+
["43", "43"],
73+
["44", "44"],
74+
["45", "45"],
75+
["46", "46"],
76+
["47", "47"],
77+
["48", "48"],
78+
["49", "49"],
79+
["50", "50"],
80+
["51", "51"],
81+
["52", "52"],
82+
["53", "53"],
83+
["A0", "A0"],
84+
["A1", "A1"],
85+
["A2", "A2"],
86+
["A3", "A3"],
87+
["A4", "A4"],
88+
["A5", "A5"],
89+
["A6", "A6"],
90+
["A7", "A7"],
91+
["A8", "A8"],
92+
["A9", "A9"],
93+
["A10", "A10"],
94+
["A11", "A11"],
95+
["A12", "A12"],
96+
["A13", "A13"],
97+
["A14", "A14"],
98+
["A15", "A15"]
99+
],
100+
"pwmPins": [
101+
["2", "2"],
102+
["3", "3"],
103+
["4", "4"],
104+
["5", "5"],
105+
["6", "6"],
106+
["7", "7"],
107+
["8", "8"],
108+
["9", "9"],
109+
["10", "10"],
110+
["11", "11"],
111+
["12", "12"],
112+
["13", "13"],
113+
["44", "44"],
114+
["45", "45"],
115+
["46", "46"]
116+
],
117+
"servoPins": [
118+
["2", "2"],
119+
["3", "3"],
120+
["4", "4"],
121+
["5", "5"],
122+
["6", "6"],
123+
["7", "7"],
124+
["8", "8"],
125+
["9", "9"],
126+
["10", "10"],
127+
["11", "11"],
128+
["12", "12"],
129+
["13", "13"],
130+
["14", "14"],
131+
["15", "15"],
132+
["16", "16"],
133+
["17", "17"],
134+
["18", "18"],
135+
["19", "19"],
136+
["20", "20"],
137+
["21", "21"],
138+
["22", "22"],
139+
["23", "23"],
140+
["24", "24"],
141+
["25", "25"],
142+
["26", "26"],
143+
["27", "27"],
144+
["28", "28"],
145+
["29", "29"],
146+
["30", "30"],
147+
["31", "31"],
148+
["32", "32"],
149+
["33", "33"],
150+
["34", "34"],
151+
["35", "35"],
152+
["36", "36"],
153+
["37", "37"],
154+
["38", "38"],
155+
["39", "39"],
156+
["40", "40"],
157+
["41", "41"],
158+
["42", "42"],
159+
["43", "43"],
160+
["44", "44"],
161+
["45", "45"],
162+
["46", "46"],
163+
["47", "47"],
164+
["48", "48"],
165+
["49", "49"],
166+
["50", "50"],
167+
["51", "51"],
168+
["52", "52"],
169+
["53", "53"],
170+
["A0", "A0"],
171+
["A1", "A1"],
172+
["A2", "A2"],
173+
["A3", "A3"],
174+
["A4", "A4"],
175+
["A5", "A5"],
176+
["A6", "A6"],
177+
["A7", "A7"],
178+
["A8", "A8"],
179+
["A9", "A9"],
180+
["A10", "A10"],
181+
["A11", "A11"],
182+
["A12", "A12"],
183+
["A13", "A13"],
184+
["A14", "A14"],
185+
["A15", "A15"]
186+
],
187+
"serialPort": [
188+
["Serial", "Serial"],
189+
["Serial1", "Serial1"],
190+
["Serial2", "Serial2"],
191+
["Serial3", "Serial3"]
192+
],
193+
"serialSpeed": [
194+
["1200", "1200"],
195+
["9600", "9600"],
196+
["14400", "14400"],
197+
["19200", "19200"],
198+
["38400", "38400"],
199+
["57600", "57600"],
200+
["115200", "115200"]
201+
],
202+
"spi": [
203+
["SPI", "SPI"]
204+
],
205+
"spiPins": {
206+
"SPI": [
207+
["MOSI", 51],
208+
["MISO", 50],
209+
["SCK", 52]
210+
]
211+
},
212+
"spiClockDivide": [
213+
["2 (8MHz)", "SPI_CLOCK_DIV2"],
214+
["4 (4MHz)", "SPI_CLOCK_DIV4"],
215+
["8 (2MHz)", "SPI_CLOCK_DIV8"],
216+
["16 (1MHz)", "SPI_CLOCK_DIV16"],
217+
["32 (500KHz)", "SPI_CLOCK_DIV32"],
218+
["64 (250KHz)", "SPI_CLOCK_DIV64"],
219+
["128 (125KHz)", "SPI_CLOCK_DIV128"]
220+
],
221+
"i2c": [
222+
["I2C", "Wire"]
223+
],
224+
"i2cPins": {
225+
"Wire": [
226+
["SDA", "20"],
227+
["SCL", "21"]
228+
]
229+
},
230+
"i2cSpeed": [
231+
["100kHz", "100000L"],
232+
["400kHz", "400000L"]
233+
],
234+
"builtinLed": [
235+
["BUILTIN_LED", "13"]
236+
],
237+
"interruptPins": [
238+
["2", "2"],
239+
["3", "3"],
240+
["21", "21"],
241+
["20", "20"],
242+
["19", "19"],
243+
["18", "18"]
244+
]
245+
}

arduino_mega_pro/board.webp

9.18 KB
Loading

arduino_mega_pro/package.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "@aily-project/board-arduino_mega_pro",
3+
"nickname": "Arduino MEGA 增强版",
4+
"version": "1.0.0",
5+
"description": "Arduino MEGA 增强版是基于ATmega2560的开源电子原型平台,包含数字I/O口54个(其中14个支持PWM输出),模拟输入口16个,16MHz晶振,USB接口,电源接口,ICSP接口等。",
6+
"main": "index.js",
7+
"brand": "OpenJumper",
8+
"url": "https://arduino.me/s/board?aid=699",
9+
"scripts": {
10+
"test": "echo \"Error: no test specified\" && exit 1"
11+
},
12+
"author": "",
13+
"license": "ISC",
14+
"boardDependencies": {
15+
"@aily-project/compiler-avr-gcc": "7.3.0",
16+
"@aily-project/tool-avrdude": "6.3.0",
17+
"@aily-project/sdk-avr": "1.8.6",
18+
"@aily-project/tool-ctags": "5.8.0"
19+
}
20+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "project_",
3+
"version": "1.0.0",
4+
"description": "",
5+
"dependencies": {
6+
"@aily-project/board-arduino_mega_pro": "^1.0.0",
7+
"@aily-project/lib-core-io": "1.0.0",
8+
"@aily-project/lib-core-logic": "0.0.1",
9+
"@aily-project/lib-core-loop": "0.0.1",
10+
"@aily-project/lib-core-math":"0.0.1",
11+
"@aily-project/lib-core-text": "0.0.1",
12+
"@aily-project/lib-core-serial": "0.0.1",
13+
"@aily-project/lib-core-time": "0.0.1",
14+
"@aily-project/lib-core-variables": "1.0.1"
15+
}
16+
}
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)