|
|
@ -93,17 +93,15 @@ extern "C" { |
|
|
|
#define PIN_SPI_MISO PA6 |
|
|
|
#define PIN_SPI_SCK PA5 |
|
|
|
|
|
|
|
|
|
|
|
// Timer Definitions
|
|
|
|
#define TIMER_TONE TIM2 |
|
|
|
#define TIMER_SERVO TIM5 |
|
|
|
#define TIMER_SERIAL TIM11 |
|
|
|
#define TIMER_TONE TIM2 // TIMER_TONE must be defined in this file
|
|
|
|
#define TIMER_SERVO TIM5 // TIMER_SERVO must be defined in this file
|
|
|
|
#define TIMER_SERIAL TIM11 // TIMER_SERIAL must be defined in this file
|
|
|
|
|
|
|
|
// UART Definitions
|
|
|
|
//#define ENABLE_HWSERIAL1 done automatically by the #define SERIAL_UART_INSTANCE below
|
|
|
|
#define ENABLE_HWSERIAL2 |
|
|
|
|
|
|
|
|
|
|
|
// Define here Serial instance number to map on Serial generic name (if not already used by SerialUSB)
|
|
|
|
#define SERIAL_UART_INSTANCE 1 //1 for Serial = Serial1 (USART1)
|
|
|
|
|
|
|
@ -148,4 +146,4 @@ extern "C" { |
|
|
|
#define SERIAL_PORT_HARDWARE_OPEN Serial2 |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif /* _VARIANT_ARDUINO_STM32_ */ |
|
|
|
#endif /* _VARIANT_ARDUINO_STM32_ */ |
|
|
|