Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
042c6af8
Unverified
Commit
042c6af8
authored
Jul 21, 2022
by
Earle F. Philhower, III
Committed by
GitHub
Jul 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add USB VID/PID to Platform.IO HWIDs (#698)
parent
0e18f098
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
185 additions
and
44 deletions
+185
-44
tools/json/adafruit_feather.json
tools/json/adafruit_feather.json
+6
-2
tools/json/adafruit_itsybitsy.json
tools/json/adafruit_itsybitsy.json
+6
-2
tools/json/adafruit_kb2040.json
tools/json/adafruit_kb2040.json
+5
-1
tools/json/adafruit_macropad2040.json
tools/json/adafruit_macropad2040.json
+5
-1
tools/json/adafruit_qtpy.json
tools/json/adafruit_qtpy.json
+6
-2
tools/json/adafruit_stemmafriend.json
tools/json/adafruit_stemmafriend.json
+6
-2
tools/json/adafruit_trinkeyrp2040qt.json
tools/json/adafruit_trinkeyrp2040qt.json
+5
-1
tools/json/arduino_nano_connect.json
tools/json/arduino_nano_connect.json
+4
-0
tools/json/challenger_2040_lora.json
tools/json/challenger_2040_lora.json
+5
-1
tools/json/challenger_2040_lte.json
tools/json/challenger_2040_lte.json
+6
-2
tools/json/challenger_2040_sdrtc.json
tools/json/challenger_2040_sdrtc.json
+6
-2
tools/json/challenger_2040_subghz.json
tools/json/challenger_2040_subghz.json
+5
-1
tools/json/challenger_2040_wifi.json
tools/json/challenger_2040_wifi.json
+5
-1
tools/json/challenger_2040_wifi_ble.json
tools/json/challenger_2040_wifi_ble.json
+5
-1
tools/json/challenger_nb_2040_wifi.json
tools/json/challenger_nb_2040_wifi.json
+6
-2
tools/json/cytron_maker_nano_rp2040.json
tools/json/cytron_maker_nano_rp2040.json
+6
-2
tools/json/cytron_maker_pi_rp2040.json
tools/json/cytron_maker_pi_rp2040.json
+5
-1
tools/json/dfrobot_beetle_rp2040.json
tools/json/dfrobot_beetle_rp2040.json
+4
-0
tools/json/flyboard2040_core.json
tools/json/flyboard2040_core.json
+6
-2
tools/json/generic.json
tools/json/generic.json
+6
-2
tools/json/ilabs_rpico32.json
tools/json/ilabs_rpico32.json
+5
-1
tools/json/melopero_shake_rp2040.json
tools/json/melopero_shake_rp2040.json
+5
-1
tools/json/rpipico.json
tools/json/rpipico.json
+6
-2
tools/json/rpipicow.json
tools/json/rpipicow.json
+6
-2
tools/json/seeed_xiao_rp2040.json
tools/json/seeed_xiao_rp2040.json
+6
-2
tools/json/solderparty_rp2040_stamp.json
tools/json/solderparty_rp2040_stamp.json
+5
-1
tools/json/sparkfun_promicrorp2040.json
tools/json/sparkfun_promicrorp2040.json
+5
-1
tools/json/sparkfun_thingplusrp2040.json
tools/json/sparkfun_thingplusrp2040.json
+5
-1
tools/json/upesy_rp2040_devkit.json
tools/json/upesy_rp2040_devkit.json
+5
-1
tools/json/wiznet_5100s_evb_pico.json
tools/json/wiznet_5100s_evb_pico.json
+5
-1
tools/json/wiznet_5500_evb_pico.json
tools/json/wiznet_5500_evb_pico.json
+5
-1
tools/json/wiznet_wizfi360_evb_pico.json
tools/json/wiznet_wizfi360_evb_pico.json
+5
-1
tools/makeboards.py
tools/makeboards.py
+14
-1
No files found.
tools/json/adafruit_feather.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25x10cl_4_padded_checksum.S"
,
"usb_vid"
:
"0x239
a
"
,
"usb_pid"
:
"0x80
f
1"
"usb_vid"
:
"0x239
A
"
,
"usb_pid"
:
"0x80
F
1"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x239A"
,
"0x80F1"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/adafruit_itsybitsy.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x239
a
"
,
"usb_pid"
:
"0x80
fd
"
"usb_vid"
:
"0x239
A
"
,
"usb_pid"
:
"0x80
FD
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x239A"
,
"0x80FD"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/adafruit_kb2040.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x239
a
"
,
"usb_vid"
:
"0x239
A
"
,
"usb_pid"
:
"0x8105"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x239A"
,
"0x8105"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/adafruit_macropad2040.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x239
a
"
,
"usb_vid"
:
"0x239
A
"
,
"usb_pid"
:
"0x8107"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x239A"
,
"0x8107"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/adafruit_qtpy.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x239
a
"
,
"usb_pid"
:
"0x80
f
7"
"usb_vid"
:
"0x239
A
"
,
"usb_pid"
:
"0x80
F
7"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x239A"
,
"0x80F7"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/adafruit_stemmafriend.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x239
a
"
,
"usb_pid"
:
"0x80
e
3"
"usb_vid"
:
"0x239
A
"
,
"usb_pid"
:
"0x80
E
3"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x239A"
,
"0x80E3"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/adafruit_trinkeyrp2040qt.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x239
a
"
,
"usb_vid"
:
"0x239
A
"
,
"usb_pid"
:
"0x8109"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x239A"
,
"0x8109"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/arduino_nano_connect.json
View file @
042c6af8
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2341"
,
"0x0058"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/challenger_2040_lora.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1023"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1023"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/challenger_2040_lte.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_pid"
:
"0x100
b
"
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x100
B
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x100B"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/challenger_2040_sdrtc.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_pid"
:
"0x102
d
"
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x102
D
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x102D"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/challenger_2040_subghz.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1032"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1032"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/challenger_2040_wifi.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1006"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1006"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/challenger_2040_wifi_ble.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x102C"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x102C"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/challenger_nb_2040_wifi.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_pid"
:
"0x100
b
"
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x100
B
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x100B"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/cytron_maker_nano_rp2040.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_pid"
:
"0x100
f
"
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x100
F
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x100F"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/cytron_maker_pi_rp2040.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1000"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1000"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/dfrobot_beetle_rp2040.json
View file @
042c6af8
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x3343"
,
"0x4253"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/flyboard2040_core.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_generic_03h_4_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_pid"
:
"0x008
a
"
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x008
A
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x008A"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/generic.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_generic_03h_4_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_pid"
:
"0x
f00a
"
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x
F00A
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0xF00A"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/ilabs_rpico32.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1010"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1010"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/melopero_shake_rp2040.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1005"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1005"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/rpipico.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_pid"
:
"0x000
a
"
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x000
A
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x000A"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/rpipicow.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_pid"
:
"0x
f00a
"
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x
F00A
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0xF00A"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/seeed_xiao_rp2040.json
View file @
042c6af8
...
...
@@ -3,8 +3,8 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_pid"
:
"0x000
a
"
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x000
A
"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x000A"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/solderparty_rp2040_stamp.json
View file @
042c6af8
...
...
@@ -4,7 +4,7 @@
"earlephilhower"
:
{
"boot2_source"
:
"boot2_generic_03h_4_padded_checksum.S"
,
"usb_vid"
:
"0x1209"
,
"usb_pid"
:
"0x
a
182"
"usb_pid"
:
"0x
A
182"
}
},
"core"
:
"earlephilhower"
,
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x1209"
,
"0xA182"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/sparkfun_promicrorp2040.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_generic_03h_4_padded_checksum.S"
,
"usb_vid"
:
"0x1
b4f
"
,
"usb_vid"
:
"0x1
B4F
"
,
"usb_pid"
:
"0x0026"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x1B4F"
,
"0x0026"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/sparkfun_thingplusrp2040.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x1
b4f
"
,
"usb_vid"
:
"0x1
B4F
"
,
"usb_pid"
:
"0x0026"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x1B4F"
,
"0x0026"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/upesy_rp2040_devkit.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1007"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1007"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/wiznet_5100s_evb_pico.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1027"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1027"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/wiznet_5500_evb_pico.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1029"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1029"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/json/wiznet_wizfi360_evb_pico.json
View file @
042c6af8
...
...
@@ -3,7 +3,7 @@
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2
e8a
"
,
"usb_vid"
:
"0x2
E8A
"
,
"usb_pid"
:
"0x1028"
}
},
...
...
@@ -15,6 +15,10 @@
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1028"
]
],
"mcu"
:
"rp2040"
,
...
...
tools/makeboards.py
View file @
042c6af8
...
...
@@ -206,6 +206,10 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f
[
"0x2E8A",
"0x00C0"
],
[
"VID",
"PID"
]
],
"mcu": "rp2040",
...
...
@@ -238,7 +242,16 @@ def MakeBoardJSON(name, vendor_name, product_name, vid, pid, pwr, boarddefine, f
},
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
"vendor": "VENDORNAME"
}
\n
"""
.
replace
(
'VARIANTNAME'
,
name
).
replace
(
'BOARDDEFINE'
,
boarddefine
).
replace
(
'BOOT2'
,
boot2
).
replace
(
'VID'
,
vid
).
replace
(
'PID'
,
pid
).
replace
(
'VENDORNAME'
,
vendor_name
).
replace
(
'PRODUCTNAME'
,
product_name
).
replace
(
'FLASHSIZE'
,
str
(
1024
*
1024
*
flashsizemb
)).
replace
(
'USBPWR'
,
str
(
pwr
))
}
\n
"""
\
.
replace
(
'VARIANTNAME'
,
name
)
\
.
replace
(
'BOARDDEFINE'
,
boarddefine
)
\
.
replace
(
'BOOT2'
,
boot2
)
\
.
replace
(
'VID'
,
vid
.
upper
().
replace
(
"X"
,
"x"
))
\
.
replace
(
'PID'
,
pid
.
upper
().
replace
(
"X"
,
"x"
))
\
.
replace
(
'VENDORNAME'
,
vendor_name
)
\
.
replace
(
'PRODUCTNAME'
,
product_name
)
\
.
replace
(
'FLASHSIZE'
,
str
(
1024
*
1024
*
flashsizemb
))
\
.
replace
(
'USBPWR'
,
str
(
pwr
))
jsondir
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
+
"/json"
f
=
open
(
jsondir
+
"/"
+
name
+
".json"
,
"w"
)
f
.
write
(
json
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment