diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-24 14:34:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-24 14:34:24 +0000 |
commit | b4b6ea430cde3670d7f069311576abf9c725024c (patch) | |
tree | 861d652704f07e4e2880222e7844cfeec5adf132 /nuttx/configs/stm3240g-eval/dhcpd | |
parent | 58a755a096e3c671096f7477320d0f5304415ec1 (diff) | |
download | px4-nuttx-b4b6ea430cde3670d7f069311576abf9c725024c.tar.gz px4-nuttx-b4b6ea430cde3670d7f069311576abf9c725024c.tar.bz2 px4-nuttx-b4b6ea430cde3670d7f069311576abf9c725024c.zip |
Enable the I2C tool in the STM3240G-EVAL NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4328 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3240g-eval/dhcpd')
-rwxr-xr-x | nuttx/configs/stm3240g-eval/dhcpd/defconfig | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nuttx/configs/stm3240g-eval/dhcpd/defconfig b/nuttx/configs/stm3240g-eval/dhcpd/defconfig index 97621f7a7..f42eed44e 100755 --- a/nuttx/configs/stm3240g-eval/dhcpd/defconfig +++ b/nuttx/configs/stm3240g-eval/dhcpd/defconfig @@ -327,6 +327,14 @@ CONFIG_STM32_ETH_PTP=n CONFIG_STM32_ETHMAC_REGDEBUG=n # +# I2C configuration +# +CONFIG_I2C=n +CONFIG_I2C_POLLED=y +CONFIG_I2C_TRANSFER=y +CONFIG_I2C_TRACE=n + +# # General build options # # CONFIG_RRLOAD_BINARY - make the rrload binary format used with @@ -1175,6 +1183,25 @@ 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=3 +#CONFIG_I2CTOOL_MINADDR +#CONFIG_I2CTOOL_MAXADDR +#CONFIG_I2CTOOL_MAXREGADDR +CONFIG_I2CTOOL_DEFFREQ=100000 + +# # Settings for examples/usbserial # # CONFIG_EXAMPLES_USBSERIAL_INONLY |