[USRP-users] Question regarding setting up my own OOT module for rfnoc based on gr-ettus

Martin Braun martin.braun at ettus.com
Tue Oct 13 12:33:41 EDT 2015


we haven't collected all that much experience with additional OOTs, but
it seems like you're doing the right thing. To make sure CMake picks up
the right libs, you'll need to `find_package(ettus)'. Then, you can add
${ETTUS_LIBRARIES} to your linkage.

However, you only need this if you're writing C++ code to control RFNoC
blocks. If you're using rfnoc_generic, you don't actually need a whole
lot, since you're not going to link against it. Just add 'import ettus'
into your GRCs XML file, and use rfnoc_generic in the same way that the
XML files in gr-ettus do.


On 13.10.2015 08:12, Swanson, Craig wrote:
> ​Martin,
> It appears I have created an OOT rfnoc block and successfully run it in
> a flowgraph.  I created it in gr-ettus directory and it is with all the
> other rfnoc modules that Jonathon created as test examples.  But now I
> want to create my own module instead of using the gr-ettus location.  If
> I am creating my own OOT module and let's call it gr-craig_rfnoc, then I
> am assuming I would use gr_modtool to create the module and block
> structure.  But there are things I need to reference in gr-ettus such as
> ettus.rfnoc_generic for the .xml file file, etc.
> If I create my own OOT module (gr_modtool newmod gr-craig_rfnoc), is
> there anything special I need to be aware of regarding gr-ettus?
> Thanks,
> Craig
> *Craig F. Swanson*
> */Research Engineer II
> /*
> */Information and Communications Laboratory/*
> */Communications, Systems, and Spectrum Division/*
> /Georgia Tech Research Institute/
> /Room 560
> 250 14th St NW
> /
> /Atlanta, GA 30318/
> /Cell: 770.298.9156/
> http://www.gtri.gatech.edu
> <https://mail.gtri.gatech.edu/owa/redir.aspx?C=c20925f2f0af4dd29329ddf0701ecfff&URL=http%3a%2f%2fwww.gtri.gatech.edu%2f> 

More information about the USRP-users mailing list