From f3bfd6a5157bccafd02915cf553a5a1bf736e86e Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 13 Aug 2013 07:48:18 -0600 Subject: [PATCH] STM32 F3 fixes from John Wharington --- arch/arm/src/stm32/Kconfig | 1 - arch/arm/src/stm32/Make.defs | 2 +- arch/arm/src/stm32/stm32f30xxx_i2c.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) 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)