lupyuen opened a new pull request #4876:
URL: https://github.com/apache/incubator-nuttx/pull/4876


   ## Summary
   
   BL602 GPIO Driver doesn't configure the GPIO Output Enable Register for GPIO 
Output Pins.
   
   So calling the GPIO Driver `bl602_gpiowrite()` to set the GPIO Output has no 
effect.
   
   We fix this by updating the GPIO Output Enable Register for GPIO Output Pins 
in `bl602_configgpio()`.
   
   [More details 
here](https://lupyuen.github.io/articles/nuttx#appendix-fix-gpio-output)
   
   ## Impact
   
   This fix impacts the pins configured for GPIO Output on BL602.
   
   Previously GPIO Output Pins could not be set to High / Low when we call 
`bl602_gpiowrite()`. 
   
   Now the GPIO Output Pins are set to High / Low correctly when we call 
`bl602_gpiowrite()`.
   
   ## Testing
   
   Tested on Pine64 PineCone BL602 board, with the onboard Blue LED.
   
   [More details 
here](https://lupyuen.github.io/articles/nuttx#appendix-fix-gpio-output)
   


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