periph
periph copied to clipboard
sysfs: export function to reenumerate all devfs/sysfs interfaces
Then if a user do something that she knows is doing to expose more interfaces, like using config-pin then the user will want periph to realize that without having to restart the app.
Thinking about signature sysfs.Reenumerate() error
There's an interesting issue with this, in the case of CPU memory mapped pins, as the CPU driver may have overridden the pins.
Ported to https://github.com/periph/host/issues/43.