Open Blackcatswiskas opened 1 year ago
Same, just tried to compile and get the exact same errors `FIGURATION: https://docs.platformio.org/page/boards/ststm32/tronxy_stm32f446zet.html PLATFORM: ST STM32 (12.1.1) > STM32F446ZE (128k RAM. 512k Flash) HARDWARE: STM32F446ZET6 180MHz, 128KB RAM, 512KB Flash DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink) PACKAGES:
Environment Status Duration`
I'm getting the same. I have had prior success with getting this to build, but something has changed recently and I'm not sure exactly what.
The issue appears to be related to an update to PlatformIO. Since it autoupdates rolling back might be difficult, but there appears to be a fix here
specifically maxgerhardt's second response:
replace
def replace_define in line 16 (or so) in buildroot/share/PlatformIO/scripts/marlin.py
with
def replace_define(field, value): envdefs = env['CPPDEFINES'].copy() for define in envdefs: if define[0] == field: env['CPPDEFINES'].remove(define) env['CPPDEFINES'].append((field, value))
I am having real issues here I received a compiled bin file from someone for the X5sa 500pro with 466 bit it only turns on z motor so tried to compile myself only to get errors what am i doing wrong? RuntimeError: deque mutated during iteration: File "C:.platformio\penv\lib\site-packages\platformio\builder\main.py", line 181: env.SConscript(env.GetExtraScripts("post"), exports="env") File "D:.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 598: return _SConscript(self.fs, *files, **subst_kw) File "D:.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 285: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "C:\Users\tinas\Downloads\F4xx-SIM480x320-SIM480x320-2.18.0r\F4xx-SIM480x320-SIM480x320-2.18.0r\buildroot\share\PlatformIO\scripts\tronxy_scrypt.py", line 8: marlin.relocate_vtab(board.get('build.offset')) File "C:\Users\tinas\Downloads\F4xx-SIM480x320-SIM480x320-2.18.0r\F4xx-SIM480x320-SIM480x320-2.18.0r\buildroot\share\PlatformIO\scripts\marlin.py", line 30: replace_define("VECT_TAB_OFFSET", address) File "C:\Users\tinas\Downloads\F4xx-SIM480x320-SIM480x320-2.18.0r\F4xx-SIM480x320-SIM480x320-2.18.0r\buildroot\share\PlatformIO\scripts\marlin.py", line 19: for define in env['CPPDEFINES']: