Skip to content

Commit 1f43975

Browse files
committed
Merge branch 'release/v9.2.0'
2 parents 7a6db16 + 8454a7e commit 1f43975

File tree

43 files changed

+67
-914
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+67
-914
lines changed

.github/workflows/examples.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
os: [ubuntu-18.04, windows-latest, macos-latest]
11-
python-version: [3.7]
10+
os: [ubuntu-latest, windows-latest, macos-latest]
1211
example:
1312
- "examples/mbed-rtos-blink-baremetal"
1413
- "examples/mbed-rtos-blockdevice"
@@ -23,18 +22,17 @@ jobs:
2322
- "examples/zephyr-synchronization"
2423
runs-on: ${{ matrix.os }}
2524
steps:
26-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v3
2726
with:
2827
submodules: "recursive"
29-
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@v1
28+
- name: Set up Python
29+
uses: actions/setup-python@v3
3130
with:
32-
python-version: ${{ matrix.python-version }}
31+
python-version: "3.9"
3332
- name: Install dependencies
3433
run: |
35-
python -m pip install --upgrade pip
3634
pip install -U https://github.com/platformio/platformio/archive/develop.zip
37-
platformio platform install file://.
35+
pio pkg install --global --platform symlink://.
3836
- name: Build examples
3937
run: |
40-
platformio run -d ${{ matrix.example }}
38+
pio run -d ${{ matrix.example }}

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# NXP LPC: development platform for [PlatformIO](http://platformio.org)
1+
# NXP LPC: development platform for [PlatformIO](https://platformio.org)
22

33
[![Build Status](https://github.com/platformio/platform-nxplpc/workflows/Examples/badge.svg)](https://github.com/platformio/platform-nxplpc/actions)
44

55
The NXP LPC is a family of 32-bit microcontroller integrated circuits by NXP Semiconductors. The LPC chips are grouped into related series that are based around the same 32-bit ARM processor core, such as the Cortex-M4F, Cortex-M3, Cortex-M0+, or Cortex-M0. Internally, each microcontroller consists of the processor core, static RAM memory, flash memory, debugging interface, and various peripherals.
66

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

1010
# Usage
1111

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

1515
## Stable version
1616

@@ -32,4 +32,4 @@ board = ...
3232

3333
# Configuration
3434

35-
Please navigate to [documentation](http://docs.platformio.org/page/platforms/nxplpc.html).
35+
Please navigate to [documentation](https://docs.platformio.org/page/platforms/nxplpc.html).

builder/compat.py

Lines changed: 0 additions & 38 deletions
This file was deleted.

builder/frameworks/_bare.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@
2121
env = DefaultEnvironment()
2222

2323
env.Append(
24-
ASFLAGS=["-x", "assembler-with-cpp"],
24+
ASFLAGS=[
25+
"-mthumb",
26+
],
27+
ASPPFLAGS=[
28+
"-x", "assembler-with-cpp",
29+
],
2530

2631
CCFLAGS=[
2732
"-Os", # optimize for size
@@ -54,13 +59,13 @@
5459

5560
if "BOARD" in env:
5661
env.Append(
62+
ASFLAGS=[
63+
"-mcpu=%s" % env.BoardConfig().get("build.cpu")
64+
],
5765
CCFLAGS=[
5866
"-mcpu=%s" % env.BoardConfig().get("build.cpu")
5967
],
6068
LINKFLAGS=[
6169
"-mcpu=%s" % env.BoardConfig().get("build.cpu")
6270
]
6371
)
64-
65-
# copy CCFLAGS to ASFLAGS (-x assembler-with-cpp mode)
66-
env.Append(ASFLAGS=env.get("CCFLAGS", [])[:])

builder/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def add_image_checksum(source, target, env):
4040

4141

4242
env = DefaultEnvironment()
43-
env.SConscript("compat.py", exports="env")
4443
platform = env.PioPlatform()
4544
board = env.BoardConfig()
4645

examples/mbed-legacy-examples/mbed-blink/.travis.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

examples/mbed-legacy-examples/mbed-blink/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
How to build PlatformIO based project
22
=====================================
33

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

examples/mbed-legacy-examples/mbed-blink/platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
; Library options: dependencies, extra library storages
66
;
77
; Please visit documentation for the other options and examples
8-
; http://docs.platformio.org/page/projectconf.html
8+
; https://docs.platformio.org/page/projectconf.html
99

1010

1111
[env:lpc11u35]

examples/mbed-legacy-examples/mbed-dsp/.travis.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

examples/mbed-legacy-examples/mbed-dsp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
How to build PlatformIO based project
22
=====================================
33

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

0 commit comments

Comments
 (0)