hi i recently started building my mpcnc and have been having issues compiling the firmware for the ramps 1.4 and atmega2560. i have got the v1 non dual endstop firmware to compile and upload but can not get the dual endstop to compile at all. here is the error in platformio since arduino ide refuses to do anything other than freeze.
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: link deleted
PLATFORM: Atmel AVR 2.1.0 > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 248KB Flash
DEBUG: Current (simavr) On-board (simavr)
PACKAGES:
- framework-arduino-avr 5.0.0
- toolchain-atmelavr 1.50400.190710 (5.4.0)
Converting Marlin.ino
LDF: Library Dependency Finder -> link deleted
LDF Modes: Finder ~ chain, Compatibility ~ soft
LibraryManager: Installing Arduino-L6470
Using cache: C:\Users\user.platformio.cache\e0\a85bf8ed5b8232b743f62637d1e2c2e0
Unpacking…
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\user\Downloads\Marlin-MPCNC_Ramps_T8_16T_LCD_32step_DualEndstop\Marlin-MPCNC_Ramps_T8_16T_LCD_32step_DualEndstop\.pio\libdeps\megaatmega2560\_tmp_installing-hv9lul_2-package\Arduino-L6470-dev\examples\two_motors_synchronized\two_motors_synchronized.ino’:
File “C:\Users\user.platformio\penv\lib\site-packages\platformio\builder\main.py”, line 168:
env.SConscript("$BUILD_SCRIPT")
File “C:\Users\user.platformio\packages\tool-scons\script…\engine\SCons\Script\SConscript.py”, line 597:
return _SConscript(self.fs, *files, **subst_kw)
File “C:\Users\user.platformio\packages\tool-scons\script…\engine\SCons\Script\SConscript.py”, line 286:
exec(compile(scriptdata, scriptname, ‘exec’), call_stack[-1].globals)
File “C:\Users\user.platformio\platforms\atmelavr\builder\main.py”, line 155:
target_elf = env.BuildProgram()
File “C:\Users\user.platformio\packages\tool-scons\script…\engine\SCons\Environment.py”, line 219:
return self.method(*nargs, **kwargs)
File “C:\Users\user.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py”, line 62:
env.ProcessProjectDeps()
File “C:\Users\user.platformio\packages\tool-scons\script…\engine\SCons\Environment.py”, line 219:
return self.method(*nargs, **kwargs)
File “C:\Users\user.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py”, line 131:
project_lib_builder = env.ConfigureProjectLibBuilder()
File “C:\Users\user.platformio\packages\tool-scons\script…\engine\SCons\Environment.py”, line 219:
return self.method(*nargs, **kwargs)
File “C:\Users\user.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py”, line 1036:
project.install_dependencies()
File “C:\Users\user.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py”, line 868:
lm.install(uri)
File “c:\users\user.platformio\penv\lib\site-packages\platformio\managers\lib.py”, line 281:
force=force,
File “c:\users\user.platformio\penv\lib\site-packages\platformio\managers\package.py”, line 702:
pkg_dir = self._install_from_url(name, url, requirements, track=True)
File “c:\users\user.platformio\penv\lib\site-packages\platformio\managers\package.py”, line 482:
self.unpack(dlpath, tmp_dir)
File “c:\users\user.platformio\penv\lib\site-packages\platformio\managers\package.py”, line 222:
return fu.unpack(dest_dir, with_progress=False)
File “c:\users\user.platformio\penv\lib\site-packages\platformio\unpacker.py”, line 149:
self._unpacker.extract_item(item, dest_dir)
File “c:\users\user.platformio\penv\lib\site-packages\platformio\unpacker.py”, line 39:
self._afo.extract(item, dest_dir)
File “C:\Users\user.platformio\python37\lib\zipfile.py”, line 1602:
return self._extract_member(member, path, pwd)
File “C:\Users\user.platformio\python37\lib\zipfile.py”, line 1673:
open(targetpath, “wb”) as target:
================================== [FAILED] Took 1.88 seconds ==================================
Environment Status Duration
megaatmega2560 FAILED 00:00:01.878
megaatmega1280 IGNORED
at90usb1286_cdc IGNORED
at90usb1286_dfu IGNORED
DUE IGNORED
DUE_USB IGNORED
DUE_debug IGNORED
LPC1768 IGNORED
LPC1769 IGNORED
melzi IGNORED
melzi_optiboot IGNORED
rambo IGNORED
sanguino_atmega644p IGNORED
sanguino_atmega1284p IGNORED
STM32F103RE IGNORED
STM32F103RC_fysetc IGNORED
STM32F103RC_bigtree IGNORED
STM32F103RC_bigtree_USB IGNORED
STM32F4 IGNORED
STM32F7 IGNORED
ARMED IGNORED
STM32F103VE_longer IGNORED
mks_robin IGNORED
mks_robin_lite IGNORED
mks_robin_mini IGNORED
mks_robin_nano IGNORED
jgaurora_a5s_a1 IGNORED
STM32F407VE_black IGNORED
BIGTREE_SKR_PRO IGNORED
BIGTREE_BTT002 IGNORED
teensy31 IGNORED
teensy35 IGNORED
STM32F103CB_malyan IGNORED
esp32 IGNORED
fysetc_f6_13 IGNORED
linux_native IGNORED
SAMD51_grandcentral_m4 IGNORED
include_tree IGNORED
============================= 1 failed, 0 succeeded in 00:00:01.878 =============================
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.