-
Notifications
You must be signed in to change notification settings - Fork 1k
Variant.h for RUMBA32 #731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @MagoKimbra Arduino_Core_STM32/libraries/SoftwareSerial/src/SoftwareSerial.cpp Lines 42 to 51 in 2f1fd8e
So I guess there is no TIM18 for F446 and then TIM7 is used. |
Yes, TIM18 not define for STM32F466 and use the first TIM7. |
Don't know your HAL firmware but if set in variant.h this should be ok |
Yes yes in variant.h the servo works perfectly. I tried to put the define in my firmware which includes the TMCstepper.h library which in turn includes the Softwareserial.h library, but unfortunately the define is not seen, I said this. |
ok. |
@MagoKimbra |
TIM9. Thank's. |
Well, I will not modify the variant as this will fix it for all users and they do not want necessarily to use this one. |
Where i add hal_conf_extra.h??? in Myfirmware or in library STM32??? |
When using Arduino IDE, simply adding it at sketch level works. |
Please enter the TIMER_SERIAL define in variant.h of rumba32.
If the SoftwareSerial.h library is included, as is the case with the TMCStepper library, SoftwareSerial takes the timer 7 for the STM32F446 processor which is the same one used by the servo and in fact no longer works.
I put #define TIMER_SERIAL 8 in variant.h so the servo works, but I don't know if the SoftwareSerial library works, it should be verified ...
The text was updated successfully, but these errors were encountered: