Hi, I was trying to build a simple snap to test the ubuntu core raspberry
pi 3 gpios [1] but for some reason the app does not seem allowed to write
into /sys/class/gpio/ within my snap.

I declared the "plugs: [gpio]" in the snapcraft.yaml and the app is a
simple qt5/c++ program using std::ifstream/std::ofstream to read/write to
the files.

However, using the latest stable ubuntu core image, the "snap interfaces"
command does not list the "gpio" as an available interface, is this normal ?

Am I missing any step here ?

[1] https://github.com/luispintomartins/gpio-tester

Thanks,
Luís
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to