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: [email protected]
