diff options
author | Brent Stapleton <brent.stapleton@ettus.com> | 2017-11-07 12:35:49 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:05:06 -0800 |
commit | 24699d016b9dc2de5b668fef1a5266f3d0a992ac (patch) | |
tree | 72a6d592062bbe0ae414e631d6c2537424b6f9e0 /host | |
parent | 61aac1dd722344928ae8217be5430ce3bfd66bf4 (diff) | |
download | uhd-24699d016b9dc2de5b668fef1a5266f3d0a992ac.tar.gz uhd-24699d016b9dc2de5b668fef1a5266f3d0a992ac.tar.bz2 uhd-24699d016b9dc2de5b668fef1a5266f3d0a992ac.zip |
fpga load: mpmd property tree now uses the MPM list_updateable_components
Dynamically generates property tree by querying MPM device for a list of updateable components.
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/usrp/mpmd/mpmd_impl.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/host/lib/usrp/mpmd/mpmd_impl.cpp b/host/lib/usrp/mpmd/mpmd_impl.cpp index 6285ca11c..d2d15e32a 100644 --- a/host/lib/usrp/mpmd/mpmd_impl.cpp +++ b/host/lib/usrp/mpmd/mpmd_impl.cpp @@ -171,8 +171,10 @@ namespace { ; /*** Updateable Components ******************************************/ - std::vector<std::string> updateable_components = {"fpga"}; - //TODO: get with "list_updateable_components" + std::vector<std::string> updateable_components = + mb->rpc->request<std::vector<std::string>>( + "list_updateable_components" + ); UHD_LOG_DEBUG("MPMD", "Found " << updateable_components.size() << " updateable motherboard components." ); |