Skip to content

Commit

Permalink
Merge branch 'release/v5.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed May 30, 2022
2 parents 15c40d0 + 3f70194 commit 13c9c5a
Show file tree
Hide file tree
Showing 22 changed files with 63 additions and 442 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,26 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]
python-version: [3.7]
os: [ubuntu-latest, windows-latest, macos-latest]
example:
- "examples/mbed-rtos-blink-baremetal"
- "examples/mbed-rtos-cellular"
- "examples/mbed-rtos-ethernet-tls"
- "examples/zephyr-blink"
- "examples/zephyr-synchronization"
exclude:
- {python-version: 2.7, example: "examples/zephyr-blink"}
- {python-version: 2.7, example: "examples/zephyr-synchronization"}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U https://github.com/platformio/platformio/archive/develop.zip
platformio platform install file://.
pio pkg install --global --platform symlink://.
- name: Build examples
run: |
platformio run -d ${{ matrix.example }}
pio run -d ${{ matrix.example }}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

The i.MX RT series of crossover processors features the Arm Cortex-M core, real-time functionality and MCU usability at a cost-effective price. Combining high performance with real-time functionality, the i.MX RT series of crossover processors are designed to support next-generation IoT applications with a high level of integration and security balanced with MCU-level usability.

* [Home](http://platformio.org/platforms/nxpimxrt) (home page in PlatformIO Platform Registry)
* [Documentation](http://docs.platformio.org/page/platforms/nxpimxrt.html) (advanced usage, packages, boards, frameworks, etc.)
* [Home](https://registry.platformio.org/platforms/platformio/nxpimxrt) (home page in the PlatformIO Registry)
* [Documentation](https://docs.platformio.org/page/platforms/nxpimxrt.html) (advanced usage, packages, boards, frameworks, etc.)

# Usage

1. [Install PlatformIO](http://platformio.org)
2. Create PlatformIO project and configure a platform option in [platformio.ini](http://docs.platformio.org/page/projectconf.html) file:
1. [Install PlatformIO](https://platformio.org)
2. Create PlatformIO project and configure a platform option in [platformio.ini](https://docs.platformio.org/page/projectconf.html) file:

## Stable version

Expand All @@ -32,4 +32,4 @@ board = ...

# Configuration

Please navigate to [documentation](http://docs.platformio.org/page/platforms/nxpimxrt.html).
Please navigate to [documentation](https://docs.platformio.org/page/platforms/nxpimxrt.html).
38 changes: 0 additions & 38 deletions builder/compat.py

This file was deleted.

15 changes: 10 additions & 5 deletions builder/frameworks/_bare.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2020-present PlatformIO <[email protected]>
# Copyright 2014-present PlatformIO <[email protected]>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -21,7 +21,12 @@
env = DefaultEnvironment()

env.Append(
ASFLAGS=["-x", "assembler-with-cpp"],
ASFLAGS=[
"-mthumb",
],
ASPPFLAGS=[
"-x", "assembler-with-cpp",
],

CCFLAGS=[
"-Os", # optimize for size
Expand Down Expand Up @@ -54,13 +59,13 @@

if "BOARD" in env:
env.Append(
ASFLAGS=[
"-mcpu=%s" % env.BoardConfig().get("build.cpu")
],
CCFLAGS=[
"-mcpu=%s" % env.BoardConfig().get("build.cpu")
],
LINKFLAGS=[
"-mcpu=%s" % env.BoardConfig().get("build.cpu")
]
)

# copy CCFLAGS to ASFLAGS (-x assembler-with-cpp mode)
env.Append(ASFLAGS=env.get("CCFLAGS", [])[:])
1 change: 0 additions & 1 deletion builder/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
Builder, Default, DefaultEnvironment)

env = DefaultEnvironment()
env.SConscript("compat.py", exports="env")
platform = env.PioPlatform()
board = env.BoardConfig()

Expand Down
67 changes: 0 additions & 67 deletions examples/mbed-rtos-blink-baremetal/.travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/mbed-rtos-blink-baremetal/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
How to build PlatformIO based project
=====================================

1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/platformio/platform-nxpimxrt/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
2 changes: 1 addition & 1 deletion examples/mbed-rtos-blink-baremetal/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
; https://docs.platformio.org/page/projectconf.html

[env:mimxrt1050_evk]
platform = nxpimxrt
Expand Down
67 changes: 0 additions & 67 deletions examples/mbed-rtos-cellular/.travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/mbed-rtos-cellular/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
How to build PlatformIO based project
=====================================

1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/platformio/platform-nxpimxrt/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
2 changes: 1 addition & 1 deletion examples/mbed-rtos-cellular/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
; https://docs.platformio.org/page/projectconf.html

[env:mimxrt1050_evk]
platform = nxpimxrt
Expand Down
67 changes: 0 additions & 67 deletions examples/mbed-rtos-ethernet-tls/.travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/mbed-rtos-ethernet-tls/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
How to build PlatformIO based project
=====================================

1. [Install PlatformIO Core](http://docs.platformio.org/page/core.html)
1. [Install PlatformIO Core](https://docs.platformio.org/page/core.html)
2. Download [development platform with examples](https://github.com/platformio/platform-nxpimxrt/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
Loading

0 comments on commit 13c9c5a

Please sign in to comment.