JHX Posté(e) Décembre 31, 2022 Posté(e) Décembre 31, 2022 (modifié) Bonjour, Je prépare une compilation de Marlin 2 pour installer une MKS EAGLE sur ma CR10s J'ai récupérer sur le GitHub de makerbase le marlin préconfigurer et je l'adapte a ma CR10s mais j'ai une erreur de compilation et je ne comprends pas la raison, si vous avez une piste a me donner : Citation Warning! Ignore unknown configuration option `monitor_flags` in section [env] Warning! `src_filter` configuration option in section [env:include_tree] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:DUE] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_build_flags` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_flags` instead Warning! `src_filter` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_build_flags` configuration option in section [env:simulator_windows] is deprecated and will be removed in the next release! Please use `build_src_flags` instead Warning! `src_filter` configuration option in section [env:SAMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:STM32F103CB_malyan] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Warning! `src_filter` configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please use `build_src_filter` instead Processing mks_eagle_usb_flash_drive (platform: ststm32@~12.1; board: marlin_STM32F407VGT6_CCM; framework: arduino) -------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/marlin_STM32F407VGT6_CCM.html PLATFORM: ST STM32 (12.1.1) > STM32F407VG (128k RAM, 64k CCM RAM, 1024k Flash HARDWARE: STM32F407VGT6 168MHz, 128KB RAM, 1MB Flash DEBUG: Current (jlink) External (jlink, stlink) PACKAGES: - framework-arduinoststm32 @ 0.0.0 - framework-cmsis @ 2.50501.200527 (5.5.1) - toolchain-gccarmnoneeabi @ 1.90201.191206 (9.2.1) Converting Marlin.ino LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 13 compatible libraries Scanning dependencies... Dependency Graph |-- lvgl @ 6.1.1 |-- qr_encode @ 0.0.0+20201117144502 |-- TMCStepper @ 0.7.3 | |-- SoftwareSerial @ 1.0 | |-- SPI @ 1.0 |-- SPI @ 1.0 |-- EEPROM @ 2.0.1 |-- SoftwareSerial @ 1.0 |-- IWatchdog @ 1.0.0 |-- Wire @ 1.0 |-- Servo @ 1.1.2 Building in release mode Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\MarlinCore.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\control\M999.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\control\T.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\eeprom\M500-M504.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\feature\digipot\M907-M910.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\feature\powerloss\M1000.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\feature\powerloss\M413.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\feature\trinamic\M122.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\feature\trinamic\M569.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\feature\trinamic\M906.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\feature\trinamic\M911-M914.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\gcode.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\gcode_d.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\geometry\G92.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\geometry\M206_M428.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\host\M110.cpp.o Compiling .pio\build\mks_eagle_usb_flash_drive\src\src\gcode\host\M113.cpp.o In file included from Marlin\src\inc/MarlinConfigPre.h:37, from Marlin\src\inc/MarlinConfig.h:28, from Marlin\src\MarlinCore.h:24, from Marlin\src\MarlinCore.cpp:31: Marlin\src\MarlinCore.cpp: In function 'void manage_inactivity(bool)': Marlin\src\MarlinCore.cpp:662:1: error: invalid conversion from 'const char*' to 'uint8_t' {aka 'unsigned char'} [-fpermissive] 662 | REPEAT(E_STEPPERS, _CASE_EN); | ^ | | | const char* Marlin\src\inc/../core/macros.h:592:24: note: in definition of macro 'EVAL1' 592 | #define EVAL1(V...) V | ^ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:24: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:30: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:589:24: note: in expansion of macro 'EVAL4' 589 | #define EVAL8(V...) EVAL4(EVAL4(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:24: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:30: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:589:30: note: in expansion of macro 'EVAL4' 589 | #define EVAL8(V...) EVAL4(EVAL4(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:588:24: note: in expansion of macro 'EVAL8' 588 | #define EVAL16(V...) EVAL8(EVAL8(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:24: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:30: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:589:24: note: in expansion of macro 'EVAL4' 589 | #define EVAL8(V...) EVAL4(EVAL4(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:24: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:30: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:589:30: note: in expansion of macro 'EVAL4' 589 | #define EVAL8(V...) EVAL4(EVAL4(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:588:30: note: in expansion of macro 'EVAL8' 588 | #define EVAL16(V...) EVAL8(EVAL8(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:581:24: note: in expansion of macro 'EVAL16' 581 | #define EVAL(V...) EVAL16(V) | ^~~~~~ Marlin\src\inc/../core/macros.h:639:33: note: in expansion of macro 'EVAL' 639 | #define REPEAT_S(S,N,OP) EVAL(_REPEAT(S,SUB##S(N),OP)) | ^~~~ Marlin\src\inc/../core/macros.h:205:29: note: in expansion of macro 'THIRD' 205 | #define ___TERN(P,V...) THIRD(P,V) // If first argument has a comma, A. Else B. | ^~~~~ Marlin\src\inc/../core/macros.h:205:37: note: in expansion of macro '_OPTARG' 205 | #define ___TERN(P,V...) THIRD(P,V) // If first argument has a comma, A. Else B. | ^ Marlin\src\inc/../core/macros.h:204:29: note: in expansion of macro '___TERN' 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1' | ^~~~~~~ Marlin\src\inc/../core/macros.h:203:29: note: in expansion of macro '__TERN' 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1' | ^~~~~~ Marlin\src\inc/../core/macros.h:202:29: note: in expansion of macro '_TERN' 202 | #define TERN_(O,A) _TERN(_ENA_1(O),,A) // OPTION ? 'A' : '<nul>' | ^~~~~ Marlin\src\inc/../core/macros.h:208:29: note: in expansion of macro 'TERN_' 208 | #define OPTARG(O,A...) TERN_(O,DEFER4(_OPTARG)(A)) | ^~~~~ Marlin\src\inc/Conditionals_LCD.h:610:21: note: in expansion of macro 'OPTARG' 610 | #define E_OPTARG(N) OPTARG(HAS_MULTI_EXTRUDER, N) | ^~~~~~ Marlin\src\module/stepper.h:619:55: note: in expansion of macro 'E_OPTARG' 619 | #define AXIS_IS_ENABLED(N,V...) axis_is_enabled(N E_OPTARG(#V)) | ^~~~~~~~ Marlin\src\MarlinCore.cpp:661:59: note: in expansion of macro 'AXIS_IS_ENABLED' 661 | #define _CASE_EN(N) case N: oldstatus = stepper.AXIS_IS_ENABLED(E_AXIS, N); stepper.ENABLE_EXTRUDER(N); break; | ^~~~~~~~~~~~~~~ Marlin\src\inc/../core/macros.h:624:3: note: in expansion of macro '_CASE_EN' 624 | _RPT_OP(_RPT_I) \ | ^~~~~~~ Marlin\src\inc/../core/macros.h:639:38: note: in expansion of macro '_REPEAT' 639 | #define REPEAT_S(S,N,OP) EVAL(_REPEAT(S,SUB##S(N),OP)) | ^~~~~~~ Marlin\src\inc/../core/macros.h:640:33: note: in expansion of macro 'REPEAT_S' 640 | #define REPEAT(N,OP) REPEAT_S(0,N,OP) | ^~~~~~~~ Marlin\src\MarlinCore.cpp:662:11: note: in expansion of macro 'REPEAT' 662 | REPEAT(E_STEPPERS, _CASE_EN); | ^~~~~~ Marlin\src\module/stepper.h:589:83: note: initializing argument 2 of 'static bool Stepper::axis_is_enabled(AxisEnum, uint8_t)' 589 | static inline bool axis_is_enabled(const AxisEnum axis E_OPTARG(const uint8_t eindex=0)) { | ~~~~~~~~~~~~~~^~~~~~~~ Marlin\src\inc/../core/macros.h:571:26: note: in definition of macro 'THIRD' 571 | #define THIRD(a,b,c,...) c | ^ Marlin\src\inc/../core/macros.h:205:37: note: in expansion of macro '_OPTARG' 205 | #define ___TERN(P,V...) THIRD(P,V) // If first argument has a comma, A. Else B. | ^ Marlin\src\inc/../core/macros.h:204:29: note: in expansion of macro '___TERN' 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1' | ^~~~~~~ Marlin\src\inc/../core/macros.h:203:29: note: in expansion of macro '__TERN' 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1' | ^~~~~~ Marlin\src\inc/../core/macros.h:202:29: note: in expansion of macro '_TERN' 202 | #define TERN_(O,A) _TERN(_ENA_1(O),,A) // OPTION ? 'A' : '<nul>' | ^~~~~ Marlin\src\inc/../core/macros.h:208:29: note: in expansion of macro 'TERN_' 208 | #define OPTARG(O,A...) TERN_(O,DEFER4(_OPTARG)(A)) | ^~~~~ Marlin\src\inc/Conditionals_LCD.h:610:21: note: in expansion of macro 'OPTARG' 610 | #define E_OPTARG(N) OPTARG(HAS_MULTI_EXTRUDER, N) | ^~~~~~ Marlin\src\module/stepper.h:589:60: note: in expansion of macro 'E_OPTARG' 589 | static inline bool axis_is_enabled(const AxisEnum axis E_OPTARG(const uint8_t eindex=0)) { | ^~~~~~~~ Marlin\src\MarlinCore.cpp:662:1: error: invalid conversion from 'const char*' to 'uint8_t' {aka 'unsigned char'} [-fpermissive] 662 | REPEAT(E_STEPPERS, _CASE_EN); | ^ | | | const char* Marlin\src\inc/../core/macros.h:592:24: note: in definition of macro 'EVAL1' 592 | #define EVAL1(V...) V | ^ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:24: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:30: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:589:24: note: in expansion of macro 'EVAL4' 589 | #define EVAL8(V...) EVAL4(EVAL4(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:24: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:30: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:589:30: note: in expansion of macro 'EVAL4' 589 | #define EVAL8(V...) EVAL4(EVAL4(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:588:24: note: in expansion of macro 'EVAL8' 588 | #define EVAL16(V...) EVAL8(EVAL8(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:24: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:30: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:589:24: note: in expansion of macro 'EVAL4' 589 | #define EVAL8(V...) EVAL4(EVAL4(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:24: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:24: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:591:30: note: in expansion of macro 'EVAL1' 591 | #define EVAL2(V...) EVAL1(EVAL1(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:590:30: note: in expansion of macro 'EVAL2' 590 | #define EVAL4(V...) EVAL2(EVAL2(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:589:30: note: in expansion of macro 'EVAL4' 589 | #define EVAL8(V...) EVAL4(EVAL4(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:588:30: note: in expansion of macro 'EVAL8' 588 | #define EVAL16(V...) EVAL8(EVAL8(V)) | ^~~~~ Marlin\src\inc/../core/macros.h:581:24: note: in expansion of macro 'EVAL16' 581 | #define EVAL(V...) EVAL16(V) | ^~~~~~ Marlin\src\inc/../core/macros.h:205:29: note: in expansion of macro 'THIRD' 205 | #define ___TERN(P,V...) THIRD(P,V) // If first argument has a comma, A. Else B. | ^~~~~ Marlin\src\inc/../core/macros.h:205:37: note: in expansion of macro '_OPTARG' 205 | #define ___TERN(P,V...) THIRD(P,V) // If first argument has a comma, A. Else B. | ^ Marlin\src\inc/../core/macros.h:204:29: note: in expansion of macro '___TERN' 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1' | ^~~~~~~ Marlin\src\inc/../core/macros.h:203:29: note: in expansion of macro '__TERN' 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1' | ^~~~~~ Marlin\src\inc/../core/macros.h:202:29: note: in expansion of macro '_TERN' 202 | #define TERN_(O,A) _TERN(_ENA_1(O),,A) // OPTION ? 'A' : '<nul>' | ^~~~~ Marlin\src\inc/../core/macros.h:208:29: note: in expansion of macro 'TERN_' 208 | #define OPTARG(O,A...) TERN_(O,DEFER4(_OPTARG)(A)) | ^~~~~ Marlin\src\inc/Conditionals_LCD.h:610:21: note: in expansion of macro 'OPTARG' 610 | #define E_OPTARG(N) OPTARG(HAS_MULTI_EXTRUDER, N) | ^~~~~~ Marlin\src\module/stepper.h:619:55: note: in expansion of macro 'E_OPTARG' 619 | #define AXIS_IS_ENABLED(N,V...) axis_is_enabled(N E_OPTARG(#V)) | ^~~~~~~~ Marlin\src\MarlinCore.cpp:661:59: note: in expansion of macro 'AXIS_IS_ENABLED' 661 | #define _CASE_EN(N) case N: oldstatus = stepper.AXIS_IS_ENABLED(E_AXIS, N); stepper.ENABLE_EXTRUDER(N); break; | ^~~~~~~~~~~~~~~ Marlin\src\inc/../core/macros.h:624:3: note: in expansion of macro '_CASE_EN' 624 | _RPT_OP(_RPT_I) \ | ^~~~~~~ Marlin\src\inc/../core/macros.h:628:20: note: in expansion of macro '_REPEAT' 628 | #define __REPEAT() _REPEAT | ^~~~~~~ Marlin\src\inc/../core/macros.h:639:33: note: in expansion of macro 'EVAL' 639 | #define REPEAT_S(S,N,OP) EVAL(_REPEAT(S,SUB##S(N),OP)) | ^~~~ Marlin\src\inc/../core/macros.h:184:22: note: in expansion of macro '_IF_1' 184 | #define _CAT(a,V...) a##V | ^ Marlin\src\inc/../core/macros.h:639:38: note: in expansion of macro '_REPEAT' 639 | #define REPEAT_S(S,N,OP) EVAL(_REPEAT(S,SUB##S(N),OP)) | ^~~~~~~ Marlin\src\inc/../core/macros.h:640:33: note: in expansion of macro 'REPEAT_S' 640 | #define REPEAT(N,OP) REPEAT_S(0,N,OP) | ^~~~~~~~ Marlin\src\MarlinCore.cpp:662:11: note: in expansion of macro 'REPEAT' 662 | REPEAT(E_STEPPERS, _CASE_EN); | ^~~~~~ Marlin\src\module/stepper.h:589:83: note: initializing argument 2 of 'static bool Stepper::axis_is_enabled(AxisEnum, uint8_t)' 589 | static inline bool axis_is_enabled(const AxisEnum axis E_OPTARG(const uint8_t eindex=0)) { | ~~~~~~~~~~~~~~^~~~~~~~ Marlin\src\inc/../core/macros.h:571:26: note: in definition of macro 'THIRD' 571 | #define THIRD(a,b,c,...) c | ^ Marlin\src\inc/../core/macros.h:205:37: note: in expansion of macro '_OPTARG' 205 | #define ___TERN(P,V...) THIRD(P,V) // If first argument has a comma, A. Else B. | ^ Marlin\src\inc/../core/macros.h:204:29: note: in expansion of macro '___TERN' 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1' | ^~~~~~~ Marlin\src\inc/../core/macros.h:203:29: note: in expansion of macro '__TERN' 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1' | ^~~~~~ Marlin\src\inc/../core/macros.h:202:29: note: in expansion of macro '_TERN' 202 | #define TERN_(O,A) _TERN(_ENA_1(O),,A) // OPTION ? 'A' : '<nul>' | ^~~~~ Marlin\src\inc/../core/macros.h:208:29: note: in expansion of macro 'TERN_' 208 | #define OPTARG(O,A...) TERN_(O,DEFER4(_OPTARG)(A)) | ^~~~~ Marlin\src\inc/Conditionals_LCD.h:610:21: note: in expansion of macro 'OPTARG' 610 | #define E_OPTARG(N) OPTARG(HAS_MULTI_EXTRUDER, N) | ^~~~~~ Marlin\src\module/stepper.h:589:60: note: in expansion of macro 'E_OPTARG' 589 | static inline bool axis_is_enabled(const AxisEnum axis E_OPTARG(const uint8_t eindex=0)) { | ^~~~~~~~ *** [.pio\build\mks_eagle_usb_flash_drive\src\src\MarlinCore.cpp.o] Error 1 Si j'ai bien compris l'erreur me renvoi ça dans marlincore.ccp : Citation [{ "resource": "/e:/Mks-Robin-Nano-Marlin2.0-Firmware-master/Marlin/src/MarlinCore.cpp", "owner": "cpp", "severity": 8, "message": "invalid conversion from 'const char*' to 'uint8_t' {aka 'unsigned char'} [-fpermissive]", "startLineNumber": 662, "startColumn": 1, "endLineNumber": 662, "endColumn": 1 }] Citation #else // !SWITCHING_EXTRUDER bool oldstatus; switch (active_extruder) { default: #define _CASE_EN(N) case N: oldstatus = stepper.AXIS_IS_ENABLED(E_AXIS, N); stepper.ENABLE_EXTRUDER(N); break; REPEAT(E_STEPPERS, _CASE_EN); } #endif Modifié (le) Décembre 31, 2022 par fran6p Modération: «blocs» de texte déplacé dans la balise prévue pour
pommeverte Posté(e) Janvier 1, 2023 Posté(e) Janvier 1, 2023 Salut, Je te conseille de partir sur une version stable de marlin et non la version bugfix proposée par MKS. Dans ce sujet, tu trouveras les fichiers de config pour une configuration similaire à la tienne (carte MKS eagle mais écran probablement différent,...) qui se basent sur Marlin V2.1.1.
JHX Posté(e) Janvier 1, 2023 Auteur Posté(e) Janvier 1, 2023 Ok merci, je reprends tout à zéro, si ça marche pas je vais tenter klipper, mais j’ai l impression qu’il faut tout réapprendre En attendant je vous souhaite une bonne et heureuse nouvelle année
JHX Posté(e) Janvier 8, 2023 Auteur Posté(e) Janvier 8, 2023 Juste pour confirmer que le problème viens bien de la version de Marlin proposer par MKS, plus de soucis de compilation ! Mais du coup je teste en parallèle klipper Je me ferais plus avoir ! Merci
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant