I have been running the bug-fix source of Marlin for quite a while and decided to move over to the release version instead. I figured I should be able to just copy my 2 config files and the platformio.ini file into the new source directory, then create the new workspace in Visual Studio Code. Did that, and ran the build. Got errors about running old config files, so I changed the version info inside the 2 files to 200005 and ran the build again. Next errors were in regards to #define Z_SAFE_HOMING not being enabled, so I enabled it. Now I get a warning saying
"warning: Calling missing SConscript without error is deprecated.
Transition by adding must_exist=0 to SConscript calls.
Missing SConscript 'Marlin\src\HAL\HAL_LPC1768\upload_extra_script.py'
File "C:\Users\Administrator\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 164, in "
followed by
"In file included from Marlin\src\module/stepper/trinamic.h:29,
from Marlin\src\module/stepper/indirection.h:44,
Compiling .pio\build\LPC1768\src\src\core\utility.cpp.o
from Marlin\src\module/stepper.h:47,
from Marlin\src\MarlinCore.cpp:37:
.pio\libdeps\LPC1768\TMCStepper_ID5513\src/TMCStepper.h:14:10: fatal error: SPI.h: No such file or directory
14 | #include
| ^~~~~~~
compilation terminated.
*** [.pio\build\LPC1768\src\src\MarlinCore.cpp.o] Error 1"
Any ideas on how to correct this? I have checked and there are 3 different SPI.h files in the directory structure, none of which are in the directory where TMCStepper.h file is located. The SPI.h is mentioned in the TMCStepper.h file without any relative folder information, and to me that means the file must reside in the same folder, or be in the folder where the TMCStepper.h file is mentioned. I am not a programmer, and I am using old DOS batch file logic to arrive at that opinion. Inside the TMCStepper.h file it also includes a file named "Stream.h", again without any relative folder information, and that file does not exist in the folder that contains the TMCStepper.h file.
"warning: Calling missing SConscript without error is deprecated.
Transition by adding must_exist=0 to SConscript calls.
Missing SConscript 'Marlin\src\HAL\HAL_LPC1768\upload_extra_script.py'
File "C:\Users\Administrator\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 164, in "
followed by
"In file included from Marlin\src\module/stepper/trinamic.h:29,
from Marlin\src\module/stepper/indirection.h:44,
Compiling .pio\build\LPC1768\src\src\core\utility.cpp.o
from Marlin\src\module/stepper.h:47,
from Marlin\src\MarlinCore.cpp:37:
.pio\libdeps\LPC1768\TMCStepper_ID5513\src/TMCStepper.h:14:10: fatal error: SPI.h: No such file or directory
14 | #include
| ^~~~~~~
compilation terminated.
*** [.pio\build\LPC1768\src\src\MarlinCore.cpp.o] Error 1"
Any ideas on how to correct this? I have checked and there are 3 different SPI.h files in the directory structure, none of which are in the directory where TMCStepper.h file is located. The SPI.h is mentioned in the TMCStepper.h file without any relative folder information, and to me that means the file must reside in the same folder, or be in the folder where the TMCStepper.h file is mentioned. I am not a programmer, and I am using old DOS batch file logic to arrive at that opinion. Inside the TMCStepper.h file it also includes a file named "Stream.h", again without any relative folder information, and that file does not exist in the folder that contains the TMCStepper.h file.