We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gpio.c converts dashes to underscores in GPIO names and translates pin numbers and letters to names with underscore. However it appears that libsoc configuration uses the dash convention by default: https://github.com/jackmitch/libsoc/blob/master/contrib/board_files/dragonboard410c.conf
gpio.c
Which one is more right? :)
If one tries to get a GPIO using gpio_by_pin(23) libsoc is eventually asked for GPIO_A which is not in the above configuration.
gpio_by_pin(23)
GPIO_A
Couldn't find the packaged libsoc for e.g. the Linaro Debian release for the DragonBoard right now to check, so it could be fixed there.
One idea is to include both dashed and underscored mappings in libsoc configuration as aliases.
Thanks!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
gpio.c
converts dashes to underscores in GPIO names and translates pin numbers and letters to names with underscore. However it appears that libsoc configuration uses the dash convention by default: https://github.com/jackmitch/libsoc/blob/master/contrib/board_files/dragonboard410c.confWhich one is more right? :)
If one tries to get a GPIO using
gpio_by_pin(23)
libsoc is eventually asked forGPIO_A
which is not in the above configuration.Couldn't find the packaged libsoc for e.g. the Linaro Debian release for the DragonBoard right now to check, so it could be fixed there.
One idea is to include both dashed and underscored mappings in libsoc configuration as aliases.
Thanks!
The text was updated successfully, but these errors were encountered: