aboutsummaryrefslogtreecommitdiffstats
path: root/host/python
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2021-04-22 11:21:34 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2021-06-08 15:48:59 -0500
commitca21048bd2f832b20bb36763f76d46b861b697a5 (patch)
tree145246ceee590301be1aa3e4f07b7a9ff8fd3716 /host/python
parent9f03f6399dcc7b1f3acf7d9595554b0d96884ca6 (diff)
downloaduhd-ca21048bd2f832b20bb36763f76d46b861b697a5.tar.gz
uhd-ca21048bd2f832b20bb36763f76d46b861b697a5.tar.bz2
uhd-ca21048bd2f832b20bb36763f76d46b861b697a5.zip
fpga: Change RFNoC YAML version numbers to strings
Change version from a numeric to a string, in order to differentiate between versions like "1.1" and "1.10".
Diffstat (limited to 'host/python')
-rwxr-xr-xhost/python/uhd/imgbuilder/image_builder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/python/uhd/imgbuilder/image_builder.py b/host/python/uhd/imgbuilder/image_builder.py
index 84fc79798..626d1bbf7 100755
--- a/host/python/uhd/imgbuilder/image_builder.py
+++ b/host/python/uhd/imgbuilder/image_builder.py
@@ -508,8 +508,8 @@ def convert_to_image_config(grc, grc_config_path):
"schema": "rfnoc_imagebuilder",
"copyright": "Ettus Research, A National Instruments Brand",
"license": "SPDX-License-Identifier: LGPL-3.0-or-later",
- "version": 1.0,
- "rfnoc_version": 1.0}
+ "version": "1.0",
+ "rfnoc_version": "1.0"}
# for param in [item for item in grc["blocks"] if item["id"] == "parameter"]:
# result[param["name"]] = {
# "str": lambda value: str,