Aller au contenu

GO Print

[Arduino] Marlin 1.1.9 erreur de compilation


Messages recommandés

Bon·jour·soir a tou·te·s,

j'ai un problème au moment de la compilation, mais je ne trouve pas d'infos sur le sujet.

Voici l'erreur: https://mensuel.framapad.org/p/oKVjBlaDCt

Voici ma config: https://git.iglou.eu/adrien/CNC/src/branch/master/ScalarXlLike/Marlin

 

Je continu a chercher dans mon coin et vous informe si je trouve.

Merci de votre aide et votre temps 🙂

Lien vers le commentaire
Partager sur d’autres sites

Dans l'IDE d'Arduino, rubrique 'Préférences', tu as une ligne "Afficher les résultats détaillés pendant", vérifie bien que tu as la case "Compilation" d'active.

A ce moment, en bas de la fenêtre (qu'il faut parfois étirer un peu pour arriver à lire), tu auras les messages d'erreur.

Envoie les 10/15 lignes avant et après l'erreur, ça aidera à trouver ce qui coince 😉 (mais tu trouveras peut-être de toi même une fois l'erreur suffisamment verbeuse)

 

 

Euh... j'avais lu en travers et pas vu que tu avais mis le résultat de compilation dans un framapad 😄

 

Donc, on part sur :

 


/home/adrien/Arduino/libraries/U8glib/src/clib/u8g_rot.c:48:1: warning: initialization from incompatible pointer type
 u8g_dev_t u8g_dev_rot = { u8g_dev_rot_dummy_fn, NULL, NULL };
 ^
/home/adrien/Arduino/libraries/U8glib/src/clib/u8g_rot.c:48:1: warning: (near initialization for 'u8g_dev_rot.dev_fn')
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::codebits'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
/home/adrien/.arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld: Disabling relaxation: it will not work with multiple definitions
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::command_ptr'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::param'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::reset()'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::string_arg'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::command_letter'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::codenum'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::parse(char*)'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::unknown_command_error()'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `parser'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::value_ptr'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::volumetric_enabled'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.h:62:21: warning: type of 'codebits' does not match original declaration
     static uint32_t codebits;       // Parameters pre-scanned
                     ^
sketch/parser.cpp:56:12: warning: type of 'codebits' does not match original declaration
   uint32_t GCodeParser::codebits;  // found bits
            ^
sketch/parser.h:62:21: warning: type of 'codebits' does not match original declaration
     static uint32_t codebits;       // Parameters pre-scanned
                     ^
sketch/gcode.cpp:56:8: note: previously declared here
   byte GCodeParser::codebits[4];   // found bits
        ^
collect2: error: ld returned 1 exit status
exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560

Ça ressemble bien à une mauvaise installation de la librairie comme évoqué par @Djam

 
 
Modifié (le) par .AleX.
Lien vers le commentaire
Partager sur d’autres sites

Une piste de ce coté là (on à pas la finalité, mais ça semble pas débile) http://forum.arduino.cc/index.php?topic=564819.msg3848743#msg3848743

 

En gros, si tu as mis à jour ton IDE Arduino, il peut y avoir des 'bug'... donc il faudrait virer le contenu (ou renommer le répertoire)  /home/adrien/.arduino15 (et peut-être refaire l'installation de la lib)

Lien vers le commentaire
Partager sur d’autres sites

Beuh nan il est toujours là le Mr 😃 ! Il ce couche juste tôt !

C'est une toute nouvelle installation donc normalement pas de problèmes ... Mais je vais la refaire. Je vous dis ça !

--- EDIT ---

Voila j'ai remove ~/.arduino* et ~/Arduino puis réinstaller les lib et boards, donc tous est propre !

Les options de compilation ont été modifiées, tout sera recompilé
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::codebits'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
/home/adrien/.arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld: Disabling relaxation: it will not work with multiple definitions
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::command_ptr'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::param'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::reset()'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::string_arg'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::command_letter'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::codenum'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::parse(char*)'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::unknown_command_error()'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `parser'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::value_ptr'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.cpp.o (symbol from plugin): In function `GCodeParser::codebits':
(.text+0x0): multiple definition of `GCodeParser::volumetric_enabled'
sketch/gcode.cpp.o (symbol from plugin):(.text+0x0): first defined here
sketch/parser.h:62:21: warning: type of 'codebits' does not match original declaration
     static uint32_t codebits;       // Parameters pre-scanned
                     ^
sketch/parser.cpp:56:12: warning: type of 'codebits' does not match original declaration
   uint32_t GCodeParser::codebits;  // found bits
            ^
sketch/parser.h:62:21: warning: type of 'codebits' does not match original declaration
     static uint32_t codebits;       // Parameters pre-scanned
                     ^
sketch/gcode.cpp:56:8: note: previously declared here
   byte GCodeParser::codebits[4];   // found bits
        ^
collect2: error: ld returned 1 exit status
exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560

--- EDIT ---

Le problème viens de ma configuration ...

j'ai compilé sans problèmes le truc de base même en activant mon écran ...

Modifié (le) par norihiori
Lien vers le commentaire
Partager sur d’autres sites

J'ai repris un Marlin propre pour faire un git diff et voir ce qui change avec ma config,

je vous post ça si vous voulez regarder avec moi, j'ai pris la coloration JS, c'est celle qui fait le moins mal pour regarder ce fichiers

les - c'est ma config

les + c'est la config de base

diff --git a/ScalarXlLike/Marlin/Configuration.h b/ScalarXlLike/Marlin/Configuration.h
index 2558673..9d9e86c 100644
--- a/ScalarXlLike/Marlin/Configuration.h
+++ b/ScalarXlLike/Marlin/Configuration.h
@@ -91,7 +91,7 @@
  */
 
 // Enable to show the bitmap in Marlin/_Bootscreen.h on startup.
-#define SHOW_CUSTOM_BOOTSCREEN
+//#define SHOW_CUSTOM_BOOTSCREEN
 
 // Enable to show the bitmap in Marlin/_Statusscreen.h on the status screen.
 //#define CUSTOM_STATUS_SCREEN_IMAGE
@@ -116,7 +116,7 @@
  *
  * :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
  */
-#define BAUDRATE 115200
+#define BAUDRATE 250000
 
 // Enable the Bluetooth serial interface on AT90USB devices
 //#define BLUETOOTH
@@ -129,7 +129,7 @@
 
 // Optional custom name for your RepStrap or other custom machine
 // Displayed in the LCD "Ready" message
-#define CUSTOM_MACHINE_NAME "FALLOUT Printer"
+//#define CUSTOM_MACHINE_NAME "3D Printer"
 
 // Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)
 // You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)
@@ -142,7 +142,7 @@
 #define EXTRUDERS 1
 
 // Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
 
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
 //#define SINGLENOZZLE
@@ -231,12 +231,12 @@
  *
  * :{ 0:'No power switch', 1:'ATX', 2:'X-Box 360' }
  */
-#define POWER_SUPPLY 1
+#define POWER_SUPPLY 0
 
 #if POWER_SUPPLY > 0
   // Enable this option to leave the PSU off at startup.
   // Power to steppers and heaters will need to be turned on with M80.
-  #define PS_DEFAULT_OFF
+  //#define PS_DEFAULT_OFF
 
   //#define AUTO_POWER_CONTROL        // Enable automatic control of the PS_ON pin
   #if ENABLED(AUTO_POWER_CONTROL)
@@ -303,7 +303,7 @@
  *
  * :{ '0': "Not used", '1':"100k / 4.7k - EPCOS", '2':"200k / 4.7k - ATC Semitec 204GT-2", '3':"Mendel-parts / 4.7k", '4':"10k !! do not use for a hotend. Bad resolution at high temp. !!", '5':"100K / 4.7k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '501':"100K Zonestar (Tronxy X3A)", '6':"100k / 4.7k EPCOS - Not as accurate as Table 1", '7':"100k / 4.7k Honeywell 135-104LAG-J01", '8':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT", '9':"100k / 4.7k GE Sensing AL03006-58.2K-97-G1", '10':"100k / 4.7k RS 198-961", '11':"100k / 4.7k beta 3950 1%", '12':"100k / 4.7k 0603 SMD Vishay NTCS0603E3104FXT (calibrated for Makibox hot bed)", '13':"100k Hisens 3950  1% up to 300°C for hotend 'Simple ONE ' & hotend 'All In ONE'", '20':"PT100 (Ultimainboard V2.x)", '51':"100k / 1k - EPCOS", '52':"200k / 1k - ATC Semitec 204GT-2", '55':"100k / 1k - ATC Semitec 104GT-2 (Used in ParCan & J-Head)", '60':"100k Maker's Tool Works Kapton Bed Thermistor beta=3950", '66':"Dyze Design 4.7M High Temperature thermistor", '70':"the 100K thermistor found in the bq Hephestos 2", '71':"100k / 4.7k Honeywell 135-104LAF-J01", '147':"Pt100 / 4.7k", '1047':"Pt1000 / 4.7k", '110':"Pt100 / 1k (non-standard)", '1010':"Pt1000 / 1k (non standard)", '-4':"Thermocouple + AD8495", '-3':"Thermocouple + MAX31855 (only for sensor 0)", '-2':"Thermocouple + MAX6675 (only for sensor 0)", '-1':"Thermocouple + AD595",'998':"Dummy 1", '999':"Dummy 2" }
  */
-#define TEMP_SENSOR_0 13
+#define TEMP_SENSOR_0 1
 #define TEMP_SENSOR_1 0
 #define TEMP_SENSOR_2 0
 #define TEMP_SENSOR_3 0
@@ -511,8 +511,8 @@
 #define ENDSTOPPULLUPS
 #if DISABLED(ENDSTOPPULLUPS)
   // Disable ENDSTOPPULLUPS to set pullups individually
-  #define ENDSTOPPULLUP_XMAX
-  #define ENDSTOPPULLUP_YMAX
+  //#define ENDSTOPPULLUP_XMAX
+  //#define ENDSTOPPULLUP_YMAX
   //#define ENDSTOPPULLUP_ZMAX
   //#define ENDSTOPPULLUP_XMIN
   //#define ENDSTOPPULLUP_YMIN
@@ -521,8 +521,8 @@
 #endif
 
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
-#define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
-#define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop.
+#define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
+#define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
 #define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
 #define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
 #define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.
@@ -543,13 +543,13 @@
  *          TMC5130, TMC5130_STANDALONE
  * :['A4988', 'DRV8825', 'LV8729', 'L6470', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE']
  */
-#define X_DRIVER_TYPE  TMC2130
-#define Y_DRIVER_TYPE  TMC2130
-#define Z_DRIVER_TYPE  TMC2130
+//#define X_DRIVER_TYPE  A4988
+//#define Y_DRIVER_TYPE  A4988
+//#define Z_DRIVER_TYPE  A4988
 //#define X2_DRIVER_TYPE A4988
 //#define Y2_DRIVER_TYPE A4988
 //#define Z2_DRIVER_TYPE A4988
-#define E0_DRIVER_TYPE TMC2130
+//#define E0_DRIVER_TYPE A4988
 //#define E1_DRIVER_TYPE A4988
 //#define E2_DRIVER_TYPE A4988
 //#define E3_DRIVER_TYPE A4988
@@ -601,14 +601,14 @@
  * Override with M92
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
  */
-#define DEFAULT_AXIS_STEPS_PER_UNIT   { 100.417637, 200.236124, 1580.885625, 430.593992 }
+#define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 4000, 500 }
 
 /**
  * Default Max Feed Rate (mm/s)
  * Override with M203
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
  */
-#define DEFAULT_MAX_FEEDRATE          { 150, 150, 5, 25 }
+#define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
 
 /**
  * Default Max Acceleration (change/s) change = mm/s
@@ -616,7 +616,7 @@
  * Override with M201
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
  */
-#define DEFAULT_MAX_ACCELERATION      { 500, 100, 50, 10000 }
+#define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
 
 /**
  * Default Acceleration (change/s) change = mm/s
@@ -626,9 +626,9 @@
  *   M204 R    Retract Acceleration
  *   M204 T    Travel Acceleration
  */
-#define DEFAULT_ACCELERATION          1000    // X, Y, Z and E acceleration for printing moves
+#define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration for printing moves
 #define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration for retracts
-#define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
+#define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
 
 /**
  * Default Jerk (mm/s)
@@ -769,8 +769,8 @@
  *      O-- FRONT --+
  *    (0,0)
  */
-#define X_PROBE_OFFSET_FROM_EXTRUDER 0  // X offset: -left  +right  [of the nozzle]
-#define Y_PROBE_OFFSET_FROM_EXTRUDER 0  // Y offset: -front +behind [the nozzle]
+#define X_PROBE_OFFSET_FROM_EXTRUDER 10  // X offset: -left  +right  [of the nozzle]
+#define Y_PROBE_OFFSET_FROM_EXTRUDER 10  // Y offset: -front +behind [the nozzle]
 #define Z_PROBE_OFFSET_FROM_EXTRUDER 0   // Z offset: -below +above  [the nozzle]
 
 // Certain types of probes need to stay away from edges
@@ -1216,8 +1216,8 @@
 // M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
 // M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
 //
-#define EEPROM_SETTINGS // Enable for M500 and M501 commands
-#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
+//#define EEPROM_SETTINGS // Enable for M500 and M501 commands
+//#define DISABLE_M503    // Saves ~2700 bytes of PROGMEM. Disable for release!
 #define EEPROM_CHITCHAT   // Give feedback on EEPROM commands. Disable to save PROGMEM.
 
 //
@@ -1386,7 +1386,7 @@
  *
  * :{ 'en':'English', 'an':'Aragonese', 'bg':'Bulgarian', 'ca':'Catalan', 'cn':'Chinese', 'cz':'Czech', 'cz_utf8':'Czech (UTF8)', 'de':'German', 'el':'Greek', 'el-gr':'Greek (Greece)', 'es':'Spanish', 'es_utf8':'Spanish (UTF8)', 'eu':'Basque-Euskera', 'fi':'Finnish', 'fr':'French', 'fr_utf8':'French (UTF8)', 'gl':'Galician', 'hr':'Croatian', 'it':'Italian', 'kana':'Japanese', 'kana_utf8':'Japanese (UTF8)', 'nl':'Dutch', 'pl':'Polish', 'pt':'Portuguese', 'pt-br':'Portuguese (Brazilian)', 'pt-br_utf8':'Portuguese (Brazilian UTF8)', 'pt_utf8':'Portuguese (UTF8)', 'ru':'Russian', 'sk_utf8':'Slovak (UTF8)', 'tr':'Turkish', 'uk':'Ukrainian', 'zh_CN':'Chinese (Simplified)', 'zh_TW':'Chinese (Taiwan)', 'test':'TEST' }
  */
-#define LCD_LANGUAGE fr_utf8
+#define LCD_LANGUAGE en
 
 /**
  * LCD Character Set
@@ -1419,7 +1419,7 @@
  * you must uncomment the following option or it won't work.
  *
  */
-#define SDSUPPORT
+//#define SDSUPPORT
 
 /**
  * SD CARD: SPI SPEED
@@ -1476,7 +1476,7 @@
 //
 //  Set this option if CLOCKWISE causes values to DECREASE
 //*/
-#define REVERSE_ENCODER_DIRECTION
+//#define REVERSE_ENCODER_DIRECTION
 
 //
 // This option reverses the encoder direction for navigating LCD menus.
@@ -1491,7 +1491,7 @@
 //
 // Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
 //
-#define INDIVIDUAL_AXIS_HOMING_MENU
+//#define INDIVIDUAL_AXIS_HOMING_MENU
 
 //
 // SPEAKER/BUZZER
@@ -1499,7 +1499,7 @@
 // If you have a speaker that can produce tones, enable it here.
 // By default Marlin assumes you have a buzzer with a fixed frequency.
 //
-#define SPEAKER
+//#define SPEAKER
 
 //
 // The duration and frequency for the UI feedback sound.
@@ -1508,8 +1508,8 @@
 // Note: Test audio output with the G-Code:
 //  M300 S<frequency Hz> P<duration ms>
 //
-#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 33
-#define LCD_FEEDBACK_FREQUENCY_HZ 639
+//#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 2
+//#define LCD_FEEDBACK_FREQUENCY_HZ 5000
 
 //=============================================================================
 //======================== LCD / Controller Selection =========================
diff --git a/ScalarXlLike/Marlin/Configuration_adv.h b/ScalarXlLike/Marlin/Configuration_adv.h
index 256f4f1..dd71d23 100644
--- a/ScalarXlLike/Marlin/Configuration_adv.h
+++ b/ScalarXlLike/Marlin/Configuration_adv.h
@@ -1096,16 +1096,16 @@
 #if HAS_TRINAMIC
 
   #define R_SENSE           0.11  // R_sense resistor for SilentStepStick2130
-  #define HOLD_MULTIPLIER    0.2  // Scales down the holding current from run current
+  #define HOLD_MULTIPLIER    0.5  // Scales down the holding current from run current
   #define INTERPOLATE       true  // Interpolate X/Y/Z_MICROSTEPS to 256
 
   #define X_CURRENT          800  // rms current in mA. Multiply by 1.41 for peak current.
   #define X_MICROSTEPS        16  // 0..256
 
-  #define Y_CURRENT         1200
+  #define Y_CURRENT          800
   #define Y_MICROSTEPS        16
 
-  #define Z_CURRENT         1200
+  #define Z_CURRENT          800
   #define Z_MICROSTEPS        16
 
   #define X2_CURRENT         800
@@ -1159,7 +1159,7 @@
    * M912 - Clear stepper driver overtemperature pre-warn condition flag.
    * M122 S0/1 - Report driver parameters (Requires TMC_DEBUG)
    */
-  #define MONITOR_DRIVER_STATUS
+  //#define MONITOR_DRIVER_STATUS
 
   #if ENABLED(MONITOR_DRIVER_STATUS)
     #define CURRENT_STEP_DOWN     50  // [mA]
@@ -1173,7 +1173,7 @@
    * STEALTHCHOP needs to be enabled.
    * M913 X/Y/Z/E to live tune the setting
    */
-  #define HYBRID_THRESHOLD
+  //#define HYBRID_THRESHOLD
 
   #define X_HYBRID_THRESHOLD     100  // [mm/s]
   #define X2_HYBRID_THRESHOLD    100
@@ -1199,19 +1199,19 @@
    * It is advised to set X/Y/Z_HOME_BUMP_MM to 0.
    * M914 X/Y/Z to live tune the setting
    */
-  #define SENSORLESS_HOMING // TMC2130 only
+  //#define SENSORLESS_HOMING // TMC2130 only
 
   #if ENABLED(SENSORLESS_HOMING)
     #define X_HOMING_SENSITIVITY  8
     #define Y_HOMING_SENSITIVITY  8
-    //#define Z_HOMING_SENSITIVITY  8
+    #define Z_HOMING_SENSITIVITY  8
   #endif
 
   /**
    * Enable M122 debugging command for TMC stepper drivers.
    * M122 S0/1 will enable continous reporting.
    */
-  #define TMC_DEBUG
+  //#define TMC_DEBUG
 
   /**
    * M915 Z Axis Calibration*/
diff --git a/ScalarXlLike/Marlin/pins_RAMPS.h b/ScalarXlLike/Marlin/pins_RAMPS.h
index 6bae994..20d1cba 100644
--- a/ScalarXlLike/Marlin/pins_RAMPS.h
+++ b/ScalarXlLike/Marlin/pins_RAMPS.h
@@ -92,14 +92,14 @@
 #define X_DIR_PIN          55
 #define X_ENABLE_PIN       38
 #ifndef X_CS_PIN
-  #define X_CS_PIN         63//53
+  #define X_CS_PIN         53
 #endif
 
 #define Y_STEP_PIN         60
 #define Y_DIR_PIN          61
 #define Y_ENABLE_PIN       56
 #ifndef Y_CS_PIN
-  #define Y_CS_PIN         59//49
+  #define Y_CS_PIN         49
 #endif
 
 #define Z_STEP_PIN         46
Lien vers le commentaire
Partager sur d’autres sites

--- Pour les modos ---

C'est chiant de pas pouvoir editer son premier message et le titre,

je peux pas indiquer résolu et placer la solution en haut de mon 1er message ...

ça aide pas vraiment les suivants 🤔

--- Fin pour les modos ---

 

Le problème est résolu, j'avais fais un cp -r pour mettre a jour Marlin, sauf que :

-    supprimé :        gcode.cpp
-    supprimé :        gcode.h
+    modifié :         pins_5DPRINT.h
-    supprimé :        pins_MKS_13.h
+    modifié :         pins_TEENSYLU.h
-    supprimé :        tmc_macros.h

Donc j'avais des fichiers en trop pendant la compil ... CQFD

Résolu en important ma config directement dans le nouveau marlin, merci aux personnes qui ont cherché avec moi 🙂

 

A bientôt !

  • Merci ! 1
Lien vers le commentaire
Partager sur d’autres sites

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 compte

Se connecter

Vous avez déjà un compte ? Connectez-vous ici.

Connectez-vous maintenant
×
×
  • Créer...