nmaggioni commented on code in PR #16838:
URL: https://github.com/apache/nuttx/pull/16838#discussion_r2283261848


##########
drivers/sensors/Kconfig:
##########
@@ -2146,4 +2146,64 @@ config SENSORS_FS3000_THREAD_STACKSIZE
 
 endif # SENSORS_FS3000
 
+config SENSORS_TMP112
+       bool "Texas Instruments TMP112x Temperature Sensor support"
+       default n
+       select I2C
+       ---help---
+               Enable driver support for the Texas Instruments TMP112x 
temperature sensor.
+
+if SENSORS_TMP112
+
+config TMP112_I2C_FREQUENCY
+       int "TMP112 I2C frequency"
+       default 400000
+
+config TMP112_I2C_ADDR_1
+       hex "I2C Address 1"
+       default 0x48
+       ---help---
+               Address used for the first sensor on the bus.
+
+config TMP112_ENABLE_2
+       bool "Enable a second sensor"
+       default n
+       ---help---
+               Register a second sensor on the bus.

Review Comment:
   @acassis Makes perfect sense, does a28cf99 look good to you? If so, I'll 
squash it and ~~update the example app too~~ I've simplified it anyway.



-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to