Closed UncleBansh closed 5 years ago
i dont see any SW_UART.cpp in https://github.com/teemuatlut/TMCStepper/tree/master/src/source
I use this lib https://github.com/bigtreetech/TMCStepper
i dont see any SW_UART.cpp in https://github.com/teemuatlut/TMCStepper/tree/master/src/source
ok, so.. try this for now... (ignore the .py stuff) https://github.com/MarlinFirmware/Marlin/pull/14893/files
We only start this sotfware serial.. nice to see some code is already made...
change
platformio.ini
[env:BIGTREE_SKR_MINI]
-DDEBUG_LEVEL=0
to
-DDEBUG_LEVEL=0 -DHAVE_SW_SERIAL
and
Marlin\src\HAL\HAL_STM32F1\SoftwareSerial.cpp
19 string to
#if defined(__STM32F1__) && !defined(HAVE_SW_SERIAL)
compiling with this fine. but cant check work on the board for now
its a good start..
one more compile bug(
Marlin\src\lcd\ultralcd.cpp: In static member function 'static void MarlinUI::update()': Marlin\src\lcd\ultralcd.cpp:767:9: error: 'touch_buttons' was not declared in this scope if (touch_buttons) { ^
~~~~ Marlin\src\lcd\ultralcd.cpp:767:9: note: suggested alternative: 'update_buttons' if (touch_buttons) { ^~~~~ update_buttons Marlin\src\lcd\ultralcd.cpp:805:5: error: 'else' without a previous 'if' else wait_for_unclick = false; ^~~~ *** [.pio\build\BIGTREE_SKR_MINI\src\src\lcd\ultralcd.cpp.o] Error 1
thats is other error unrelated to this bug
change platformio.ini [env:BIGTREE_SKR_MINI]
-DDEBUG_LEVEL=0
to-DDEBUG_LEVEL=0 -DHAVE_SW_SERIAL
check on board. all works fine somebody can add this in pull request? this looks like a fix of compiling for skr mini and skr e3. then it can be closed. thanx.
the -DHAVE_SW_SERIAL is only when you add the lib, the custom TMCStepper lib from BIQ is not used in current platformio.ini
the -DHAVE_SW_SERIAL is only when you add the lib, the custom TMCStepper lib from BIQ is not used in current platformio.ini
Okey. can be closed. thank you alot
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.
compile errors