Skip to content

Commit

Permalink
Merge branch 'release/v5.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Sep 3, 2020
2 parents 99d4e0c + cf4b835 commit ada3f8b
Show file tree
Hide file tree
Showing 136 changed files with 8,665 additions and 7,341 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Core

on: [push]
on: [push, pull_request]

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [2.7, 3.7]
python-version: [2.7, 3.7, 3.8]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -28,8 +28,9 @@ jobs:
tox -e lint
- name: Integration Tests
env:
PLATFORMIO_TEST_ACCOUNT_LOGIN: ${{ secrets.PLATFORMIO_TEST_ACCOUNT_LOGIN }}
PLATFORMIO_TEST_ACCOUNT_PASSWORD: ${{ secrets.PLATFORMIO_TEST_ACCOUNT_PASSWORD }}
TEST_EMAIL_LOGIN: ${{ secrets.TEST_EMAIL_LOGIN }}
TEST_EMAIL_PASSWORD: ${{ secrets.TEST_EMAIL_PASSWORD }}
TEST_EMAIL_IMAP_SERVER: ${{ secrets.TEST_EMAIL_IMAP_SERVER }}
run: |
tox -e testcore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Docs

on: [push]
on: [push, pull_request]

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Examples

on: [push]
on: [push, pull_request]

jobs:
build:
Expand Down Expand Up @@ -49,6 +49,7 @@ jobs:
if: startsWith(matrix.os, 'windows')
env:
PLATFORMIO_CORE_DIR: C:/pio
PLATFORMIO_WORKSPACE_DIR: C:/pio-workspace/$PROJECT_HASH
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,riscv_gap"
run: |
tox -e testexamples
Expand Down
9 changes: 8 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[REPORTS]
output-format=colorized

[MESSAGES CONTROL]
disable=
bad-continuation,
Expand All @@ -12,4 +15,8 @@ disable=
useless-object-inheritance,
useless-import-alias,
fixme,
bad-option-value
bad-option-value,

; PY2 Compat
super-with-arguments,
raise-missing-from
2,044 changes: 69 additions & 1,975 deletions HISTORY.rst

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
lint:
pylint --rcfile=./.pylintrc ./platformio
pylint -j 6 --rcfile=./.pylintrc ./platformio
pylint -j 6 --rcfile=./.pylintrc ./tests

isort:
isort -rc ./platformio
Expand Down Expand Up @@ -27,7 +28,7 @@ clean: clean-docs

profile:
# Usage $ > make PIOARGS="boards" profile
python -m cProfile -o .tox/.tmp/cprofile.prof $(shell which platformio) ${PIOARGS}
python -m cProfile -o .tox/.tmp/cprofile.prof -m platformio ${PIOARGS}
snakeviz .tox/.tmp/cprofile.prof

publish:
Expand Down
14 changes: 8 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ PlatformIO
.. image:: https://raw.githubusercontent.com/platformio/platformio-web/develop/app/images/platformio-ide-laptop.png
:target: https://platformio.org?utm_source=github&utm_medium=core

`PlatformIO <https://platformio.org?utm_source=github&utm_medium=core>`_ a new generation ecosystem for embedded development
`PlatformIO <https://platformio.org?utm_source=github&utm_medium=core>`_ is a professional collaborative platform for embedded development

**A place where Developers and Teams have true Freedom! No more vendor lock-in!**

* Open source, maximum permissive Apache 2.0 license
* Cross-platform IDE and Unified Debugger
Expand All @@ -64,10 +66,10 @@ Instruments
Professional
------------

* `PIO Check <https://docs.platformio.org/page/plus/pio-check.html?utm_source=github&utm_medium=core>`_
* `PIO Remote <https://docs.platformio.org/page/plus/pio-remote.html?utm_source=github&utm_medium=core>`_
* `PIO Unified Debugger <https://docs.platformio.org/page/plus/debugging.html?utm_source=github&utm_medium=core>`_
* `PIO Unit Testing <https://docs.platformio.org/page/plus/unit-testing.html?utm_source=github&utm_medium=core>`_
* `Debugging <https://docs.platformio.org/page/plus/debugging.html?utm_source=github&utm_medium=core>`_
* `Unit Testing <https://docs.platformio.org/page/plus/unit-testing.html?utm_source=github&utm_medium=core>`_
* `Static Code Analysis <https://docs.platformio.org/page/plus/pio-check.html?utm_source=github&utm_medium=core>`_
* `Remote Development <https://docs.platformio.org/page/plus/pio-remote.html?utm_source=github&utm_medium=core>`_

Registry
--------
Expand All @@ -81,6 +83,7 @@ Development Platforms
---------------------

* `Aceinna IMU <https://platformio.org/platforms/aceinna_imu?utm_source=github&utm_medium=core>`_
* `ASR Microelectronics ASR605x <https://platformio.org/platforms/asrmicro650x?utm_source=github&utm_medium=core>`_
* `Atmel AVR <https://platformio.org/platforms/atmelavr?utm_source=github&utm_medium=core>`_
* `Atmel SAM <https://platformio.org/platforms/atmelsam?utm_source=github&utm_medium=core>`_
* `Espressif 32 <https://platformio.org/platforms/espressif32?utm_source=github&utm_medium=core>`_
Expand Down Expand Up @@ -144,7 +147,6 @@ Share minimal diagnostics and usage information to help us make PlatformIO bette
It is enabled by default. For more information see:

* `Telemetry Setting <https://docs.platformio.org/page/userguide/cmd_settings.html?utm_source=github&utm_medium=core#enable-telemetry>`_
* `SSL Setting <https://docs.platformio.org/page/userguide/cmd_settings.html?utm_source=github&utm_medium=core#strict-ssl>`_

License
-------
Expand Down
2 changes: 1 addition & 1 deletion docs
Submodule docs updated 1061 files
2 changes: 1 addition & 1 deletion examples
Submodule examples updated 38 files
+11 −7 README.md
+23 −18 frameworks/arduino/README.md
+10 −10 frameworks/cmsis/README.md
+1 −1 frameworks/esp8266-nonos-sdk/README.md
+2 −2 frameworks/espidf/README.md
+3 −0 frameworks/freedom-e-sdk/README.md
+34 −0 frameworks/freertos/README.md
+1 −1 frameworks/gd32vf103-sdk/README.md
+12 −11 frameworks/libopencm3/README.md
+56 −62 frameworks/mbed/README.md
+19 −19 frameworks/pulp-os/README.md
+1 −1 frameworks/pumbaa/README.md
+2 −2 frameworks/simba/README.md
+11 −11 frameworks/spl/README.md
+10 −10 frameworks/stm32cube/README.md
+17 −0 frameworks/wd-riscv-sdk/README.md
+1 −1 frameworks/wiringpi/README.md
+38 −40 frameworks/zephyr/README.md
+15 −0 platforms/asrmicro650x/README.md
+1 −1 platforms/atmelsam/README.md
+15 −0 platforms/chipsalliance/README.md
+6 −7 platforms/freescalekinetis/README.md
+4 −5 platforms/maxim32/README.md
+4 −7 platforms/nordicnrf52/README.md
+3 −2 platforms/nxpimxrt/README.md
+5 −8 platforms/nxplpc/README.md
+17 −17 platforms/riscv_gap/README.md
+3 −0 platforms/sifive/README.md
+5 −4 platforms/siliconlabsefm32/README.md
+9 −9 platforms/ststm32/README.md
+1 −0 platforms/titiva/README.md
+11 −0 unit-testing/mbed-blink/mbed_app.json
+7 −0 unit-testing/mbed-blink/platformio.ini
+12 −11 unit-testing/mbed-blink/src/main.cpp
+5 −5 unit-testing/mbed-blink/test/test_main.cpp
+58 −0 wiring-blink/.vscode/c_cpp_properties.json
+7 −0 wiring-blink/.vscode/extensions.json
+32 −0 wiring-blink/.vscode/launch.json
39 changes: 33 additions & 6 deletions platformio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@
# See the License for the specific language governing permissions and
# limitations under the License.

VERSION = (4, 3, 4)
import sys

VERSION = (5, 0, 0)
__version__ = ".".join([str(s) for s in VERSION])

__title__ = "platformio"
__description__ = (
"A new generation ecosystem for embedded development. "
"A professional collaborative platform for embedded development. "
"Cross-platform IDE and Unified Debugger. "
"Static Code Analyzer and Remote Unit Testing. "
"Multi-platform and Multi-architecture Build System. "
"Firmware File Explorer and Memory Inspection. "
"Arduino, ARM mbed, Espressif (ESP8266/ESP32), STM32, PIC32, nRF51/nRF52, "
"RISC-V, FPGA, CMSIS, SPL, AVR, Samsung ARTIK, libOpenCM3"
"IoT, Arduino, CMSIS, ESP-IDF, FreeRTOS, libOpenCM3, mbedOS, Pulp OS, SPL, "
"STM32Cube, Zephyr RTOS, ARM, AVR, Espressif (ESP8266/ESP32), FPGA, "
"MCS-51 (8051), MSP430, Nordic (nRF51/nRF52), NXP i.MX RT, PIC32, RISC-V, "
"STMicroelectronics (STM8/STM32), Teensy"
)
__url__ = "https://platformio.org"

Expand All @@ -33,6 +37,29 @@
__license__ = "Apache Software License"
__copyright__ = "Copyright 2014-present PlatformIO"

__apiurl__ = "https://api.platformio.org"
__pioaccount_api__ = "https://api.accounts.platformio.org"
__accounts_api__ = "https://api.accounts.platformio.org"
__registry_api__ = [
"https://api.registry.platformio.org",
"https://api.registry.ns1.platformio.org",
]
__pioremote_endpoint__ = "ssl:host=remote.platformio.org:port=4413"

__default_requests_timeout__ = (10, None) # (connect, read)

__core_packages__ = {
"contrib-piohome": "~3.3.0",
"contrib-pysite": "~2.%d%d.0" % (sys.version_info.major, sys.version_info.minor),
"tool-unity": "~1.20500.0",
"tool-scons": "~2.20501.7" if sys.version_info.major == 2 else "~4.40001.0",
"tool-cppcheck": "~1.210.0",
"tool-clangtidy": "~1.100000.0",
"tool-pvs-studio": "~7.9.0",
}

__check_internet_hosts__ = [
"140.82.118.3", # Github.com
"35.231.145.151", # Gitlab.com
"88.198.170.159", # platformio.org
"github.com",
"platformio.org",
]
Loading

0 comments on commit ada3f8b

Please sign in to comment.