Commit Graph

382 Commits

Author SHA1 Message Date
Pascal Mainini
7bf2a4560f fix CI 2020-01-23 11:27:50 +01:00
Pascal Mainini
3f19ec183a add documentation for migen examples 2020-01-23 00:16:11 +01:00
Pascal Mainini
b009e1c533 add migen examples for blink and blink-expanded 2020-01-23 00:15:52 +01:00
Pascal Mainini
d42d25121a add lxbuildenv and migen dependency 2020-01-23 00:12:53 +01:00
Sean Cross
53cffe1761 micropython: fix usb ID
Previously, this file had the incorrect USB PID.  It has the Tomu ID
(0x70bl) instead of the Fomu ID (0x5bf0).  This regenerates it with the
correct ID.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-01-18 22:39:17 +08:00
peterc
80d473e1c1 Note which python version to use building zephyr
Following all the instructions in order leaves you with python3.6 from
the TOMU toolchain first in your PATH, which doesn't work for building
zephyr.

Add a note to remove it from your PATH.
2020-01-17 11:41:37 +10:00
Sean Cross
5c83e599dc
Merge pull request #133 from daurnimator/patch-2
Update link to wishbone-utils
2020-01-16 18:11:51 +10:00
daurnimator
199cf9fb38
Update link to wishbone-utils 2020-01-16 18:06:13 +10:00
Pascal Mainini
4299fa2f00 Fix link 2020-01-11 17:18:51 +01:00
Pascal Mainini
ac248884fa Fix verilog examples
* Move blink-expanded to blink and vice versa (blink expanded was actually simpler)
* Remove unused code and make minimal example more minimal
* Add support for different Fomu boards to "blink"
* Update documentation
2020-01-11 17:14:15 +01:00
dependabot-preview[bot]
efd814259b
build(deps): bump litex/deps/litescope from 2474ce9 to daf10e9
Bumps [litex/deps/litescope](https://github.com/enjoy-digital/litescope) from `2474ce9` to `daf10e9`.
- [Release notes](https://github.com/enjoy-digital/litescope/releases)
- [Commits](2474ce9db2...daf10e9473)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 00:52:12 +00:00
dependabot-preview[bot]
becfbebbbb
build(deps): bump litex/deps/pyserial from acab9d2 to 3a6ae5a
Bumps [litex/deps/pyserial](https://github.com/pyserial/pyserial) from `acab9d2` to `3a6ae5a`.
- [Release notes](https://github.com/pyserial/pyserial/releases)
- [Commits](acab9d2c0e...3a6ae5a630)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-07 00:51:32 +00:00
Tim Ansell
691de19361
Merge pull request #114 from mithro/travis-ci
Adding CI for various steps
2020-01-05 12:07:47 -08:00
Tim 'mithro' Ansell
649efabedc travis: Move travis function export into a script. 2020-01-05 12:01:18 -08:00
Tim 'mithro' Ansell
004d1983e7 travis: Copy python.exe to python3.exe on Windows. 2020-01-05 12:01:18 -08:00
Tim 'mithro' Ansell
6ea29bd4c1 travis: More OS versions. 2020-01-05 12:01:18 -08:00
Tim 'mithro' Ansell
68429a94bb get-toolchain: Fix permissions on zipfile extraction. 2020-01-05 12:01:18 -08:00
Tim 'mithro' Ansell
c87ec361f8 get-toolchain: Support zipfile as well as tarfile. 2020-01-05 12:01:18 -08:00
Tim 'mithro' Ansell
e505d27f43 get-toolchain: Work on both Python 2 + Python 3 2020-01-05 12:01:18 -08:00
Tim 'mithro' Ansell
1f931af94d get-toolchain: Fix platform on Mac OS X. 2020-01-05 12:01:18 -08:00
Tim 'mithro' Ansell
1c5f05d4c1 travis: Use Python3 environment. 2020-01-05 12:01:18 -08:00
Tim 'mithro' Ansell
87ae972916 get-toolchain: Print platform. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
4392200c7a get-toolchain: Import print function. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
86973dc9c0 travis: Fix verilog testing. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
4b855fdc54 get-toolchain: Print the JSON output on error. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
b4b95511ed travis: Fix path and expanded example. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
394f5a5b69 get-toolchain: Support GitHub API tokens.
Hopefully fixes the rate limiting issue on Mac OS X.
2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
f972602065 travis: Clone full repo. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
638b564c17 travis: Fetch tags. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
495a779256 get-toolchain: More fixes. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
a3dae7cf7f get-toolchain: Import tarfile. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
c3ee05a0e8 travis: Quieter output. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
465f30630b travis: Extract toolchain and set PATH. 2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
6b44db1cc9 travis: Build the current examples.
- RISC-V CPU blink example
 - Basic Verilog Blink example
 - Extended Verilog Blink example for Hacker
 - Extended Verilog Blink example for PVT
 - LiteX example for Hacker
 - LiteX example for PVT
2020-01-05 12:01:17 -08:00
Tim 'mithro' Ansell
e73c6c9def travis: Adding script for downloading toolchain.
Downloads the latest toolchain from
https://github.com/im-tomu/fomu-toolchain, checks the checksums and then
extracts the toolchain.
2020-01-05 12:01:17 -08:00
Tim Ansell
a1d682ee52
Merge pull request #115 from mithro/lxbuildenv-exit-code
Make lxbuildenv.py return 0 on success.
2020-01-05 12:00:57 -08:00
Tim 'mithro' Ansell
4dc82da0e9 Make lxbuildenv.py return 0 on success.
`sys.exit` raises a `SystemExit` exception which causes a bare except to
always trigger. IE the below always prints hello.

```python
import sys
try:
	sys.exit(0)
except:
	print("Hello")
```

However, SystemExit doesn't inherit from Exception, so the following
works as expected.

```python
import sys
try:
	sys.exit(0)
except Exception:
	print("Hello")
```
2020-01-05 09:13:24 -08:00
Tim Ansell
6870876857
Merge pull request #112 from mithro/readme-cleanup
README cleanup
2020-01-05 16:56:04 +00:00
Sean Cross
66ca2914fc
Merge pull request #113 from david-sawatzke/fomu-pac-update
Update to v0.0.3 of fomu-pac
2020-01-03 23:26:36 +08:00
David Sawatzke
2bdabec379 Update to v0.0.3 of fomu-pac 2020-01-03 15:23:02 +01:00
Tim 'mithro' Ansell
d439e55506 Fixing Makefile for Verilog examples. 2020-01-03 14:21:19 +00:00
Tim 'mithro' Ansell
53f019252b Adding example output. 2020-01-03 13:55:40 +00:00
Tim 'mithro' Ansell
d30642a8c0 Put downloaded files into _download
Means `make env` doesn't download everything again from scratch.
2020-01-03 13:55:40 +00:00
Tim 'mithro' Ansell
9a046efa1d Moving the images under the docs/_static directory. 2020-01-03 13:55:40 +00:00
Tim 'mithro' Ansell
c338a1d654 Clean up the README file. 2020-01-03 13:55:35 +00:00
Tim 'mithro' Ansell
06d6505d11 Rework the layout of the verilog examples slightly.
* Put them all under a `verilog` directory.
 * Move the common `pcf` files to the top.
 * Rename to `blink-basic` and `blink-expanded`.
2020-01-03 13:54:42 +00:00
Sean Cross
ce8efa7d05
Merge pull request #94 from Tiwalun/add-rust-example
Add Rust example
2020-01-03 10:14:59 +08:00
Sean Cross
63af397cb0
Merge pull request #110 from mainini/dev
add link to generated headers, minor fixes
2020-01-03 10:08:08 +08:00
Pascal Mainini
47fa080ac0 add link to generated headers, minor fixes 2020-01-03 02:58:02 +01:00
Sean Cross
5aadf1ac8d micropython-fomu: spi compatibility with foboot-2.0
This adds a compatibility layer for micropython so it now works with
foboot-2.0.

This fixes #91.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-01-03 09:03:23 +08:00