Adding new blocks to libraries

Is there a howto for how to add a new signal processing block to the GNU
Radio libraries? I made a gr_xor_bb (in src/lib/general) block, and it
took me about an hour to figure out all the files I had to modify to get
it made (the one I missed was general.i).

Anticipating Eric’s response, what’s the right part of the wiki to
create one if I missed it? :slight_smile: I didn’t see any links from the frontpage
(except maybe “Contribute to gnuradio”?) that looked relevant and
searching didn’t turn up anything. I hate disconnected pages on wikis…

-Dan

Dan H. wrote:

Is there a howto for how to add a new signal processing block to the GNU
Radio libraries?

Sorry; in case it wasn’t clear, I saw and used the how-to-write-a-block
code. But actually adding it to libgnuradio-core and getting SWIG to
process it was the tricky bit that took me a long time to figure out.

-D