mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Merge tag 'v4.3.0' into develop
Bump version to 4.3.0
This commit is contained in:
@ -6,7 +6,7 @@ Release Notes
|
|||||||
PlatformIO Core 4
|
PlatformIO Core 4
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
4.3.0 (2020-??-??)
|
4.3.0 (2020-03-19)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
* Initial support for an official `PlatformIO for CLion IDE <https://docs.platformio.org/page/integration/ide/clion.html>`__ plugin:
|
* Initial support for an official `PlatformIO for CLion IDE <https://docs.platformio.org/page/integration/ide/clion.html>`__ plugin:
|
||||||
|
2
docs
2
docs
Submodule docs updated: 0af3f53030...51b7dd49b7
@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
VERSION = (4, 3, "0rc1")
|
VERSION = (4, 3, 0)
|
||||||
__version__ = ".".join([str(s) for s in VERSION])
|
__version__ = ".".join([str(s) for s in VERSION])
|
||||||
|
|
||||||
__title__ = "platformio"
|
__title__ = "platformio"
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# pylint: disable=too-many-locals
|
# pylint: disable=too-many-locals,too-many-statements
|
||||||
|
|
||||||
import mimetypes
|
import mimetypes
|
||||||
import socket
|
import socket
|
||||||
@ -63,6 +63,7 @@ def cli(port, host, no_open, shutdown_timeout):
|
|||||||
|
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
from twisted.web import server
|
from twisted.web import server
|
||||||
|
from twisted.internet.error import CannotListenError
|
||||||
|
|
||||||
from platformio.commands.home.rpc.handlers.app import AppRPC
|
from platformio.commands.home.rpc.handlers.app import AppRPC
|
||||||
from platformio.commands.home.rpc.handlers.ide import IDERPC
|
from platformio.commands.home.rpc.handlers.ide import IDERPC
|
||||||
@ -121,6 +122,12 @@ def cli(port, host, no_open, shutdown_timeout):
|
|||||||
click.echo("")
|
click.echo("")
|
||||||
click.echo("Open PlatformIO Home in your browser by this URL => %s" % home_url)
|
click.echo("Open PlatformIO Home in your browser by this URL => %s" % home_url)
|
||||||
|
|
||||||
|
try:
|
||||||
|
reactor.listenTCP(port, site, interface=host)
|
||||||
|
except CannotListenError as e:
|
||||||
|
click.secho(str(e), fg="red", err=True)
|
||||||
|
already_started = True
|
||||||
|
|
||||||
if already_started:
|
if already_started:
|
||||||
click.secho(
|
click.secho(
|
||||||
"PlatformIO Home server is already started in another process.", fg="yellow"
|
"PlatformIO Home server is already started in another process.", fg="yellow"
|
||||||
@ -129,7 +136,6 @@ def cli(port, host, no_open, shutdown_timeout):
|
|||||||
|
|
||||||
click.echo("PIO Home has been started. Press Ctrl+C to shutdown.")
|
click.echo("PIO Home has been started. Press Ctrl+C to shutdown.")
|
||||||
|
|
||||||
reactor.listenTCP(port, site, interface=host)
|
|
||||||
reactor.run()
|
reactor.run()
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user