forked from platformio/platformio-core
A few updates for PIO Unified Debugger and PIO Account
This commit is contained in:
19
HISTORY.rst
19
HISTORY.rst
@ -41,6 +41,16 @@ PlatformIO 3.0
|
|||||||
|
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
* Development platform `Atmel AVR <https://github.com/platformio/platform-atmelavr>`__
|
||||||
|
|
||||||
|
+ ATTiny Support (1634, x313, x4, x41, x5, x61, x7, x8)
|
||||||
|
(`issue #47 <https://github.com/platformio/platform-atmelavr/issues/47>`_)
|
||||||
|
+ New boards: Dwenguino, nicai-systems BOB3 coding bot, NIBO 2 robot,
|
||||||
|
NIBObee robot
|
||||||
|
+ AVRDude TCP upload port (``net:host:port``)
|
||||||
|
(`pull #45 <https://github.com/platformio/platform-atmelavr/pull/45>`_)
|
||||||
|
+ Fixed uploading for LowPowerLab Moteino
|
||||||
|
|
||||||
* Development platform `Atmel SAM <https://github.com/platformio/platform-atmelsam>`__
|
* Development platform `Atmel SAM <https://github.com/platformio/platform-atmelsam>`__
|
||||||
|
|
||||||
+ Support for `PIO Unified Debugger <http://docs.platformio.org/page/plus/debugging.html>`__
|
+ Support for `PIO Unified Debugger <http://docs.platformio.org/page/plus/debugging.html>`__
|
||||||
@ -50,7 +60,8 @@ PlatformIO 3.0
|
|||||||
|
|
||||||
* Development platform `Espressif 32 <https://github.com/platformio/platform-espressif32>`__
|
* Development platform `Espressif 32 <https://github.com/platformio/platform-espressif32>`__
|
||||||
|
|
||||||
+ Add support for FireBeetle-ESP32 and IntoRobot Fig
|
+ Added support for OTA (Over-The-Air) updates
|
||||||
|
+ Added support for FireBeetle-ESP32 and IntoRobot Fig
|
||||||
+ Update ESP-IDF framework to v2.0
|
+ Update ESP-IDF framework to v2.0
|
||||||
+ Update core for Arduino framework
|
+ Update core for Arduino framework
|
||||||
|
|
||||||
@ -70,6 +81,12 @@ PlatformIO 3.0
|
|||||||
|
|
||||||
+ Support for `PIO Unified Debugger <http://docs.platformio.org/page/plus/debugging.html>`__
|
+ Support for `PIO Unified Debugger <http://docs.platformio.org/page/plus/debugging.html>`__
|
||||||
|
|
||||||
|
* Development platform `ST STM32 <https://github.com/platformio/platform-ststm32>`__
|
||||||
|
|
||||||
|
+ Support for `PIO Unified Debugger <http://docs.platformio.org/page/plus/debugging.html>`__
|
||||||
|
+ Added support for new boards: ST STM32F0308DISCOVERY
|
||||||
|
+ Updated ``tool-stlink`` to v1.3.1
|
||||||
|
|
||||||
* Development platform `Teensy <https://github.com/platformio/platform-teensy>`__
|
* Development platform `Teensy <https://github.com/platformio/platform-teensy>`__
|
||||||
|
|
||||||
+ Updated Teensy Loader CLI to v21
|
+ Updated Teensy Loader CLI to v21
|
||||||
|
2
docs
2
docs
Submodule docs updated: 9c6c114dd5...1a6c873fe5
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
VERSION = (3, 4, "0a8")
|
VERSION = (3, 4, "0a9")
|
||||||
__version__ = ".".join([str(s) for s in VERSION])
|
__version__ = ".".join([str(s) for s in VERSION])
|
||||||
|
|
||||||
__title__ = "platformio"
|
__title__ = "platformio"
|
||||||
|
@ -52,7 +52,9 @@ def account_password(**kwargs):
|
|||||||
|
|
||||||
|
|
||||||
@cli.command("token", short_help="Get or regenerate Authentication Token")
|
@cli.command("token", short_help="Get or regenerate Authentication Token")
|
||||||
|
@click.option("-p", "--password")
|
||||||
@click.option("--regenerate", is_flag=True)
|
@click.option("--regenerate", is_flag=True)
|
||||||
|
@click.option("--json-output", is_flag=True)
|
||||||
def account_token(**kwargs):
|
def account_token(**kwargs):
|
||||||
pioplus_call(sys.argv[1:])
|
pioplus_call(sys.argv[1:])
|
||||||
|
|
||||||
|
@ -95,7 +95,9 @@ class Upgrader(object):
|
|||||||
|
|
||||||
self._upgraders = [
|
self._upgraders = [
|
||||||
(semantic_version.Version("3.0.0-a.1"), self._upgrade_to_3_0_0),
|
(semantic_version.Version("3.0.0-a.1"), self._upgrade_to_3_0_0),
|
||||||
(semantic_version.Version("3.0.0-b.11"), self._upgrade_to_3_0_0b11)
|
(semantic_version.Version("3.0.0-b.11"),
|
||||||
|
self._upgrade_to_3_0_0b11),
|
||||||
|
(semantic_version.Version("3.4.0-a.9"), self._update_dev_platforms)
|
||||||
]
|
]
|
||||||
|
|
||||||
def run(self, ctx):
|
def run(self, ctx):
|
||||||
@ -103,10 +105,10 @@ class Upgrader(object):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
result = [True]
|
result = [True]
|
||||||
for item in self._upgraders:
|
for version, callback in self._upgraders:
|
||||||
if self.from_version >= item[0] or self.to_version < item[0]:
|
if self.from_version >= version or self.to_version < version:
|
||||||
continue
|
continue
|
||||||
result.append(item[1](ctx))
|
result.append(callback(ctx))
|
||||||
|
|
||||||
return all(result)
|
return all(result)
|
||||||
|
|
||||||
@ -147,6 +149,11 @@ class Upgrader(object):
|
|||||||
ctx.invoke(cmd_platform_uninstall, platforms=["espressif"])
|
ctx.invoke(cmd_platform_uninstall, platforms=["espressif"])
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def _update_dev_platforms(ctx):
|
||||||
|
ctx.invoke(cmd_platform_update)
|
||||||
|
return True
|
||||||
|
|
||||||
|
|
||||||
def after_upgrade(ctx):
|
def after_upgrade(ctx):
|
||||||
last_version = app.get_state_item("last_version", "0.0.0")
|
last_version = app.get_state_item("last_version", "0.0.0")
|
||||||
|
@ -22,7 +22,7 @@ from platformio.managers.package import PackageManager
|
|||||||
|
|
||||||
CORE_PACKAGES = {
|
CORE_PACKAGES = {
|
||||||
"pysite-pioplus": ">=0.3.0,<2",
|
"pysite-pioplus": ">=0.3.0,<2",
|
||||||
"tool-pioplus": ">=0.8.3,<2",
|
"tool-pioplus": ">=0.8.5,<2",
|
||||||
"tool-unity": "~1.20302.1",
|
"tool-unity": "~1.20302.1",
|
||||||
"tool-scons": "~3.20501.2"
|
"tool-scons": "~3.20501.2"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user