Fri, 24 Feb 2023 14:11:20 +0100
MicroPython
- added functionality to start the access point interface with a given IPv4 configuration
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MicroPythonPage</class> <widget class="QWidget" name="MicroPythonPage"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>541</width> <height>1847</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QLabel" name="headerLabel"> <property name="text"> <string><b>Configure MicroPython</b></string> </property> </widget> </item> <item> <widget class="Line" name="line9_3"> <property name="frameShape"> <enum>QFrame::HLine</enum> </property> <property name="frameShadow"> <enum>QFrame::Sunken</enum> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_4"> <property name="title"> <string>Workspace</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> <widget class="EricPathPicker" name="workspacePicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy"> <enum>Qt::StrongFocus</enum> </property> <property name="toolTip"> <string>Enter the name of the MicroPython workspace directory</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_12"> <property name="title"> <string>Device Selection</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QCheckBox" name="manualSelectionCheckBox"> <property name="toolTip"> <string>Select to enable manual selection of devices (e.g. for unknown devices)</string> </property> <property name="text"> <string>Enable manual device selection</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Serial Link</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Timeout for Serial Link Communication:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="timeoutSpinBox"> <property name="toolTip"> <string>Enter the timout value</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="suffix"> <string> s</string> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>30</number> </property> </widget> </item> <item row="0" column="2"> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>195</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="0" colspan="3"> <widget class="QCheckBox" name="syncTimeCheckBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select to synchronize the time after connection is established</string> </property> <property name="text"> <string>Synchronize Time at Connect</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>REPL Pane</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Color Scheme for ANSI Escape Codes:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="colorSchemeComboBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the color scheme to be applied for ANSI color escape codes</string> </property> </widget> </item> <item row="1" column="0" colspan="2"> <widget class="QCheckBox" name="replWrapCheckBox"> <property name="toolTip"> <string>Select to wrap long line in the REPL pane</string> </property> <property name="text"> <string>Wrap long lines</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_7"> <property name="title"> <string>Chart Pane</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QLabel" name="label_11"> <property name="text"> <string>Color Theme:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="chartThemeComboBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the color scheme of the chart</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_13"> <property name="title"> <string>WiFi</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QHBoxLayout" name="horizontalLayout_5"> <item> <widget class="QLabel" name="label_13"> <property name="text"> <string>Country:</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="countryEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter the country code for the WiFi interface</string> </property> <property name="maxLength"> <number>3</number> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <widget class="QGroupBox" name="groupBox_14"> <property name="title"> <string>Client</string> </property> <layout class="QGridLayout" name="gridLayout_8"> <item row="0" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Name:</string> </property> </widget> </item> <item row="0" column="1" colspan="2"> <widget class="QLineEdit" name="ssidEdit"> <property name="toolTip"> <string>Enter the network name (SSID) to connect to</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_9"> <property name="text"> <string>Password:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="passwordEdit"> <property name="toolTip"> <string>Enter the network password</string> </property> <property name="echoMode"> <enum>QLineEdit::Password</enum> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="2"> <widget class="QToolButton" name="showPasswordButton"> <property name="toolTip"> <string>Press to show the password</string> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_15"> <property name="title"> <string>Access Point</string> </property> <layout class="QGridLayout" name="gridLayout_10"> <item row="0" column="0"> <widget class="QLabel" name="label_10"> <property name="text"> <string>Name:</string> </property> </widget> </item> <item row="0" column="1" colspan="2"> <widget class="QLineEdit" name="apSsidEdit"> <property name="toolTip"> <string>Enter the network name (SSID) to publish</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_12"> <property name="text"> <string>Password:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="apPasswordEdit"> <property name="toolTip"> <string>Enter the network password</string> </property> <property name="echoMode"> <enum>QLineEdit::Password</enum> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="2"> <widget class="QToolButton" name="apShowPasswordButton"> <property name="toolTip"> <string>Press to show the password</string> </property> <property name="checkable"> <bool>true</bool> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_23"> <property name="text"> <string>Security:</string> </property> </widget> </item> <item row="2" column="1" colspan="2"> <layout class="QHBoxLayout" name="horizontalLayout_6"> <item> <widget class="QComboBox" name="apSecurityComboBox"> <property name="toolTip"> <string>Select the security mode</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item row="3" column="0" colspan="3"> <widget class="QGroupBox" name="ipv4GroupBox"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> <property name="title"> <string>IPv4 Configuration</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_7"> <item> <layout class="QGridLayout" name="gridLayout_9"> <item row="0" column="0"> <widget class="QLabel" name="label_24"> <property name="text"> <string>Address:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="EricIPv4InputWidget" name="apAddressEdit" native="true"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_25"> <property name="text"> <string>Netmask:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="EricIPv4InputWidget" name="apNetmaskEdit" native="true"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_26"> <property name="text"> <string>Gateway:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="EricIPv4InputWidget" name="apGatewayEdit" native="true"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_27"> <property name="text"> <string>DNS:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="EricIPv4InputWidget" name="apDnsEdit" native="true"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> </widget> </item> </layout> </item> <item> <spacer name="horizontalSpacer_4"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>273</width> <height>20</height> </size> </property> </spacer> </item> </layout> </widget> </item> </layout> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_3"> <property name="title"> <string>MPY Cross Compiler</string> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="label_3"> <property name="text"> <string>Program:</string> </property> </widget> </item> <item> <widget class="EricPathPicker" name="mpyCrossPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy"> <enum>Qt::WheelFocus</enum> </property> <property name="toolTip"> <string>Enter the path of the cross compiler executable</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_5"> <property name="title"> <string>PyBoard</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QLabel" name="label_7"> <property name="text"> <string>dfu-util Path:</string> </property> </widget> </item> <item> <widget class="EricPathPicker" name="dfuUtilPathPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy"> <enum>Qt::WheelFocus</enum> </property> <property name="toolTip"> <string>Enter the path of the dfu-util flashing executable</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_8"> <property name="title"> <string>MicroPython</string> </property> <layout class="QGridLayout" name="gridLayout_5"> <item row="0" column="0"> <widget class="QLabel" name="label_14"> <property name="text"> <string>Firmware:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="micropythonFirmwareUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the MicroPython firmware for PyBoard, ESP8266 and ESP32</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_15"> <property name="text"> <string>Documentation:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="micropythonDocuUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the MicroPython documentation</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_9"> <property name="title"> <string>CircuitPython</string> </property> <layout class="QGridLayout" name="gridLayout_6"> <item row="0" column="0"> <widget class="QLabel" name="label_17"> <property name="text"> <string>Firmware:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="circuitpythonFirmwareUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the CircuitPython firmware</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_22"> <property name="text"> <string>Libraries:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="circuitpythonLibrariesUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the CircuitPython libraries</string> </property> <property name="text"> <string/> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_16"> <property name="text"> <string>Documentation:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="circuitpythonDocuUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the CircuitPython documentation</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_10"> <property name="title"> <string>BBC micro:bit</string> </property> <layout class="QGridLayout" name="gridLayout_7"> <item row="0" column="0"> <widget class="QLabel" name="label_18"> <property name="text"> <string>Firmware:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="microbitFirmwareUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the BBC micro:bit DAPLink Firmware</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0" colspan="2"> <widget class="QGroupBox" name="groupBox_6"> <property name="title"> <string>MicroPython</string> </property> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>micro:bit V1:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="microbitV1MicroPythonUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the BBC micro:bit V1 MicroPython Firmware</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> <string>micro:bit V2:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="microbitV2MicroPythonUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the BBC micro:bit V2 MicroPython Firmware</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_19"> <property name="text"> <string>Documentation:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="microbitDocuUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the BBC micro:bit MicroPython documentation</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_11"> <property name="title"> <string>Calliope mini:</string> </property> <layout class="QGridLayout" name="gridLayout_4"> <item row="0" column="0"> <widget class="QLabel" name="label_21"> <property name="text"> <string>Firmware:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="calliopeFirmwareUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the Callope mini Firmware</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>MicroPython:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="calliopeMicroPythonUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the Calliope mini MicroPython Firmware</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_20"> <property name="text"> <string>Documentation:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="calliopeDocuUrlLineEdit"> <property name="toolTip"> <string>Enter the URL for the Calliope mini MicroPython documentation</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>32</height> </size> </property> </spacer> </item> </layout> </widget> <customwidgets> <customwidget> <class>EricPathPicker</class> <extends>QWidget</extends> <header>eric7/EricWidgets/EricPathPicker.h</header> <container>1</container> </customwidget> <customwidget> <class>EricIPv4InputWidget</class> <extends>QWidget</extends> <header>eric7/EricNetwork/EricIPv4InputWidget.h</header> <container>1</container> </customwidget> </customwidgets> <tabstops> <tabstop>workspacePicker</tabstop> <tabstop>manualSelectionCheckBox</tabstop> <tabstop>timeoutSpinBox</tabstop> <tabstop>syncTimeCheckBox</tabstop> <tabstop>colorSchemeComboBox</tabstop> <tabstop>replWrapCheckBox</tabstop> <tabstop>chartThemeComboBox</tabstop> <tabstop>countryEdit</tabstop> <tabstop>ssidEdit</tabstop> <tabstop>passwordEdit</tabstop> <tabstop>showPasswordButton</tabstop> <tabstop>apSsidEdit</tabstop> <tabstop>apPasswordEdit</tabstop> <tabstop>apShowPasswordButton</tabstop> <tabstop>apSecurityComboBox</tabstop> <tabstop>ipv4GroupBox</tabstop> <tabstop>mpyCrossPicker</tabstop> <tabstop>dfuUtilPathPicker</tabstop> <tabstop>micropythonFirmwareUrlLineEdit</tabstop> <tabstop>micropythonDocuUrlLineEdit</tabstop> <tabstop>circuitpythonFirmwareUrlLineEdit</tabstop> <tabstop>circuitpythonLibrariesUrlLineEdit</tabstop> <tabstop>circuitpythonDocuUrlLineEdit</tabstop> <tabstop>microbitFirmwareUrlLineEdit</tabstop> <tabstop>microbitV1MicroPythonUrlLineEdit</tabstop> <tabstop>microbitV2MicroPythonUrlLineEdit</tabstop> <tabstop>microbitDocuUrlLineEdit</tabstop> <tabstop>calliopeFirmwareUrlLineEdit</tabstop> <tabstop>calliopeMicroPythonUrlLineEdit</tabstop> <tabstop>calliopeDocuUrlLineEdit</tabstop> </tabstops> <resources/> <connections/> </ui>