From 31c64e0420e2010bc5921422ffdcadf5e0a45cb0 Mon Sep 17 00:00:00 2001 From: DirkStober <57315209+DirkStober@users.noreply.github.com> Date: Tue, 23 May 2023 20:40:22 +0200 Subject: [PATCH] Update README.md Correct the library name to link against pynq instead of pynq_api. Using -lpynq_api will throw an error as the library is not found as it's the file libpynq --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0df5976..7c29e2b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Clone or download the repository onto your Pynq board and then issue ``make``. O ## Usage -You should include the ``pynq_api.h`` header file in your codes, in order to link the code you will need to link against the ``pynq_api``, ``cma`` and ``pthread`` library. I.e. ``gcc -o my_code my_code.c -lpynq_api -lcma -lpthread`` +You should include the ``pynq_api.h`` header file in your codes, in order to link the code you will need to link against the ``pynq``, ``cma`` and ``pthread`` library. I.e. ``gcc -o my_code my_code.c -lpynq -lcma -lpthread`` ## Example usage