Fysetc AIO II / Cheetah STM32F1 (#14407)

This commit is contained in:
Eric Ptak
2019-06-26 07:40:29 +02:00
committed by Scott Lahteine
parent 8e23e9b16c
commit 8934b32f1b
26 changed files with 14513 additions and 34 deletions

View File

@ -22,7 +22,6 @@
*/
#if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC)
#include "../../inc/MarlinConfig.h"
#if HAS_SERVOS

View File

@ -49,7 +49,7 @@
#define TEMP_TIMER 17
#endif
#elif defined STM32F1xx
#elif defined(STM32F1xx)
#define HAL_TIMER_RATE (F_CPU) // frequency of timer peripherals
@ -61,19 +61,7 @@
#define TEMP_TIMER 2
#endif
#elif defined STM32F4xx
#define HAL_TIMER_RATE (F_CPU/2) // frequency of timer peripherals
#ifndef STEP_TIMER
#define STEP_TIMER 5
#endif
#ifndef TEMP_TIMER
#define TEMP_TIMER 7
#endif
#elif defined STM32F7xx
#elif defined(STM32F4xx) || defined(STM32F7xx)
#define HAL_TIMER_RATE (F_CPU/2) // frequency of timer peripherals