🔨 More HAL/STM32 targets (#22358, #22369)

This commit is contained in:
ellensp
2021-07-15 14:07:46 +12:00
committed by Scott Lahteine
parent 8283f1577a
commit b6cb56f396
5 changed files with 184 additions and 30 deletions

View File

@ -132,8 +132,12 @@ extern "C" {
// Timer Definitions (optional)
// Use TIM6/TIM7 when possible as servo and tone don't need GPIO output pin
#define TIMER_TONE TIM3
#define TIMER_SERVO TIM2
#ifndef TIMER_TONE
#define TIMER_TONE TIM6
#endif
#ifndef TIMER_SERVO
#define TIMER_SERVO TIM7
#endif
// UART Definitions
// Define here Serial instance number to map on Serial generic name