Wrapper for framework_tool.
-
Ensure the
libudev-devis installed. If not, runapt install libudev-dev. -
Ensure the
pkg-configis installed. If not, runapt install pkg-config. -
Ensure
$PKG_CONFIG_PATHis set to the directory containinglibudev.pc. For example:export PKG_CONFIG_PATH="/usr/lib/x86_64-linux-gnu/pkgconfig/"
-
Because of the need for root permissions to access the EC, we need to use
sudoto run the program. Sometimes thesudo -E cargo runmay not work, you can runcargo build && sudo ./target/debug/frametoolinstead.