u-root / u-bmc

Open-source firmware for your baseboard management controller (BMC)
https://u-bmc.readthedocs.io
BSD 3-Clause "New" or "Revised" License
276 stars 32 forks source link

GPIO utilities #178

Open Keno opened 5 years ago

Keno commented 5 years ago

The gpiowatcher utility is quite useful, but for testing purposes it would be neat to also have gpioset/get utilities that just query individual GPIO ports.

osresearch commented 5 years ago

I would also appreciate a gpio command that takes names (and pins) and lets us read or toggle them. It seems that we have this in a table in the code for gpiowatcher, so it should be a simple matter of programming.