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 9709f10 + d09829c commit 127cd18
Show file tree
Hide file tree
Showing 31 changed files with 53 additions and 633 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-semaphore"
Expand All @@ -20,23 +19,19 @@ jobs:
- "examples/zephyr-subsys-console-getline"
exclude:
- {os: windows-latest, example: "examples/zephyr-custom-module"}
- {python-version: 2.7, example: "examples/zephyr-blink"}
- {python-version: 2.7, example: "examples/zephyr-custom-module"}
- {python-version: 2.7, example: "examples/zephyr-subsys-console-getline"}
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 @@
# Silicon Labs EFM32: development platform for [PlatformIO](http://platformio.org)
# Silicon Labs EFM32: development platform for [PlatformIO](https://platformio.org)

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

Silicon Labs EFM32 Gecko 32-bit microcontroller (MCU) family includes devices that offer flash memory configurations up to 256 kB, 32 kB of RAM and CPU speeds up to 48 MHz. Based on the powerful ARM Cortex-M core, the Gecko family features innovative low energy techniques, short wake-up time from energy saving modes and a wide selection of peripherals, making it ideal for battery operated applications and other systems requiring high performance and low-energy consumption.

* [Home](http://platformio.org/platforms/siliconlabsefm32) (home page in PlatformIO Platform Registry)
* [Documentation](http://docs.platformio.org/page/platforms/siliconlabsefm32.html) (advanced usage, packages, boards, frameworks, etc.)
* [Home](https://registry.platformio.org/platforms/platformio/siliconlabsefm32) (home page in the PlatformIO Registry)
* [Documentation](https://docs.platformio.org/page/platforms/siliconlabsefm32.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/siliconlabsefm32.html).
Please navigate to [documentation](https://docs.platformio.org/page/platforms/siliconlabsefm32.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-siliconlabsefm32/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:efm32wg_stk3800]
platform = siliconlabsefm32
Expand Down
67 changes: 0 additions & 67 deletions examples/mbed-legacy-examples/mbed-serial/.travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/mbed-legacy-examples/mbed-serial/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-siliconlabsefm32/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
2 changes: 1 addition & 1 deletion examples/mbed-legacy-examples/mbed-serial/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:efm32lg_stk3600]
platform = siliconlabsefm32
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-siliconlabsefm32/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
Loading

0 comments on commit 127cd18

Please sign in to comment.