11-20-2020 05:51 AM
I am still familiarizing myself with Vitis, and as a more hardware-centric designer, I have a dumb question. I pulled in the Analog Devices API library for their AD9172 DAC chip. I have an already working platform and application, so I created a new library under my system project. I added in the source and headers from ADI and it builds fine.
I then went to my application and added the single line
api_handle_t handle = {0};
This should initialize a handle from the API library. I thought that by building the API library within the same system project that it would automatically link in, but I am assuming that it doesn't because I get the following error
unknown type name 'api_handle_t'
So what am I missing? I am sure it is something simple, but I have come up empty in my searches so far.
11-21-2020 05:45 AM
You can add custom libraries to the tools > repositories. For example, and point to repo (the hierarchy is important)
However, your library will need a MLD file. Does your library have this? If not, you will manually have to create this