ubuntu core + snap + gpios
Oliver Grawert
ogra at ubuntu.com
Wed Jan 18 09:33:51 UTC 2017
hi,
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 [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 ?
>
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)
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170118/a9081b1b/attachment.sig>
More information about the Snapcraft
mailing list