Remco wrote: > > Assuming that GPION_M maps to /dev/gpioN, pin M, I can toggle the two user > LEDs that are normally "on" (USR0/GPIO1_21 and USR1/GPIO1_22) using: ... > I'm not sure if I overlooked anything, so do this at your own risk!
You can also effect the other two user LEDs by first enabling them from runlevel 0. This is in accordance with the man page. Keep in mind that doing so may interrupt PHY access, which is what happened when I did this. YMMV depending on how you configure the pins. Instead of further experimentation with the user LEDs I stuck my own LEDs into pru0 (P9). When in doubt, refer to BBB_SRM.pdf and the respective man pages.