diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html
index 6459fb78b8..3b962c3996 100644
--- a/Documentation/NuttX.html
+++ b/Documentation/NuttX.html
@@ -2962,6 +2962,10 @@ buildroot-1.10 2011-05-06 <gnutt@nuttx.org>
+
+ |
+ Getting Started |
+
|
User Guide |
@@ -2982,6 +2986,10 @@ buildroot-1.10 2011-05-06 <gnutt@nuttx.org>
|
NX Graphics Subsystem |
+
+ |
+ NxWidgets |
+
|
Demand Paging |
diff --git a/configs/stm3210e-eval/README.txt b/configs/stm3210e-eval/README.txt
index de6e066a39..0cf7f5cbd4 100755
--- a/configs/stm3210e-eval/README.txt
+++ b/configs/stm3210e-eval/README.txt
@@ -656,6 +656,8 @@ Where is one of the following:
Serial Debug output: USART1 Debug output: USART1
Console: NSH output: USART1 NSH output: USART1 (3)
----------- ----------------------- --------------------------------
+ I2C No I2C1
+ ----------- ----------------------- --------------------------------
microSD Yes Yes
Support
----------- ----------------------- --------------------------------
@@ -669,6 +671,7 @@ Where is one of the following:
Built-in None apps/examples/nx
Apps apps/examples/nxhello
apps/examples/usbstorage (5)
+ apps/system/i2c
=========== ======================= ================================
(1) You will probably need to modify nsh/setenv.sh or nsh2/setenv.sh
diff --git a/configs/stm3210e-eval/nsh2/appconfig b/configs/stm3210e-eval/nsh2/appconfig
index ff12c4103b..ba078d58a2 100644
--- a/configs/stm3210e-eval/nsh2/appconfig
+++ b/configs/stm3210e-eval/nsh2/appconfig
@@ -48,6 +48,10 @@ CONFIGURED_APPS += examples/nx
CONFIGURED_APPS += examples/nxhello
CONFIGURED_APPS += examples/usbstorage
+ifeq ($(CONFIG_I2C),y)
+CONFIGURED_APPS += system/i2c
+endif
+
# Applications configured as an NX built-in commands
ifeq ($(CONFIG_CAN),y)
diff --git a/configs/stm3210e-eval/nsh2/defconfig b/configs/stm3210e-eval/nsh2/defconfig
index 9967cdbf70..5174d51015 100644
--- a/configs/stm3210e-eval/nsh2/defconfig
+++ b/configs/stm3210e-eval/nsh2/defconfig
@@ -287,6 +287,14 @@ CONFIG_CAN1_BAUD=250000
CONFIG_CAN_TSEG1=12
CONFIG_CAN_TSEG2=3
+#
+# I2C configuration
+#
+CONFIG_I2C=y
+CONFIG_I2C_POLLED=y
+CONFIG_I2C_TRANSFER=y
+CONFIG_I2C_TRACE=n
+
#
# General build options
#
@@ -410,6 +418,7 @@ CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_GRAPHICS=n
CONFIG_DEBUG_LCD=n
CONFIG_DEBUG_USB=n
+CONFIG_DEBUG_I2C=n
CONFIG_DEBUG_SYMBOLS=n
CONFIG_DEBUG_CAN=n
CONFIG_HAVE_CXX=n
@@ -1156,6 +1165,26 @@ CONFIG_NSH_MMCSDSPIPORTNO=0
CONFIG_NSH_MMCSDSLOTNO=0
CONFIG_NSH_MMCSDMINOR=0
+
+#
+# I2C tool settings
+#
+# CONFIG_I2CTOOL_BUILTIN - Build the tools as an NSH built-in command
+# CONFIG_I2CTOOL_MINBUS - Smallest bus index supported by the hardware (default 0).
+# CONFIG_I2CTOOL_MAXBUS - Largest bus index supported by the hardware (default 3)
+# CONFIG_I2CTOOL_MINADDR - Minium device address (default: 0x03)
+# CONFIG_I2CTOOL_MAXADDR - Largest device address (default: 0x77)
+# CONFIG_I2CTOOL_MAXREGADDR - Largest register address (default: 0xff)
+# CONFIG_I2CTOOL_DEFFREQ - Default frequency (default: 1000000)
+#
+CONFIG_I2CTOOL_BUILTIN=y
+CONFIG_I2CTOOL_MINBUS=1
+CONFIG_I2CTOOL_MAXBUS=2
+#CONFIG_I2CTOOL_MINADDR
+#CONFIG_I2CTOOL_MAXADDR
+#CONFIG_I2CTOOL_MAXREGADDR
+CONFIG_I2CTOOL_DEFFREQ=100000
+
#
# Settings for examples/usbserial
#