On 8/27/2014 12:09 PM, Tony DiCola wrote: > Awesome, that's good to see Linus has accepted the change. > > Regarding bonescript, Jason you mentioned: > >> With cape-universal, there are gpio and pinmux helpers that can be > configured from userspace. > > GPIO and pinmux from userspace sounds great--do you know if there are any > examples of cape-universal and the gpio/pinmux helpers to check out? If > there was a straightforward way to control GPIO and pinmux from userspace > with those tools then it probably reduces the need for overlays in > libraries like bonescript, BBIO, etc.
I've got some setup scripts that setup various GPIO pins as part of various Machinekit configurations. One example: https://github.com/machinekit/machinekit/blob/master/configs/ARM/BeagleBone/CRAMPS/setup.sh#L76-L129 There's also a GUI utility you can use to create a file to feed to the config-pin utility: Source: https://github.com/strahlex/BBIOConfig Binary download (Linux, Windows, & OSX): https://github.com/strahlex/BBIOConfig/releases You can also talk directly to the sysfs nodes if you want, bypassing the config-pin utility. But part of the whole point of making the universal cape was to try and make it easier for folks to configure pins rather than go digging around in sysfs. :) -- Charles Steinkuehler [email protected] -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
