Skip to content
Snippets Groups Projects
Commit b2820fa5 authored by Philipp Spilger's avatar Philipp Spilger
Browse files

Adapt to c/17405

Depends-On: 17405
Change-Id: I5d0c8d7a10b0a01b339c9aff627a7fb10125dc7e
parent 4418b38f
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,8 @@ struct Connection ...@@ -40,6 +40,8 @@ struct Connection
std::string get_unique_identifier(std::optional<std::string> const& hwdb_path) const std::string get_unique_identifier(std::optional<std::string> const& hwdb_path) const
SYMBOL_VISIBLE; SYMBOL_VISIBLE;
std::string get_bitfile_info() const SYMBOL_VISIBLE;
hxcomm::vx::ConnectionVariant&& release() SYMBOL_VISIBLE; hxcomm::vx::ConnectionVariant&& release() SYMBOL_VISIBLE;
stadls::vx::v3::ReinitStackEntry create_reinit_stack_entry() SYMBOL_VISIBLE; stadls::vx::v3::ReinitStackEntry create_reinit_stack_entry() SYMBOL_VISIBLE;
......
...@@ -92,6 +92,11 @@ std::string Connection::get_unique_identifier(std::optional<std::string> const& ...@@ -92,6 +92,11 @@ std::string Connection::get_unique_identifier(std::optional<std::string> const&
[hwdb_path](auto const& c) { return c.get_unique_identifier(hwdb_path); }, m_connection); [hwdb_path](auto const& c) { return c.get_unique_identifier(hwdb_path); }, m_connection);
} }
std::string Connection::get_bitfile_info() const
{
return std::visit([](auto const& c) { return c.get_bitfile_info(); }, m_connection);
}
hxcomm::vx::ConnectionVariant&& Connection::release() hxcomm::vx::ConnectionVariant&& Connection::release()
{ {
return std::move(m_connection); return std::move(m_connection);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment