aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-10-22 14:49:05 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:32 -0800
commit2a7e69d862f661075b98bab19e58d958c28a9af8 (patch)
treef0e5c7733ca330f85fd567be82244d2a1efab501 /host/include
parent1cd874911db0d4c0463264edd0d46067d072eccb (diff)
downloaduhd-2a7e69d862f661075b98bab19e58d958c28a9af8.tar.gz
uhd-2a7e69d862f661075b98bab19e58d958c28a9af8.tar.bz2
uhd-2a7e69d862f661075b98bab19e58d958c28a9af8.zip
rfnoc: image_builder: Fix -I, allow devices/targets to bet set in YAML
- The -I switch now allows pointing to an OOT - The image core file may now contain keys 'device' and 'default_target', which the image builder can use as default values. Command line switches --device and --target are still honoured.
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/rfnoc/core/rfnoc_imagebuilder_args.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/include/uhd/rfnoc/core/rfnoc_imagebuilder_args.json b/host/include/uhd/rfnoc/core/rfnoc_imagebuilder_args.json
index 65ef2dd76..2d76643be 100644
--- a/host/include/uhd/rfnoc/core/rfnoc_imagebuilder_args.json
+++ b/host/include/uhd/rfnoc/core/rfnoc_imagebuilder_args.json
@@ -5,7 +5,8 @@
"copyright": { "type": "string" },
"version": { "type": "number" },
"license": { "type": "string" },
- "device_desc": { "type": "string" },
+ "device": { "type": "string" },
+ "default_target": { "type": "string" },
"rfnoc_version": { "type": "number" },
"chdr_width": { "enum": [64, 256] },