blob: 307612eac8087ba74ff449d05b850a1f6f296aeb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# README #
This repository, maintained by SiFive, Inc, makes it easy to get started developing software for the Freedom E RISC-V platform.
### Contents ###
* RISC-V Software Toolchain
* RISC-V Debugging Toolchain
* FPGA Toolchain Commands (Specific to the Freedom E300 Arty Development Kit).
### Setting up the SDK ###
First, clone this repository:
```
git clone --recursive http://github.com/sifive/freedom-e-sdk.git
```
Ubuntu packages needed:
$ sudo apt-get install autoconf automake libmpc-dev libmpfr-dev libgmp-dev gawk bison flex texinfo libtool libusb-1.0-0-dev
Next, build the tools:
```
cd freedom-e-sdk
make tools
```
To compile a bare-metal RISC-V program:
```
cd freedom-e-sdk
make software [PROGRAM=demo_gpio]
```
To see additional options:
```
cd freedom-e-sdk
make help
```
### For More Information ###
Documentation, Forums, and much more available at
[dev.sifive.com](http://dev.sifive.com)
|