Closed maggiewhite closed 9 years ago
Thanks Maggie! I try to see if this is something I can integrate in the device overlay file, maybe I am misisng something there. (without having to manually export things).
This has been fixed in cb44a194548a217b1c5a1fc6780fadffd8c1841e This switches on the clocks for the GPIO pins programmatically.
Using kernel ('uname -r'):
Output from capemanager:
This is what I was getting before I fixed the problem (I added printf's based on the comments above blocks of code):
The code was erroring out here:
Per this discussion: https://groups.google.com/forum/#!topic/beagleboard/OYFp4EXawiI It turns out the clocks for GPIO0 and GPIO1 are not necessarily initialized when you put an override cape on. The solution to this is manually activating at least one GPIO pin from GPIO0 and 1:
At that point, I got normal output: