eric6/MicroPython/MicroPythonDevices.py

changeset 8055
52fdd41517f3
parent 8051
b78279548993
child 8062
8dc5acb30a8b
equal deleted inserted replaced
8054:3d9db64dff2f 8055:52fdd41517f3
66 (0x04D8, 0xEAD2), # DynOSSAT-EDU-OBC 66 (0x04D8, 0xEAD2), # DynOSSAT-EDU-OBC
67 (0x1209, 0x4DDD), # ODT CP Sapling M0 67 (0x1209, 0x4DDD), # ODT CP Sapling M0
68 (0x1209, 0x4DDE), # ODT CP Sapling M0 w/ SPI Flash 68 (0x1209, 0x4DDE), # ODT CP Sapling M0 w/ SPI Flash
69 (0x054C, 0x0BC2), # Spresense 69 (0x054C, 0x0BC2), # Spresense
70 ], 70 ],
71 "description": "CircuitPython Board", 71 "description": "CircuitPython",
72 "icon": "circuitPythonDevice", 72 "icon": "circuitPythonDevice",
73 "port_description": "", 73 "port_description": "",
74 }, 74 },
75 75
76 "bbc_microbit": { 76 "bbc_microbit": {
153 port.description().strip() != 153 port.description().strip() !=
154 SupportedBoards[board]["port_description"] 154 SupportedBoards[board]["port_description"]
155 ): 155 ):
156 continue 156 continue
157 foundDevices.append( 157 foundDevices.append(
158 (board, SupportedBoards[board]["description"], 158 (board,
159 port.description(),
160 SupportedBoards[board]["description"],
159 port.portName())) 161 port.portName()))
160 supported = True 162 supported = True
161 if not supported: 163 if not supported:
162 if vid and pid and (vid, pid) not in IgnoredBoards: 164 if vid and pid and (vid, pid) not in IgnoredBoards:
163 unknownDevices.append((vid, pid, port.description())) 165 unknownDevices.append((vid, pid, port.description()))

eric ide

mercurial