-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
71 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
How to build PlatformIO based project | ||
===================================== | ||
|
||
1. [Install PlatformIO Core](http://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: | ||
|
||
```shell | ||
# Change directory to example | ||
$ cd platform-lattice_ice40/examples/counter | ||
|
||
# Build project | ||
$ pio run | ||
|
||
# Verify project | ||
$ pio run --target verify | ||
|
||
# Launch simulation | ||
$ pio run --target sim | ||
|
||
# Launch time analysis | ||
$ pio run --target time | ||
|
||
# Upload bitstream into the FPGA | ||
$ pio run --target upload | ||
|
||
# Clean build files | ||
$ pio run --target clean | ||
``` | ||
|
||
NOTE: [GTKwave](http://gtkwave.sourceforge.net) is required for simulation |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
How to build PlatformIO based project | ||
===================================== | ||
|
||
1. [Install PlatformIO Core](http://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: | ||
|
||
```shell | ||
# Change directory to example | ||
$ cd platform-lattice_ice40/examples/leds | ||
|
||
# Build project | ||
$ pio run | ||
|
||
# Verify project | ||
$ pio run --target verify | ||
|
||
# Launch simulation | ||
$ pio run --target sim | ||
|
||
# Launch time analysis | ||
$ pio run --target time | ||
|
||
# Upload bitstream into the FPGA | ||
$ pio run --target upload | ||
|
||
# Clean build files | ||
$ pio run --target clean | ||
``` | ||
|
||
NOTE: [GTKwave](http://gtkwave.sourceforge.net) is required for simulation |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters