I’m struggling with trying to get marlin 2 on my new printer. I keep getting an error about the TMC library, I think, and not sure what to do. I downloaded Marlin again but when I tried to compile using VS Code it kept giving me an error trying to unpack a file. I then installed ATOM and downloaded another copy of Marlin and starting getting an error also in the TMC26x file. I tried updating the library and then tried to revert to an older version both without success. It seems like it has something to do with platformio because it happened in VS and Atom but I’m new to all of this so I know the issue is with my lack of knowledge. Hell, I struggle with just trying to use an online forum but if anyone could at least point me in the right direction, I would be very appreciative.
Processing STM32F4 (platform: ststm32; framework: arduino; board: disco_f407vg)
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/disco_f407vg.html
PLATFORM: ST STM32 5.5.0 > ST STM32F4DISCOVERY
HARDWARE: STM32F407VGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (stlink) On-board (stlink) External (blackmagic, jlink)
PACKAGES: framework-arduinoststm32 3.10601.190716 (1.6.1), toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
LibraryManager: Installing c1921b4
Using cache: C:\Users\Zo\.platformio\.cache\8c\f244bfa38b7bfff5e9042f5d9f9f5c8c
Unpacking...
WindowsError: [Error 206] The filename or extension is too long: 'C:\\Users\\ZO\\Desktop\\3d Printer\\Files\\0_3D_Printers\\SKR_Pro\\MArlin_A\\Marlin-bugfix-2.0.x\\.piolibdeps\\STM32F4\\_tmp_installing-ohrrji-package\\TMC26XStepper-c1921b4856a5ef4b659b661b8c
b5dd56f3075e57\\examples\\TMC26XMotorTester\\processing\\TMC26XMotorTest':
File "C:\Users\ZO\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 126:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\ZO\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 541:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\ZO\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 250:
exec _file_ in call_stack[-1].globals
File "C:\Users\ZO\.platformio\platforms\ststm32\builder\main.py", line 91:
target_elf = env.BuildProgram()
File "C:\Users\ZO\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\Users\ZO\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 122:
_build_project_deps(env)
File "C:\Users\ZO\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 47:
project_lib_builder = env.ConfigureProjectLibBuilder()
File "C:\Users\ZO\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 224:
return self.method(*nargs, **kwargs)
File "C:\Users\ZO\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1046:
project.install_dependencies()
File "C:\Users\ZO\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 881:
lm.install(uri)
File "c:\users\ZO\.platformio\penv\lib\site-packages\platformio\managers\lib.py", line 353:
force=force)
File "c:\users\ZO\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 724:
track=True)
File "c:\users\ZO\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 506:
self.unpack(dlpath, tmp_dir)
File "c:\users\ZO\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 214:
return fu.unpack(dest_dir, with_progress=with_progress)
File "c:\users\ZO\.platformio\penv\lib\site-packages\platformio\unpacker.py", line 118:
self._unpacker.extract_item(item, dest_dir)
File "c:\users\ZO\.platformio\penv\lib\site-packages\platformio\unpacker.py", line 38:
self._afo.extract(item, dest_dir)
File "C:\Users\ZO\.platformio\python27\Lib\zipfile.py", line 1031:
return self._extract_member(member, path, pwd)
File "C:\Users\ZO\.platformio\python27\Lib\zipfile.py", line 1082:
os.mkdir(targetpath)
[FAILED] Took 7.55 seconds