Hi,
I've tried to build Marlin 2.0x for my Creality V4.2.7 board in my Ender 3. I've followed this tutorial : [www.youtube.com]
First I faced an unexpected problem concerning the modification of the default environnement in the "platformio.ini" file : original -> "default_envs = STM32F103RET6_creality" , latest -> "default_envs = STM32F103RE_creality"
I found the answer for this one.
However now I have another error when building :
I don't understand all these errors related to LOGICAL_AXIS_ARRAY_1( ) since it is part of types.h.
This problem doesn't seem to appear anywhere on the internet...
I fear these errors may result from my VSCode environnement...
May somebody help me on this ?
I attach the modified Marlin files that I'm trying to build.
Thanks in advance,
D3nta1
I've tried to build Marlin 2.0x for my Creality V4.2.7 board in my Ender 3. I've followed this tutorial : [www.youtube.com]
First I faced an unexpected problem concerning the modification of the default environnement in the "platformio.ini" file : original -> "default_envs = STM32F103RET6_creality" , latest -> "default_envs = STM32F103RE_creality"
I found the answer for this one.
However now I have another error when building :
Compiling .pio\build\STM32F103RE_creality\src\src\libs\crc16.cpp.o Marlin\src\lcd\menu\menu_advanced.cpp:421:34: error: macro "LOGICAL_AXIS_ARRAY_1" requires 2 arguments, but only 1 given 421 | LOGICAL_AXIS_ARRAY_1(9999) | ^ In file included from Marlin\src\lcd\menu\menu_advanced.cpp:28: Marlin\src\lcd\menu\../../core/types.h:59: note: macro "LOGICAL_AXIS_ARRAY_1" defined here 59 | #define LOGICAL_AXIS_ARRAY_1(E,V) { LOGICAL_AXIS_LIST_1(E,V) } | Marlin\src\lcd\menu\menu_advanced.cpp:464:35: error: macro "LOGICAL_AXIS_ARRAY_1" requires 2 arguments, but only 1 given 464 | LOGICAL_AXIS_ARRAY_1(99000) | ^ In file included from Marlin\src\lcd\menu\menu_advanced.cpp:28: Marlin\src\lcd\menu\../../core/types.h:59: note: macro "LOGICAL_AXIS_ARRAY_1" defined here Compiling .pio\build\STM32F103RE_creality\src\src\libs\numtostr.cpp.o 59 | #define LOGICAL_AXIS_ARRAY_1(E,V) { LOGICAL_AXIS_LIST_1(E,V) } | Marlin\src\lcd\menu\menu_advanced.cpp: In function 'void menu_advanced_velocity()': Marlin\src\lcd\menu\menu_advanced.cpp:421:9: error: 'LOGICAL_AXIS_ARRAY_1' was not declared in this scope 421 | LOGICAL_AXIS_ARRAY_1(9999) | ^~~~~~~~~~~~~~~~~~~~ Marlin\src\lcd\menu\menu_advanced.cpp: In function 'void menu_advanced_acceleration()': Marlin\src\lcd\menu\menu_advanced.cpp:464:9: error: 'LOGICAL_AXIS_ARRAY_1' was not declared in this scope 464 | LOGICAL_AXIS_ARRAY_1(99000) | ^~~~~~~~~~~~~~~~~~~~ Compiling .pio\build\STM32F103RE_creality\src\src\libs\stopwatch.cpp.o *** [.pio\build\STM32F103RE_creality\src\src\lcd\menu\menu_advanced.cpp.o] Error 1 ====================================================================================== [FAILED] Took 25.71 seconds ====================================================================================== Environment Status Duration -------------------- -------- ------------ STM32F103RE_creality FAILED 00:00:25.709 ================================================================================= 1 failed, 0 succeeded in 00:00:25.709 =================================================================================
I don't understand all these errors related to LOGICAL_AXIS_ARRAY_1( ) since it is part of types.h.
This problem doesn't seem to appear anywhere on the internet...
I fear these errors may result from my VSCode environnement...
May somebody help me on this ?
I attach the modified Marlin files that I'm trying to build.
Thanks in advance,
D3nta1