tronxy3d / F103_PIC480x320

STM32F103ZET { XY2-PRO|XY2_PRO_2E|XY3_PRO|XY3_PRO_V2|X5SA|X5SA_g|X5SA_PRO|X5SA_2E|X5SA400_PRO|X5SA400_2E|XY3SE|XY3SE_2E|XY3SE_V2|D01|D01_PLUS|C2 }
GNU General Public License v3.0
12 stars 6 forks source link

No puedo actualizar #7

Open solihop19 opened 8 months ago

solihop19 commented 8 months ago

image

solihop19 commented 8 months ago

image

Maker-Paul commented 1 week ago

The real reason is that in Marlin/buildroot/share/PlatformIO/scripts/marlin.py the iterated environment is getting modified during the iteration in the replace_define() function, update it as follows and the error will be gone:

def replace_define(field, value): found_define = None for define in env['CPPDEFINES']: if define[0] == field: found_define = define break if found_define: env['CPPDEFINES'].remove(found_define) env['CPPDEFINES'].append((field, value))