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/07/28 21:37:01 UTC
[GitHub] [incubator-nuttx] saramonteiro opened a new pull request #4249: xtensa/esp32-s2: Adds GPIO board logic to esp32s2-saola-1.
saramonteiro opened a new pull request #4249:
URL: https://github.com/apache/incubator-nuttx/pull/4249
## Summary
Adds GPIO board logic to esp32s2-saola-1.
## Impact
From now on, we provide a board example on how to register input and output gpio driver and allows to run the gpio example.
## Testing
```
nsh> gpio -o 1 /dev/gpout0
Driver: /dev/gpout0
Output pin: Value=0
Writing: Value=1
Verify: Value=1
nsh> gpio -o 1 /dev/gpout1
Driver: /dev/gpout1
Output pin: Value=0
Writing: Value=1
Verify: Value=1
nsh> gpio -o 0 /dev/gpout0
Driver: /dev/gpout0
Output pin: Value=1
Writing: Value=0
Verify: Value=0
nsh> gpio -o 0 /dev/gpout1
Driver: /dev/gpout1
Output pin: Value=1
Writing: Value=0
Verify: Value=0
nsh> gpio /dev/gpint0
Driver: /dev/gpint0
Interrupt pin: Value=0
nsh> gpio /dev/gpint0
Driver: /dev/gpint0
Interrupt pin: Value=1
```
--
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 merged pull request #4249: xtensa/esp32-s2: Adds GPIO board logic to esp32s2-saola-1.
Posted by GitBox <gi...@apache.org>.
acassis merged pull request #4249:
URL: https://github.com/apache/incubator-nuttx/pull/4249
--
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 #4249: xtensa/esp32-s2: Adds GPIO board logic to esp32s2-saola-1.
Posted by GitBox <gi...@apache.org>.
acassis commented on pull request #4249:
URL: https://github.com/apache/incubator-nuttx/pull/4249#issuecomment-889287020
Ok Sara! Please squash it and I will merge it.
--
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] saramonteiro commented on pull request #4249: xtensa/esp32-s2: Adds GPIO board logic to esp32s2-saola-1.
Posted by GitBox <gi...@apache.org>.
saramonteiro commented on pull request #4249:
URL: https://github.com/apache/incubator-nuttx/pull/4249#issuecomment-889261877
> @saramonteiro I think you forgot to include BOARD_NGPIOIN for inputs without interrupts.
Done. Also added gpio defconfig to esp32s2 saola board.
PTAL.
Do not merge until I squash.
--
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