10 import shutil |
10 import shutil |
11 import os |
11 import os |
12 |
12 |
13 from PyQt6.QtCore import pyqtSlot |
13 from PyQt6.QtCore import pyqtSlot |
14 |
14 |
15 from EricWidgets import EricMessageBox, EricFileDialog |
15 from eric7.EricWidgets import EricMessageBox, EricFileDialog |
16 |
16 |
17 from .MicroPythonDevices import MicroPythonDevice |
17 from .MicroPythonDevices import MicroPythonDevice |
18 from .MicroPythonWidget import HAS_QTCHART |
18 from .MicroPythonWidget import HAS_QTCHART |
19 |
19 |
20 import Utilities |
20 from eric7 import Preferences, Utilities |
21 import Preferences |
|
22 |
21 |
23 |
22 |
24 class CircuitPythonDevice(MicroPythonDevice): |
23 class CircuitPythonDevice(MicroPythonDevice): |
25 """ |
24 """ |
26 Class implementing the device for CircuitPython boards. |
25 Class implementing the device for CircuitPython boards. |