diff options
Diffstat (limited to 'demos/ARMCM4-STM32F407-DISCOVERY-G++/mcuconf.h')
| -rw-r--r-- | demos/ARMCM4-STM32F407-DISCOVERY-G++/mcuconf.h | 10 | 
1 files changed, 4 insertions, 6 deletions
| diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-G++/mcuconf.h b/demos/ARMCM4-STM32F407-DISCOVERY-G++/mcuconf.h index d90d656e0..da23f2138 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY-G++/mcuconf.h +++ b/demos/ARMCM4-STM32F407-DISCOVERY-G++/mcuconf.h @@ -181,7 +181,7 @@  #define STM32_PWM_USE_TIM1                  FALSE
  #define STM32_PWM_USE_TIM2                  FALSE
  #define STM32_PWM_USE_TIM3                  FALSE
 -#define STM32_PWM_USE_TIM4                  TRUE
 +#define STM32_PWM_USE_TIM4                  FALSE
  #define STM32_PWM_USE_TIM5                  FALSE
  #define STM32_PWM_USE_TIM8                  FALSE
  #define STM32_PWM_TIM1_IRQ_PRIORITY         7
 @@ -210,8 +210,8 @@  /*
   * SPI driver system settings.
   */
 -#define STM32_SPI_USE_SPI1                  TRUE
 -#define STM32_SPI_USE_SPI2                  TRUE
 +#define STM32_SPI_USE_SPI1                  FALSE
 +#define STM32_SPI_USE_SPI2                  FALSE
  #define STM32_SPI_USE_SPI3                  FALSE
  #define STM32_SPI_SPI1_RX_DMA_STREAM        STM32_DMA_STREAM_ID(2, 0)
  #define STM32_SPI_SPI1_TX_DMA_STREAM        STM32_DMA_STREAM_ID(2, 3)
 @@ -255,7 +255,7 @@  /*
   * USB driver system settings.
   */
 -#define STM32_USB_USE_OTG1                  TRUE
 +#define STM32_USB_USE_OTG1                  FALSE
  #define STM32_USB_USE_OTG2                  FALSE
  #define STM32_USB_OTG1_IRQ_PRIORITY         14
  #define STM32_USB_OTG2_IRQ_PRIORITY         14
 @@ -264,5 +264,3 @@  #define STM32_USB_OTG_THREAD_PRIO           LOWPRIO
  #define STM32_USB_OTG_THREAD_STACK_SIZE     128
  #define STM32_USB_OTGFIFO_FILL_BASEPRI      0
 -
 -
 | 
