UmberHubManager/api/examples/c_cpp/BrainStem2-USBHub3c-Cpp-Exa.../How_To_Build.txt

25 lines
1.0 KiB
Plaintext
Executable File

===============================================================================
USBHub3c C++ Example Readme
===============================================================================
This is a basic C++ example for the USBHub3c. When executed, this example disables,
and then re-enables each of the downstream device ports on the hub. This example
also reads the VBus and VConn voltage and current of each port. Plug a device
or two in to see the results.
Notes:
===============================================================================
# To build, copy the lib directory into this directory. The lib directory contains
the required header files, and the Brainstem2 shared object file.
# The output directory is linux_BrainStem2Example/Debug.
# A build step has been added to the project that copies the shared object into
the build output directory. In addition the runpath is updated to search in
the same directory as the executable.
If you have questions, please see the reference, or check out our guides
at www.acroname.com.