Brian, I wrote an email about this a couple days ago. The rfnoc_modtool doesn’t generate a yaml and a user can write one using the example at
uhd/host/examples/rfnoc-example/blocks/gain.yml As a baseline. You may want to check that email for more info. Thanks, David On Thu, Jan 30, 2025 at 12:33 Brian Padalino <bpadal...@gmail.com> wrote: > I am trying to utilize the updated rfnoc_modtool in v4.8.0.0. > > I can create the basic directory structure with the `create` command, but > when I try to `add` a block I get a "No such file or directory" error > message. > > -- start commands -- > $ rfnoc_modtool create test > $ cd rfnoc-test/ > $ rfnoc_modtool add simple > Traceback (most recent call last): > File "/home/bpadalino/work/uhd/env/bin/rfnoc_modtool", line 24, in > <module> > sys.exit(rfnoc_modtool.main(get_pkg_dir())) > File > "/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/rfnoc_modtool.py", > line 125, in main > executor.run(cmd["steps"]) > File > "/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/step_executor.py", > line 72, in run > getattr(self, step_type)(**{k: self._resolve(v) for k, v in > step_args.items()}) > File > "/home/bpadalino/work/uhd/env/lib/python3.10/site-packages/uhd/rfnoc_utils/step_executor.py", > line 152, in parse_descriptor > with open(source, "r", encoding="utf-8") as f: > FileNotFoundError: [Errno 2] No such file or directory: > 'rfnoc/blocks/simple.yml' > -- end commands -- > > Did I do it wrong? > > Thanks, > Brian > _______________________________________________ > USRP-users mailing list -- usrp-users@lists.ettus.com > To unsubscribe send an email to usrp-users-le...@lists.ettus.com >
_______________________________________________ USRP-users mailing list -- usrp-users@lists.ettus.com To unsubscribe send an email to usrp-users-le...@lists.ettus.com