User talk:Duggabe: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
 
(92 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This is for notes on GR documentation.
= Notes on revision / update of UHD and GNU Radio install docs =
<hr>


01/14:<br>
== Documents affected ==
I think Guided_Tutorial_GNU_Radio_in_C++ can be used now for the Writing blocks in C++ (for 3.7)


see Cyrille and my discussion on Slack #docs on Wednesday 1/15 about Writing the XML file for a block (for 3.7)
* [[LinuxInstall#From_Source]]


01/17:<br>
* AN-445 https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux
I added a gnuradio-companion error msg in https://wiki.gnuradio.org/index.php/InstallingGR#To_install_system_wide


01/19
* [[Draft-AN-445]] (GNU Radio version)
* https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B
* gr-tutorial notes for 3.8
*
*  these are the places I found where 3.7 and 3.8 are different.


<pre>
== Reference information ==
~ $ gr_modtool newmod tutorial
Creating out-of-tree module in ./gr-tutorial...
Done.
Use 'gr_modtool add' to add a new block to this currently empty module.
</pre>


<pre>
* https://wiki.gnuradio.org/index.php?title=Talk:Draft-AN-445#Proposal_for_section_%22Installing_the_latest_UHD_toolchain_and_GNU_Radio_on_Ubuntu%22
~/gr-tutorial $ ls
apps  cmake  CMakeLists.txt  docs  examples  grc  include  lib  MANIFEST.md  python  swig
</pre>
 
<pre>
~/gr-tutorial $ gr_modtool add my_qpsk_demod_cb
GNU Radio module name identified: tutorial
('sink', 'source', 'sync', 'decimator', 'interpolator', 'general', 'tagged_stream', 'hier', 'noblock')
Enter block type: general
Language (python/cpp): cpp
Language: C++
Block/code identifier: my_qpsk_demod_cb
Please specify the copyright holder: gnuradio.org
Enter valid argument list, including default arguments:
bool gray_code
Add Python QA code? [Y/n] Y
Add C++ QA code? [y/N] N
Adding file 'lib/my_qpsk_demod_cb_impl.h'...
Adding file 'lib/my_qpsk_demod_cb_impl.cc'...
Adding file 'include/tutorial/my_qpsk_demod_cb.h'...
Editing swig/tutorial_swig.i...
Adding file 'python/qa_my_qpsk_demod_cb.py'...
Editing python/CMakeLists.txt...
Adding file 'grc/tutorial_my_qpsk_demod_cb.block.yml'...
Editing grc/CMakeLists.txt...
</pre>
 
* and, of course, we need the YAML file instead of the XML file

Latest revision as of 01:42, 27 June 2024