blob: cfaf2842df54042a1c15ffacb98b1feb22a478c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import argparse
import os
from gnuradio.bindtool import BindingGenerator
import pathlib
parser = argparse.ArgumentParser(
description='Bind a GR header file from the generated json')
parser.add_argument('pathnames', type=str, nargs='+',
help='Json files to bind')
args = parser.parse_args()
bg = BindingGenerator()
for p in args.pathnames:
bg.bind_from_json(p)
|