Build User Application and link with library source

Linux Drivers

Release Date
2023-07-22
  1. clone : https://github.com/Xilinx/libdfx.git

  2. Replace the existing apps/libdfx_app.C contents with the user required application.

  3. mkdir build

  4. cd build

  5. Ensure required tool chain added to your path

  6. cmake  -DCMAKE_TOOLCHAIN_FILE="cmake tool chain file(complete path)"  ..

    • Example:  cmake -DCMAKE_TOOLCHAIN_FILE="../libdfx/cmake/toolchain.cmake" ..

  7. make

  8. The final elf will be available at: apps/dfx_app