Browse Source

Decrease I2C timeout in config so it matches the previous 500 us timeout as close as possible. This is necessary after fixing the NuttX I2C timeout logic

sbg
Lorenz Meier 11 years ago
parent
commit
a54ef70a20
  1. 3
      nuttx-configs/px4fmu-v1/nsh/defconfig
  2. 3
      nuttx-configs/px4fmu-v2/nsh/defconfig
  3. 2
      nuttx-configs/px4io-v1/nsh/defconfig

3
nuttx-configs/px4fmu-v1/nsh/defconfig

@ -287,8 +287,7 @@ CONFIG_STM32_USART_SINGLEWIRE=y @@ -287,8 +287,7 @@ CONFIG_STM32_USART_SINGLEWIRE=y
#
# CONFIG_STM32_I2C_DYNTIMEO is not set
CONFIG_STM32_I2CTIMEOSEC=0
CONFIG_STM32_I2CTIMEOMS=10
CONFIG_STM32_I2CTIMEOTICKS=500
CONFIG_STM32_I2CTIMEOMS=1
# CONFIG_STM32_I2C_DUTY16_9 is not set
#

3
nuttx-configs/px4fmu-v2/nsh/defconfig

@ -323,8 +323,7 @@ CONFIG_STM32_USART_SINGLEWIRE=y @@ -323,8 +323,7 @@ CONFIG_STM32_USART_SINGLEWIRE=y
#
# CONFIG_STM32_I2C_DYNTIMEO is not set
CONFIG_STM32_I2CTIMEOSEC=0
CONFIG_STM32_I2CTIMEOMS=10
CONFIG_STM32_I2CTIMEOTICKS=500
CONFIG_STM32_I2CTIMEOMS=1
# CONFIG_STM32_I2C_DUTY16_9 is not set
#

2
nuttx-configs/px4io-v1/nsh/defconfig

@ -133,6 +133,8 @@ CONFIG_STM32_USART2=y @@ -133,6 +133,8 @@ CONFIG_STM32_USART2=y
CONFIG_STM32_USART3=y
CONFIG_STM32_I2C1=y
CONFIG_STM32_I2C2=n
CONFIG_STM32_I2CTIMEOSEC=0
CONFIG_STM32_I2CTIMEOMS=1
CONFIG_STM32_BKP=n
CONFIG_STM32_PWR=n
CONFIG_STM32_DAC=n

Loading…
Cancel
Save