diff options
author | Andrew Lynch <andrew.lynch@ni.com> | 2019-04-22 11:07:42 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-05-02 08:44:40 -0700 |
commit | 27f027c54f10defa1eda9e69e5ba6c1597d7b9e2 (patch) | |
tree | 43e06bc9c8ae7e837c71350bbdac00ba14fef253 /host/include | |
parent | 01fd6d52cefdb2baa7070b91ed483e9456141966 (diff) | |
download | uhd-27f027c54f10defa1eda9e69e5ba6c1597d7b9e2.tar.gz uhd-27f027c54f10defa1eda9e69e5ba6c1597d7b9e2.tar.bz2 uhd-27f027c54f10defa1eda9e69e5ba6c1597d7b9e2.zip |
utils: add support for directly updating components from image_loader
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/image_loader.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/host/include/uhd/image_loader.hpp b/host/include/uhd/image_loader.hpp index b52bb9b1f..ba1ab7454 100644 --- a/host/include/uhd/image_loader.hpp +++ b/host/include/uhd/image_loader.hpp @@ -1,6 +1,7 @@ // // Copyright 2014-2017 Ettus Research // Copyright 2018 Ettus Research, a National Instruments Company +// Copyright 2019 Ettus Research, a National Instruments Brand // // SPDX-License-Identifier: GPL-3.0-or-later // @@ -10,8 +11,8 @@ #include <uhd/config.hpp> #include <uhd/types/device_addr.hpp> -#include <boost/function.hpp> #include <uhd/utils/noncopyable.hpp> +#include <boost/function.hpp> #include <string> namespace uhd { @@ -28,6 +29,9 @@ public: std::string firmware_path; std::string fpga_path; std::string out_path; + std::string id; + std::vector<uint8_t> component; + uhd::dict<std::string, std::string> metadata; } image_loader_args_t; //! Signature of an image loading function |