michallenc opened a new pull request, #16079:
URL: https://github.com/apache/nuttx/pull/16079

   ## Summary
   GPIO peripheral clocks have to be enabled even if interrupt support on the 
peripheral is not enabled, otherwise GPIO input will not work. This is probably 
caused by input filters that need clock signal.
   
   This commit moves the clock enable call from interrupt specific function to 
common initialization function that is called from `_start` entry point 
function.
   
   ## Impact
   GPIO inputs now work even if the peripheral is not configured with interrupt 
support (option `CONFIG_SAMV7_GPIOx_IRQ`).
   
   ## Testing
   Tested on custom SAMv7 board with GPIOD peripheral. Reading pins now work 
even if `CONFIG_SAMV7_GPIOD_IRQ` is disabled.
   
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to