diff --git a/ChangeLog b/ChangeLog index 71eb912a6d..2471c4c7f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5385,4 +5385,5 @@ is disconnected, it needs to provide the FunctionAddress to the USB HCD disconnect method so that the HCD will know which port is being disconnected (2013-8-12). - + * nuttx/arch/arm/src/stm32/Kconfig, Make.defs, and /stm32f30xxx_i2c.c: + STM32 F3 I2C fixes from John Wharington (2013-8-13). diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index b1da40c254..f0fec3b44c 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/arch/arm/src/stm32/Kconfig @@ -2225,7 +2225,6 @@ config STM32_DAC1_TIMER config STM32_DAC1_TIMER_FREQUENCY int "DAC1 timer frequency" default 0 - range 0 14 endif diff --git a/arch/arm/src/stm32/Make.defs b/arch/arm/src/stm32/Make.defs index 3a187d8776..0491c91a10 100644 --- a/arch/arm/src/stm32/Make.defs +++ b/arch/arm/src/stm32/Make.defs @@ -106,7 +106,7 @@ CHIP_CSRCS += stm32_userspace.c stm32_mpuinit.c endif ifeq ($(CONFIG_STM32_STM32F30XX),y) -CHIP_CSRCS += stm32f30xx_i2c.c +CHIP_CSRCS += stm32f30xxx_i2c.c else CHIP_CSRCS += stm32_i2c.c endif diff --git a/arch/arm/src/stm32/stm32f30xxx_i2c.c b/arch/arm/src/stm32/stm32f30xxx_i2c.c index 837dd92df9..747d0cbecb 100644 --- a/arch/arm/src/stm32/stm32f30xxx_i2c.c +++ b/arch/arm/src/stm32/stm32f30xxx_i2c.c @@ -1438,6 +1438,7 @@ static int stm32_i2c_isr(struct stm32_i2c_priv_s *priv) { stm32_i2c_traceevent(priv, I2CEVENT_BTFRESTART, priv->msgc); /* ??? */ + stm32_i2c_sendstart(priv); } } else if (priv->msgv)