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


   ## Summary
   This adds support for attaching a Linux I2C bus to the simulator via the 
character device interface. This should be used with caution as it could 
interfere with devices internal to the system. It is recommended to use this 
with a USB<>I2C device like the MCP2221 and set udev rules so that only the bus 
provided by this device can be controlled by the user running the simulator.
   https://www.kernel.org/doc/html/latest/i2c/dev-interface.html
   
   ## Impact
   Ability to test i2c drivers against real hardware in the simulator.
   
   ## Testing
   Using a USB <> I2C adaptor (https://www.adafruit.com/product/4471) connected 
to multiple i2c device breakouts with Stemma QT / Qwiic
   
   


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

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


Reply via email to