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 2021/11/24 08:47:53 UTC

[GitHub] [incubator-nuttx] lupyuen opened a new pull request #4876: riscv/bl602: Enable GPIO output

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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #4876: riscv/bl602: Enable GPIO output

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #4876:
URL: https://github.com/apache/incubator-nuttx/pull/4876


   


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] acassis commented on pull request #4876: riscv/bl602: Enable GPIO output

Posted by GitBox <gi...@apache.org>.
acassis commented on pull request #4876:
URL: https://github.com/apache/incubator-nuttx/pull/4876#issuecomment-977772400


   Thank you @lupyuen it is a pleasure to see you here! Thanks for your contribution!


-- 
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: commits-unsubscribe@nuttx.apache.org

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



[GitHub] [incubator-nuttx] lupyuen commented on pull request #4876: riscv/bl602: Enable GPIO output

Posted by GitBox <gi...@apache.org>.
lupyuen commented on pull request #4876:
URL: https://github.com/apache/incubator-nuttx/pull/4876#issuecomment-977863516


   Thank you Xiao Xiang, Alan, Brennan and everyone maintaining NuttX... You're awesome! 👍😀


-- 
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: commits-unsubscribe@nuttx.apache.org

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