You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not understanding much of what's going on in the background, so apologies if obvious, but lately I get this error trying to upload sketches on Arduino boards with Deviot.
I'm running a Mac on Catalina 10.15.7.
Any idea how to solve it?
Thanks a lot!
sh: /Users/chienmouille/.platformio/packages/toolchain-atmelavr/bin/avr-g++: Bad CPU type in executable
*** Error 126
AssertionError: :
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/main.py", line 177:
env.SConscript("$BUILD_SCRIPT")
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Script/SConscript.py", line 591:
return _SConscript(self.fs, *files, **subst_kw)
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Script/SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/Users/chienmouille/.platformio/platforms/atmelavr/builder/main.py", line 198:
target_elf = env.BuildProgram()
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/platformio.py", line 61:
env.ProcessProgramDeps()
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/platformio.py", line 127:
env.BuildFrameworks(env.get("PIOFRAMEWORK"))
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/platformio.py", line 339:
env.ConvertInoToCpp()
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/piomisc.py", line 239:
out_file = c.convert(ino_nodes)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/piomisc.py", line 91:
return self.process(contents)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/piomisc.py", line 112:
assert self._gcc_preprocess(contents, out_file)
The text was updated successfully, but these errors were encountered:
Hi,
I'm not understanding much of what's going on in the background, so apologies if obvious, but lately I get this error trying to upload sketches on Arduino boards with Deviot.
I'm running a Mac on Catalina 10.15.7.
Any idea how to solve it?
Thanks a lot!
sh: /Users/chienmouille/.platformio/packages/toolchain-atmelavr/bin/avr-g++: Bad CPU type in executable
*** Error 126
AssertionError: :
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/main.py", line 177:
env.SConscript("$BUILD_SCRIPT")
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Script/SConscript.py", line 591:
return _SConscript(self.fs, *files, **subst_kw)
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Script/SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/Users/chienmouille/.platformio/platforms/atmelavr/builder/main.py", line 198:
target_elf = env.BuildProgram()
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/platformio.py", line 61:
env.ProcessProgramDeps()
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/platformio.py", line 127:
env.BuildFrameworks(env.get("PIOFRAMEWORK"))
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/platformio.py", line 339:
env.ConvertInoToCpp()
File "/Users/chienmouille/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/piomisc.py", line 239:
out_file = c.convert(ino_nodes)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/piomisc.py", line 91:
return self.process(contents)
File "/usr/local/Cellar/platformio/5.0.3/libexec/lib/python3.9/site-packages/platformio/builder/tools/piomisc.py", line 112:
assert self._gcc_preprocess(contents, out_file)
The text was updated successfully, but these errors were encountered: