STM32 F3 fixes from John Wharington

This commit is contained in:
Gregory Nutt 2013-08-13 07:48:18 -06:00
parent 120a3604c9
commit 1ec49f08b4
4 changed files with 4 additions and 3 deletions

View File

@ -5385,4 +5385,5 @@
is disconnected, it needs to provide the FunctionAddress to the is disconnected, it needs to provide the FunctionAddress to the
USB HCD disconnect method so that the HCD will know which port USB HCD disconnect method so that the HCD will know which port
is being disconnected (2013-8-12). 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).

View File

@ -2225,7 +2225,6 @@ config STM32_DAC1_TIMER
config STM32_DAC1_TIMER_FREQUENCY config STM32_DAC1_TIMER_FREQUENCY
int "DAC1 timer frequency" int "DAC1 timer frequency"
default 0 default 0
range 0 14
endif endif

View File

@ -106,7 +106,7 @@ CHIP_CSRCS += stm32_userspace.c stm32_mpuinit.c
endif endif
ifeq ($(CONFIG_STM32_STM32F30XX),y) ifeq ($(CONFIG_STM32_STM32F30XX),y)
CHIP_CSRCS += stm32f30xx_i2c.c CHIP_CSRCS += stm32f30xxx_i2c.c
else else
CHIP_CSRCS += stm32_i2c.c CHIP_CSRCS += stm32_i2c.c
endif endif

View File

@ -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_traceevent(priv, I2CEVENT_BTFRESTART, priv->msgc);
/* ??? */ /* ??? */
stm32_i2c_sendstart(priv);
} }
} }
else if (priv->msgv) else if (priv->msgv)