Skip to content

Commit

Permalink
Merge branch 'release/v9.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed May 30, 2022
2 parents f8a48b9 + ab6773f commit 725bb75
Show file tree
Hide file tree
Showing 39 changed files with 63 additions and 704 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ 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-usb-msd"
Expand All @@ -19,23 +18,19 @@ jobs:
- "examples/mbed-legacy-examples/mbed-rtos-tls-client"
- "examples/zephyr-blink"
- "examples/zephyr-net-telnet"
exclude:
- {python-version: 2.7, example: "examples/zephyr-blink"}
- {python-version: 2.7, example: "examples/zephyr-net-telnet"}
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 }}
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Freescale Kinetis: development platform for [PlatformIO](http://platformio.org)
# Freescale Kinetis: development platform for [PlatformIO](https://platformio.org)

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

Freescale Kinetis Microcontrollers is family of multiple hardware- and software-compatible ARM Cortex-M0+, Cortex-M4 and Cortex-M7-based MCU series. Kinetis MCUs offer exceptional low-power performance, scalability and feature integration.

* [Home](http://platformio.org/platforms/freescalekinetis) (home page in PlatformIO Platform Registry)
* [Documentation](http://docs.platformio.org/page/platforms/freescalekinetis.html) (advanced usage, packages, boards, frameworks, etc.)
* [Home](https://registry.platformio.org/platforms/platformio/freescalekinetis) (home page in the PlatformIO Registry)
* [Documentation](https://docs.platformio.org/page/platforms/freescalekinetis.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/freescalekinetis.html).
Please navigate to [documentation](https://docs.platformio.org/page/platforms/freescalekinetis.html).
38 changes: 0 additions & 38 deletions builder/compat.py

This file was deleted.

13 changes: 9 additions & 4 deletions builder/frameworks/_bare.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 @@
DefaultEnvironment)

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

env.Replace(
Expand Down
67 changes: 0 additions & 67 deletions examples/mbed-legacy-examples/mbed-events/.travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/mbed-legacy-examples/mbed-events/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-freescalekinetis/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
2 changes: 1 addition & 1 deletion examples/mbed-legacy-examples/mbed-events/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:frdm_k20d50m]
platform = freescalekinetis
Expand Down
65 changes: 0 additions & 65 deletions examples/mbed-legacy-examples/mbed-rtos-tls-client/.travis.yml

This file was deleted.

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-freescalekinetis/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ include paths and build them.

See additional options for PlatformIO Library Dependency Finder `lib_*`:

http://docs.platformio.org/page/projectconf.html#lib-install
https://docs.platformio.org/page/projectconf.html#lib-install

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:frdm_k64f]
platform = freescalekinetis
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-freescalekinetis/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
Loading

0 comments on commit 725bb75

Please sign in to comment.