diff --git a/README.md b/README.md index 98b77d9..5719b36 100644 --- a/README.md +++ b/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= -DLIBFTDI_LIBRARIES= -DLIBFTDI_VERSION= -DCMAKE_CXX_FLAGS="-I -I"``` +```bash +-DUSE_PKGCONFIG=OFF -DLIBUSB_LIBRARIES= -DLIBFTDI_LIBRARIES= -DLIBFTDI_VERSION= -DCMAKE_CXX_FLAGS="-I -I" +``` 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) \ No newline at end of file