Hi guys, i’m trying to build marlin 2.1 firmware to my STM32G0B1RE_btt or skr mini e3 v3 bigtreetech board using platformIO but always get this error. However, when i try with other boards it runs perfectly fine. I wonder what is the problem ? Thanks in advance
* Executing task in folder Marlin-2.1: C:\Users\rahardi.kramadibrata\.platformio\penv\Scripts\platformio.exe run
Warning! Ignore unknown configuration option `monitor_flags` in section [env]
Processing STM32G0B1RE_btt (platform: ststm32@~14.1.0; board: marlin_STM32G0B1RE; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Tool Manager: Installing https://github.com/stm32duino/Arduino_Core_STM32/archive/main.zip
Unpacking [##################################--] 97% 00:00:02
Unpacking...
Error: Traceback (most recent call last):
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 38, in unpack
return fu.unpack(dst, with_progress=with_progress)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\unpack.py", line 175, in unpack
self._archiver.extract_item(item, dest_dir)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\unpack.py", line 48, in extract_item
self._afo.extract(item, dest_dir)
File "C:\Users\rahardi.kramadibrata\.platformio\python3\lib\zipfile.py", line 1616, in extract
return self._extract_member(member, path, pwd)
File "C:\Users\rahardi.kramadibrata\.platformio\python3\lib\zipfile.py", line 1687, in _extract_member
open(targetpath, "wb") as target:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\rahardi.kramadibrata\\.platformio\\.cache\\tmp\\pkg-installing-z7cd4saa\\Arduino_Core_STM32-main\\variants\\STM32MP1xx\\MP133AA(E-F-G)_MP133CA(E-F-G)_MP133DA(E-F-G)_MP133FA(E-F-G)_MP135AA(E-F-G)_MP135CA(E-F-G)_MP135DA(E-F-G)_MP135FA(E-F-G)\\variant_generic.cpp'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\__main__.py", line 102, in main
cli() # pylint: disable=no-value-for-parameter
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\cli.py", line 71, in invoke
return super().invoke(ctx)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\click\core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\run\cli.py", line 144, in cli
process_env(
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\run\cli.py", line 201, in process_env
result = {"env": name, "duration": time(), "succeeded": ep.process()}
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\run\processor.py", line 83, in process
install_project_env_dependencies(
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\commands\install.py", line 131, in install_project_env_dependencies
_install_project_env_platform(project_env, options),
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\commands\install.py", line 148, in _install_project_env_platform
PlatformPackageManager().install(
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\manager\platform.py", line 62, in install
p.install_required_packages(force=force)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\platform\_packages.py", line 76, in install_required_packages
self.install_package(name, force=force)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\platform\_packages.py", line 70, in install_package
return self.pm.install(spec or self.get_package_spec(name), force=force)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48, in install
pkg = self._install(spec, skip_dependencies=skip_dependencies, force=force)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 98, in _install
pkg = self.install_from_uri(spec.uri, spec)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 188, in install_from_uri
self.unpack(dl_path, tmp_dir)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 43, in unpack
return fu.unpack(dst, with_progress=False)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\unpack.py", line 170, in unpack
self._archiver.extract_item(item, dest_dir)
File "C:\Users\rahardi.kramadibrata\.platformio\penv\lib\site-packages\platformio\package\unpack.py", line 48, in extract_item
self._afo.extract(item, dest_dir)
File "C:\Users\rahardi.kramadibrata\.platformio\python3\lib\zipfile.py", line 1616, in extract
return self._extract_member(member, path, pwd)
File "C:\Users\rahardi.kramadibrata\.platformio\python3\lib\zipfile.py", line 1687, in _extract_member
open(targetpath, "wb") as target:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\rahardi.kramadibrata\\.platformio\\.cache\\tmp\\pkg-installing-z7cd4saa\\Arduino_Core_STM32-main\\variants\\STM32MP1xx\\MP133AA(E-F-G)_MP133CA(E-F-G)_MP133DA(E-F-G)_MP133FA(E-F-G)_MP135AA(E-F-G)_MP135CA(E-F-G)_MP135DA(E-F-G)_MP135FA(E-F-G)\\variant_generic.cpp'
============================================================
An unexpected error occurred. Further steps:
* Verify that you have the latest version of PlatformIO using
`pip install -U platformio` command
* Try to find answer in FAQ Troubleshooting section
https://docs.platformio.org/page/faq/index.html
* Report this problem to the developers
https://github.com/platformio/platformio-core/issues
============================================================
* The terminal process "C:\Users\rahardi.kramadibrata\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.