README: add instruction for fireant
This commit is contained in:
parent
818dbd301c
commit
66ecf3e5c0
27
README.md
27
README.md
|
|
@ -67,17 +67,23 @@ apt-get install libftdi1-2 libftdi1-dev libudev-dev cmake
|
|||
By default, **(e)udev** support is enabled (used to open a device by his */dev/xx*
|
||||
node). If you don't want this option, use:
|
||||
|
||||
```-DENABLE_UDEV=OFF```
|
||||
```bash
|
||||
-DENABLE_UDEV=OFF
|
||||
```
|
||||
|
||||
And if not already done, install **pkg-config**, **make** and **g++**.
|
||||
|
||||
Alternatively you can manually specify the location of **libusb** and **libftdi1**:
|
||||
|
||||
```-DUSE_PKGCONFIG=OFF -DLIBUSB_LIBRARIES=<path_to_libusb> -DLIBFTDI_LIBRARIES=<path_to_libftdi> -DLIBFTDI_VERSION=<version> -DCMAKE_CXX_FLAGS="-I<libusb_include_dir> -I<libftdi1_include_dir>"```
|
||||
```bash
|
||||
-DUSE_PKGCONFIG=OFF -DLIBUSB_LIBRARIES=<path_to_libusb> -DLIBFTDI_LIBRARIES=<path_to_libftdi> -DLIBFTDI_VERSION=<version> -DCMAKE_CXX_FLAGS="-I<libusb_include_dir> -I<libftdi1_include_dir>"
|
||||
```
|
||||
|
||||
You may also need to add this if you see link errors between **libusb** and **pthread**:
|
||||
|
||||
```-DLINK_CMAKE_THREADS=ON```
|
||||
```bash
|
||||
-DLINK_CMAKE_THREADS=ON
|
||||
```
|
||||
|
||||
To build the app:
|
||||
```bash
|
||||
|
|
@ -422,3 +428,18 @@ tangbit --input /somewhere.bit --svf bitstream.svf
|
|||
```bash
|
||||
openFPGALoader -b licheeTang /somewhere/*.svf
|
||||
```
|
||||
|
||||
### Firant board (efinix trion T8)
|
||||
|
||||
*.hex* file is the default format generated by *Efinity IDE*, so nothing
|
||||
special must be done to generates this file.
|
||||
|
||||
*openFPGALoader* support only active mode (SPI) (*JTAG* is WIP).
|
||||
|
||||
__hex file load__
|
||||
|
||||
```bash
|
||||
openFPGALoader -b fireant /somewhere/project/outflow/*.hex
|
||||
```
|
||||
|
||||
Since openFPGALoader access the flash directly in SPI mode the *-b fireant* is required (no autodetection possible)
|
||||
Loading…
Reference in New Issue