Browse Source

Add SERVO, TONE timers to variant for better STEVAL_3DP001V1 support (#16538)

pull/1/head
Bob Kuhn 5 years ago
committed by Scott Lahteine
parent
commit
c4ffe74d71
  1. 8
      buildroot/share/PlatformIO/variants/STEVAL_F401VE/variant.h

8
buildroot/share/PlatformIO/variants/STEVAL_F401VE/variant.h

@ -190,6 +190,14 @@ extern "C" {
#define PIN_SERIAL_RX PA10
#define PIN_SERIAL_TX PA9
// Timer Definitions
//Do not use timer used by PWM pins when possible. See PinMap_PWM in PeripheralPins.c
#define TIMER_TONE TIM10
// Do not use basic timer: OC is required
#define TIMER_SERVO TIM11 //TODO: advanced-control timers don't work
/* SD detect signal */
/*
* By default, R67 is not provided, so SD card detect is not used.

Loading…
Cancel
Save