Some STM32 bugfixes from Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4635 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
6c394ef7a6
commit
8a9c292626
@ -49,7 +49,7 @@ CMN_CSRCS = up_assert.c up_blocktask.c up_copystate.c \
|
|||||||
up_usestack.c up_doirq.c up_hardfault.c up_svcall.c
|
up_usestack.c up_doirq.c up_hardfault.c up_svcall.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
|
ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
|
||||||
CMN_ASRCS += up_exception.S stm32_vectors.S
|
CMN_ASRCS += up_exception.S
|
||||||
CMN_CSRCS += up_vectors.c
|
CMN_CSRCS += up_vectors.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -223,7 +223,7 @@ static struct stm32_dev_s g_adcpriv2 =
|
|||||||
.irq = STM32_IRQ_ADC,
|
.irq = STM32_IRQ_ADC,
|
||||||
.isr = adc123_interrupt,
|
.isr = adc123_interrupt,
|
||||||
#endif
|
#endif
|
||||||
.intf = 2;
|
.intf = 2,
|
||||||
.base = STM32_ADC2_BASE,
|
.base = STM32_ADC2_BASE,
|
||||||
#ifdef ADC2_HAVE_TIMER
|
#ifdef ADC2_HAVE_TIMER
|
||||||
.trigger = CONFIG_STM32_ADC2_TIMTRIG,
|
.trigger = CONFIG_STM32_ADC2_TIMTRIG,
|
||||||
|
Loading…
Reference in New Issue
Block a user