Fixed wrong settings in the demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3843 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
c3e9fad51e
commit
c26c95a384
|
@ -47,6 +47,7 @@ static const ADCConversionGroup adcgrpcfg = {
|
|||
FALSE,
|
||||
ADC_GRP1_NUM_CHANNELS,
|
||||
adccb,
|
||||
NULL,
|
||||
/* HW dependent part.*/
|
||||
0,
|
||||
ADC_CR2_TSVREFE,
|
||||
|
|
|
@ -135,7 +135,7 @@
|
|||
#define STM32_PWM_USE_ADVANCED FALSE
|
||||
#define STM32_PWM_USE_TIM1 FALSE
|
||||
#define STM32_PWM_USE_TIM2 FALSE
|
||||
#define STM32_PWM_USE_TIM3 FALSE
|
||||
#define STM32_PWM_USE_TIM3 TRUE
|
||||
#define STM32_PWM_USE_TIM4 FALSE
|
||||
#define STM32_PWM_USE_TIM5 FALSE
|
||||
#define STM32_PWM_USE_TIM8 FALSE
|
||||
|
@ -154,8 +154,8 @@
|
|||
/*
|
||||
* SERIAL driver system settings.
|
||||
*/
|
||||
#define STM32_SERIAL_USE_USART1 FALSE
|
||||
#define STM32_SERIAL_USE_USART2 TRUE
|
||||
#define STM32_SERIAL_USE_USART1 TRUE
|
||||
#define STM32_SERIAL_USE_USART2 FALSE
|
||||
#define STM32_SERIAL_USE_USART3 FALSE
|
||||
#define STM32_SERIAL_USE_UART4 FALSE
|
||||
#define STM32_SERIAL_USE_UART5 FALSE
|
||||
|
@ -170,7 +170,7 @@
|
|||
/*
|
||||
* SPI driver system settings.
|
||||
*/
|
||||
#define STM32_SPI_USE_SPI1 FALSE
|
||||
#define STM32_SPI_USE_SPI1 TRUE
|
||||
#define STM32_SPI_USE_SPI2 FALSE
|
||||
#define STM32_SPI_USE_SPI3 FALSE
|
||||
#define STM32_SPI_SPI1_DMA_PRIORITY 1
|
||||
|
|
Loading…
Reference in New Issue