Commit Graph

263 Commits

Author SHA1 Message Date
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
Tim Ansell
f65852b6d8
Merge pull request #109 from mithro/more-top-links
Adding some more top links.
2020-01-02 20:36:07 +01:00
Tim 'mithro' Ansell
f796bb943f Adding some more top links.
- How to buy.
 - How to report an issue.
 - How to get help.
 - Fomu Website.
2020-01-02 19:31:31 +00:00
Dominik Boehi
a376c84c82 Remove flash_release.sh to make code consistent with the documentation 2020-01-02 15:38:05 +01:00
Dominik Boehi
f3277c7999 Use fixed fomu-rt version 0.0.4 2020-01-02 15:29:38 +01:00
Dominik Boehi
7f584960ae Use fomu-rt with fixed linker script 2020-01-02 15:29:38 +01:00
Dominik Boehi
6192ecd432 Working Rust example with new bootloader 2020-01-02 15:29:38 +01:00
Dominik
27864a45f9 Fix timer configuration 2020-01-02 15:29:38 +01:00
Dominik
f177fad5ac Add Rust example 2020-01-02 15:29:38 +01:00
Tim Ansell
4b1dabf9f1
Merge pull request #108 from mithro/cdc-example-remove
Remove old riscv-usb-cdcacm code example.
2020-01-02 15:16:48 +01:00
Tim 'mithro' Ansell
ae7a07a1ac Remove old riscv-usb-cdcacm code example. 2020-01-02 14:07:33 +00:00
Tim Ansell
ec7b20e7f4
Merge pull request #101 from mainini/master
Add description for TinyUSB example
2020-01-02 15:04:43 +01:00
Tim Ansell
b96b679dbd
Merge pull request #106 from mithro/master
Updating ValentyUSB.
2020-01-02 13:40:41 +01:00
Tim 'mithro' Ansell
bc783dc3d9 Updating ValentyUSB. 2020-01-02 12:37:11 +00:00
Sean Cross
0aeb7f3e52
Merge pull request #105 from billpcs/patch-1
Small C code formating fix
2020-01-01 05:31:31 +02:00
Vassilis Panagiotopoulos
74e2db9072
Update main.c
add missing space
2020-01-01 03:24:52 +02:00
Pascal Mainini
d3748b75de add documentation for TinyUSB example 2019-12-30 01:32:23 +01:00
Pascal Mainini
219c7e1dae remove description for old cdcacm example 2019-12-30 01:31:23 +01:00
Pascal Mainini
053fae0060
Add description for building TinyUSB example (#1) 2019-12-30 01:13:37 +01:00
Tim Ansell
c35ed75a33
Merge pull request #90 from hinzundcode/patch-1
flash blink.dfu instead of blink.bin
2019-12-29 04:32:51 +01:00