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 2020/10/29 10:43:28 UTC

[GitHub] [incubator-nuttx] btashton commented on a change in pull request #2158: Linux I2C bus support in sim

btashton commented on a change in pull request #2158:
URL: https://github.com/apache/incubator-nuttx/pull/2158#discussion_r514162782



##########
File path: boards/sim/sim/sim/src/sim_bringup.c
##########
@@ -311,5 +316,15 @@ int sim_bringup(void)
     }
 #endif
 
+#ifdef CONFIG_SIM_LINUXI2CBUS
+  /* Initialize the i2c master via the Linux i2c bus device */
+
+  i2cbus = linuxi2c_initialize(9);

Review comment:
       Yes. I will expose this as a config value, just hard coded for my testing. 




----------------------------------------------------------------
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:
users@infra.apache.org