cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
4,761 Views
Registered: ‎09-28-2016

open_amp library?

Hi, all

 

    if I want to use open amp deploy my board, should I download open_amp_master through link https://github.com/OpenAMP/open-amp, and compile it? because when I create a bare-metal project and add a parameter –DUNDEFINE_FILE_OPS and -DUSE_AMP=1, the console prompt an error :ld: cannot find -lopen_amp

 

    can you give me some hints? Thank you very much

 

    Tom

0 Kudos
2 Replies
Highlighted
Visitor
Visitor
4,716 Views
Registered: ‎10-20-2016

Re: open_amp library?

Flags -DUNDEFINE_FILE_OPS and -DUSE_AMP are not targeting the OpenAMP library but the Xilinx library (see Xilinx SDK).
Make sure you check UG1186 to understand when/how to set this flags, they are not needed to run the basic echo-test demo for example.
You can recompile the OpenAMP library from the github project if needed; if you use a Xilinx board, you may want to start with the SDK provided libraries as a starting point.
0 Kudos
Highlighted
Explorer
Explorer
1,112 Views
Registered: ‎01-24-2018

Re: open_amp library?

If your board is a Xilinx board, you should consider this...

 

https://github.com/Xilinx/open-amp

 

And not this...

 

https://github.com/OpenAMP/open-amp

 

There is a difference.

0 Kudos