You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "raiden00pl (via GitHub)" <gi...@apache.org> on 2026/08/06 08:44:50 UTC

[PR] arch/nrf52/nrf53/nrf91: allow zero-length I2C transfers [nuttx]

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

   ## Summary
   Allow zero-length I2C transfers when DEBUGASSERT is enabled.
   
   Zero-length transfers (used for I2C bus scanning) never access the transfer buffer, so any EasyDMA pointer is valid.
   
   `i2c dev -z` command is still broken for nordic chips, but at least it doesn't crash.
   
   ## Impact
   bugfix
   
   ## Testing
   I2C bus scan on Nordic Power Kit 2
   


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


Re: [PR] arch/nrf52/nrf53/nrf91: allow zero-length I2C transfers [nuttx]

Posted by "raiden00pl (via GitHub)" <gi...@apache.org>.
raiden00pl commented on PR #19712:
URL: https://github.com/apache/nuttx/pull/19712#issuecomment-5204370479

   @acassis this PR has nothing to do with i2c tools... maybe later


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


Re: [PR] arch/nrf52/nrf53/nrf91: allow zero-length I2C transfers [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #19712:
URL: https://github.com/apache/nuttx/pull/19712


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


Re: [PR] arch/nrf52/nrf53/nrf91: allow zero-length I2C transfers [nuttx]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #19712:
URL: https://github.com/apache/nuttx/pull/19712#issuecomment-5202609070

   <!-- membrowse-pr-comment -->
   ## <img src="https://membrowse.com/membrowse-logo.svg" height="24" align="top"> MemBrowse Memory Report
   
   *No memory changes detected for:*
   - [arduino-mega2560](https://membrowse.com/public/apache/nuttx/target/arduino-mega2560/compare?head=0310ecb0431319c8386bced873ad1a9420c46452&base=a3e7e995e5a7f8235c8ab0741b00f2d0047ad8fa)
   - [esp32-devkitc](https://membrowse.com/public/apache/nuttx/target/esp32-devkitc/compare?head=0310ecb0431319c8386bced873ad1a9420c46452&base=a3e7e995e5a7f8235c8ab0741b00f2d0047ad8fa)
   - [hifive1-revb](https://membrowse.com/public/apache/nuttx/target/hifive1-revb/compare?head=0310ecb0431319c8386bced873ad1a9420c46452&base=a3e7e995e5a7f8235c8ab0741b00f2d0047ad8fa)
   - [mirtoo](https://membrowse.com/public/apache/nuttx/target/mirtoo/compare?head=0310ecb0431319c8386bced873ad1a9420c46452&base=a3e7e995e5a7f8235c8ab0741b00f2d0047ad8fa)
   - [qemu-armv8a](https://membrowse.com/public/apache/nuttx/target/qemu-armv8a/compare?head=0310ecb0431319c8386bced873ad1a9420c46452&base=a3e7e995e5a7f8235c8ab0741b00f2d0047ad8fa)
   - [qemu-intel64](https://membrowse.com/public/apache/nuttx/target/qemu-intel64/compare?head=0310ecb0431319c8386bced873ad1a9420c46452&base=a3e7e995e5a7f8235c8ab0741b00f2d0047ad8fa)
   - [rx65n-rsk2mb](https://membrowse.com/public/apache/nuttx/target/rx65n-rsk2mb/compare?head=0310ecb0431319c8386bced873ad1a9420c46452&base=a3e7e995e5a7f8235c8ab0741b00f2d0047ad8fa)
   - [s698pm-dkit](https://membrowse.com/public/apache/nuttx/target/s698pm-dkit/compare?head=0310ecb0431319c8386bced873ad1a9420c46452&base=a3e7e995e5a7f8235c8ab0741b00f2d0047ad8fa)
   - [stm32-nucleo-f103rb](https://membrowse.com/public/apache/nuttx/target/stm32-nucleo-f103rb/compare?head=0310ecb0431319c8386bced873ad1a9420c46452&base=a3e7e995e5a7f8235c8ab0741b00f2d0047ad8fa)
   


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