-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
src/HAL/STM32/timers.cpp includes file that doesn't exist #21777
Comments
Cannot reproduce this error. There are also errors in the provided Configs @rhapsodyv Is #define EXTENSIBLE_UI valid for this type of LCD (TFT_1024x600_LTDC) ? |
I didn’t review BTT recent ltdc PR, but extensible ui is used only by serial tft, as far I know... And SoftwareSerial ships with stm32duino, so if there’s an issue, is with the env. But if you cannot reproduce, probably is an user environment issue. |
Here's the BX's source code with We'll have to wait for BigTreeTech to finish cleaning up & porting this code to work with the current Marlin codebase. |
Similar problem on the SKR Mini E3 v1.2 (STM32F103RC_btt_512K target). I cherry picked commits up to Creality v4 with STM32 HAL #21999. Things compile correctly if I leave out that commit, but something in that commit breaks timers. |
@ericsnis your configs upgraded to bugfix compiles without issues on bugfix. |
SoftwareSerial ships with stm32duino. It's impossible to not find it.. It's seems just a corrupted package install... Try delete the folder This will make pio download the libraries again. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
When using stm32 architecture and software serial to communicate with the TMC's the file
../Marlin/src/HAL/STM32/timers.cpp includes <SoftwareSerial.h> This file existed at version 2.0.6 but not in 2.0.8. Lack of this file causes the build to fail.
Marlin/src/HAL/STM32/timers.cpp:47:12: fatal error: SoftwareSerial.h: No such file or directory
47 | #include <SoftwareSerial.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pio/build/BTT_SKR_SE_BX/src/src/HAL/STM32/timers.cpp.o] Error 1
#if HAS_TMC_SW_SERIAL
#include <SoftwareSerial.h>
#ifndef SWSERIAL_TIMER_IRQ_PRIO
#define SWSERIAL_TIMER_IRQ_PRIO SWSERIAL_TIMER_IRQ_PRIO_DEFAULT
#endif
#endif
I copied SoftwareSerial.cpp & SoftwareSerial.h from 2.0.6 and that failed to compile due to other changes in the code.
Bug Timeline
2.0.8
Expected behavior
expected it to compile
Actual behavior
compile failed
Steps to Reproduce
build with BTT_SKR_SE_BX board
Version of Marlin Firmware
2.0.8
Printer model
BIQU BX
Electronics
Stock
Add-ons
none
Your Slicer
No response
Host Software
OctoPrint
Additional information & file uploads
config's.zip
The text was updated successfully, but these errors were encountered: