luni64 / TeensyStep

Fast Stepper Motor Library for Teensy boards

Home Page:https://luni64.github.io/TeensyStep/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to run with stm32f103?

EeeLo opened this issue · comments

How to run with stm32f103?

Hi, you need to use the STM32 branch and change what hardware timer to use. Here is the line you need to modify to match what timers that the stm32f103 has:

TIM_TypeDef* TimerField::timer_mapping[MAX_TIMERS] = { TIM1, TIM2, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, TIM10, TIM11, TIM12, TIM14 };

您好,您需要修改 STM322 的分支并使用您的匹配。

TIM_TypeDef* TimerField::timer_mapping[MAX_TIMERS] = { TIM1, TIM2, TIM4, TIM5, TIM6, TIM7, TIM8, TIM9, TIM10, TIM11, TIM12, TIM14 };

Hi,I already run with stm32f103, now I have new question about the "overrideSpeed",I build it with STM32 board ,but not have member named "overrideSpeed", I can see there have some code in the project like "Winder.cpp", how to add in STM32's library?