You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/09/14 22:15:22 UTC

[GitHub] [incubator-nuttx] v01d commented on pull request #1788: nRF: Allow configuration of non connected GPIO

v01d commented on pull request #1788:
URL: https://github.com/apache/incubator-nuttx/pull/1788#issuecomment-692342291


   Any reason you need this at runtime? Why not just condition the SPI code on having MISO defined or not?
   The change proposed for GPIO feels a bit too ad-hoc and would deviate how this works from every other architecture. Normally a pin is either configured or unconfigured. A "disabled" flag of the pincfg does not really map to that, it would require runtime check of that value everywhere.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org