jeason1997 commented on issue #17260: URL: https://github.com/apache/nuttx/issues/17260#issuecomment-3476481804
@acassis @eren-terzioglu Sorry, this is not a bug, but an I2C configuration issue. For some reason, in most I2C configurations of ESP series, 'CONFIG_DEBUG_I2C' and 'CONFIG_I2C_TRACE' tracing are enabled by default. This causes a large number of logs and error messages to be generated during operation (it even considers failing to scan devices as an error message). The solution is to comment out these configurations. Like this: ``` CONFIG_DEBUG_FEATURES=y # CONFIG_DEBUG_I2C=y # CONFIG_DEBUG_I2C_ERROR=y # CONFIG_DEBUG_I2C_INFO=y # CONFIG_DEBUG_I2C_WARN=y CONFIG_ESP32S3_I2C0=y CONFIG_ESP32S3_I2C1=y CONFIG_ESP32S3_UART0=y CONFIG_FS_PROCFS=y CONFIG_HAVE_CXX=y CONFIG_HAVE_CXXINITIALIZE=y CONFIG_I2CTOOL_DEFFREQ=100000 CONFIG_I2CTOOL_MAXBUS=1 CONFIG_I2C_RESET=y # CONFIG_I2C_TRACE=y CONFIG_IDLETHREAD_STACKSIZE=3072 ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
