Skip to content

Commit f1ae11c

Browse files
authored
Merge pull request #120 from takurx/develop
add board, UIAPduino Pro Micro CH32V003 v1.4
2 parents 0dbf478 + 2f5e21d commit f1ae11c

File tree

3 files changed

+64
-0
lines changed

3 files changed

+64
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"openwch": {
5+
"variant": "CH32V00x/CH32V003F4",
6+
"variant_h": "variant_CH32V003F4.h"
7+
}
8+
},
9+
"clock_source": "hsi+pll",
10+
"core": "openwch",
11+
"extra_flags": "-DCH32V003F4 -DCH32V00X -DCH32V00x -DCH32V003",
12+
"f_cpu": "48000000L",
13+
"hwids": [
14+
[
15+
"0x1A86",
16+
"0x8010"
17+
]
18+
],
19+
"mabi": "ilp32e",
20+
"march": "rv32ecxw",
21+
"mcu": "ch32v003f4p6",
22+
"series": "ch32v003",
23+
"spl_series": "ch32v00x",
24+
"variant": "CH32V003"
25+
},
26+
"debug": {
27+
"onboard_tools": [
28+
"wch-link"
29+
],
30+
"openocd_config": "wch-riscv.cfg",
31+
"svd_path": "CH32V003xx.svd"
32+
},
33+
"frameworks": [
34+
"arduino",
35+
"ch32v003fun",
36+
"noneos-sdk"
37+
],
38+
"name": "UIAPduino Pro Micro CH32V003 v1.4",
39+
"upload": {
40+
"maximum_ram_size": 2048,
41+
"maximum_size": 16384,
42+
"protocol": "minichlink",
43+
"protocols": [
44+
"minichlink",
45+
"wch-link",
46+
"isp",
47+
"wlink"
48+
]
49+
},
50+
"url": "https://www.uiap.jp/uiapduino/pro-micro/ch32v003/v1dot4",
51+
"vendor": "UIAP, Umeta & Ikki Automotive Parts"
52+
}

examples/blinky-arduino/platformio.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ board = genericCH32V307VCT6
4545

4646
[env:genericCH32L103C8T6]
4747
board = genericCH32L103C8T6
48+
49+
[env:UIAPduino_Pro_Micro_CH32V003_v1dot4]
50+
board = UIAPduino_Pro_Micro_CH32V003_v1dot4

misc/scripts/gen_boarddefs.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,15 @@ class KnownBoard:
274274
}
275275
}
276276
}),
277+
KnownBoard("UIAPduino_Pro_Micro_CH32V003_v1dot4", "UIAPduino Pro Micro CH32V003 v1.4", get_chip("CH32V003F4P6"),
278+
"https://www.uiap.jp/uiapduino/pro-micro/ch32v003/v1dot4", "UIAP, Umeta & Ikki Automotive Parts", {
279+
"build.arduino": {
280+
"openwch": {
281+
"variant": "CH32V00x/CH32V003F4",
282+
"variant_h": "variant_CH32V003F4.h"
283+
}
284+
}
285+
}),
277286
KnownBoard("suzuno32rv", "BitTradeOne Suzuno32RV", get_chip("CH32V203C8T6"),
278287
"https://www.github.com/verylowfreq/board_suzuno32rv", "BitTradeUno", {
279288
"build.arduino": {

0 commit comments

Comments
 (0)