Skip to content

Commit

Permalink
Merge branch 'release/v1.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
valeros committed May 31, 2022
2 parents 6fb7ce4 + bb0c9be commit 851fe4c
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 198 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Examples

on: [push, pull_request]

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
example:
- "examples/counter"
- "examples/leds"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
pip install -U https://github.com/platformio/platformio/archive/develop.zip
pio pkg install --global --platform symlink://.
- name: Build examples
run: |
pio run -d ${{ matrix.example }}
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Lattice iCE40: development platform for [PlatformIO](http://platformio.org)
[![Build Status](https://travis-ci.org/platformio/platform-lattice_ice40.svg?branch=develop)](https://travis-ci.org/platformio/platform-lattice_ice40)
[![Build status](https://ci.appveyor.com/api/projects/status/4q0e67cy1ax5x67a/branch/develop?svg=true)](https://ci.appveyor.com/project/ivankravets/platform-lattice_ice40/branch/develop)
# Lattice iCE40: development platform for [PlatformIO](https://platformio.org)

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


Lattice iCE40 are the first FPGAs fully usable by open source tools.

* [Home](http://platformio.org/platforms/lattice_ice40) (home page in PlatformIO Platform Registry)
* [Documentation](http://docs.platformio.org/page/platforms/lattice_ice40.html) (advanced usage, packages, boards, frameworks, etc.)
* [Home](https://registry.platformio.org/platforms/platformio/lattice_ice40) (home page in the PlatformIO Registry)
* [Documentation](https://docs.platformio.org/page/platforms/lattice_ice40.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,7 +33,7 @@ board = ...

# Configuration

Please navigate to [documentation](http://docs.platformio.org/page/platforms/lattice_ice40.html).
Please navigate to [documentation](https://docs.platformio.org/page/platforms/lattice_ice40.html).


# Credits
Expand Down
24 changes: 0 additions & 24 deletions appveyor.yml

This file was deleted.

67 changes: 0 additions & 67 deletions examples/counter/.travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/counter/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-lattice_ice40/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
2 changes: 1 addition & 1 deletion examples/counter/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:icestick]
platform = lattice_ice40
Expand Down
67 changes: 0 additions & 67 deletions examples/leds/.travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion examples/leds/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-lattice_ice40/archive/develop.zip)
3. Extract ZIP archive
4. Run these commands:
Expand Down
2 changes: 1 addition & 1 deletion examples/leds/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:icezum]
platform = lattice_ice40
Expand Down
4 changes: 2 additions & 2 deletions platform.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"FPGA"
],
"engines": {
"platformio": "^5"
"platformio": "^6"
},
"repository": {
"type": "git",
"url": "https://github.com/platformio/platform-lattice_ice40.git"
},
"version": "1.2.4",
"version": "1.3.0",
"packages": {
"toolchain-icestorm": {
"type": "toolchain",
Expand Down
2 changes: 1 addition & 1 deletion platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from platformio.managers.platform import PlatformBase
from platformio.public import PlatformBase


class Lattice_ice40Platform(PlatformBase):
Expand Down

0 comments on commit 851fe4c

Please sign in to comment.