Update install.rst
Build instructions from source for debian-based distros fixed - apt install line was broken, missing a `\`, - a git clone line was added to clarify when and where source should be - Build directory also created beside tree rather than inside, and the cmake line fixed to match - tested on Debian GNU/Linux 11 (bullseye) / WSL2
This commit is contained in:
parent
f404199e25
commit
15811188a0
|
|
@ -32,7 +32,7 @@ This application uses ``libftdi1``, so this library must be installed (and, depe
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
apt-get install
|
||||
sudo apt install \
|
||||
libftdi1-2 \
|
||||
libftdi1-dev \
|
||||
libhidapi-hidraw0 \
|
||||
|
|
@ -82,11 +82,12 @@ To build the app:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
git clone https://github.com/trabucayre/openFPGALoader
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ../ # add -DBUILD_STATIC=ON to build a static version
|
||||
# add -DENABLE_UDEV=OFF to disable udev support and -d /dev/xxx
|
||||
# add -DENABLE_CMSISDAP=OFF to disable CMSIS DAP support
|
||||
cmake ../openFPGALoader # add -DBUILD_STATIC=ON to build a static version
|
||||
# add -DENABLE_UDEV=OFF to disable udev support and -d /dev/xxx
|
||||
# add -DENABLE_CMSISDAP=OFF to disable CMSIS DAP support
|
||||
cmake --build .
|
||||
# or
|
||||
make -j$(nproc)
|
||||
|
|
|
|||
Loading…
Reference in New Issue