ubuntu core + snap + gpios
ogra at ubuntu.com
Wed Jan 18 09:33:51 UTC 2017
Am Dienstag, den 17.01.2017, 23:31 +0000 schrieb Luís Martins:
> Hi, I was trying to build a simple snap to test the ubuntu core
> raspberry pi 3 gpios  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 ?
no, this is a bug, i have something nearly ready and can land it later
today in the edge channel, i'll notify the list once it is there and
also trigger a rebuild of the daily images (so you dont need to roll
your own image)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: This is a digitally signed message part
More information about the Snapcraft