Welcome! Log In Create A New Profile

Advanced

Problema compilazione MK4Duo 4.3.8

Posted by MarkV92 
Problema compilazione MK4Duo 4.3.8
March 06, 2019 03:52PM
Buonasera a tutti,

sto avendo dei problemi nella compilazione del firmware MK4Duo 4.3.8 che gira su Arduino DUE con RADDS 1.5 e Nextion Display da 4.3".
Premetto subito che la stampante ora ha installato MK4Duo 4.3.6 che si compila senza dare problemi.
Ultimamente, dalla versione 4.3.7 in poi, riscontro il seguente problema in fase di compilazione (utilizzando lo stesso file configuration_overall con cui la 4.3.6 si compilava):

Arduino:1.8.8 (Windows Store 1.8.19.0) (Windows 10), Scheda:"Arduino Due (Programming Port)"

In file included from sketch\src\core\eeprom\../../../src/platform/platform.h:33:0,
                 from sketch\src\core\eeprom\../../../MK4duo.h:111,
                 from sketch\src\core\eeprom\eeprom.cpp:39:
sketch\src\core\eeprom\eeprom.cpp: In static member function 'static void EEPROM:tongue sticking out smileyrint_Settings()':
sketch\src\core\eeprom\eeprom.cpp:1941:27: error: 'class GCodeParser' has no member named 'temp_units_code'
         SERIAL_CHR(parser.temp_units_code);
                           ^
sketch\src\core\eeprom\../../../src/platform/common/communication.h:124:57: note: in definition of macro 'SERIAL_CHR'
 #define SERIAL_CHR(c)                       (Com::write(c))
                                                         ^
sketch\src\core\eeprom\eeprom.cpp:1943:27: error: 'class GCodeParser' has no member named 'temp_units_name'
         SERIAL_PGM(parser.temp_units_name());
                           ^
sketch\src\core\eeprom\../../../src/platform/common/communication.h:118:60: note: in definition of macro 'SERIAL_PGM'
 #define SERIAL_PGM(message)                 (Com::printPGM(message))
                                                            ^
sketch\src\core\eeprom\eeprom.cpp:1939:37: error: 'class GCodeParser' has no member named 'to_temp_units'
         #define TEMP_UNIT(N) parser.to_temp_units(N)
                                     ^
sketch\src\core\eeprom\../../../src/platform/common/communication.h:123:57: note: in definition of macro 'SERIAL_VAL'
 #define SERIAL_VAL(val, ...)                (Com::print(val, ## __VA_ARGS__))
                                                         ^
sketch\src\core\eeprom\eeprom.cpp:2061:9: note: in expansion of macro 'SERIAL_MV'
         SERIAL_MV(" H", TEMP_UNIT(lcdui.preheat_hotend_temp));
         ^
sketch\src\core\eeprom\eeprom.cpp:2061:25: note: in expansion of macro 'TEMP_UNIT'
         SERIAL_MV(" H", TEMP_UNIT(lcdui.preheat_hotend_temp));
                         ^
sketch\src\core\eeprom\eeprom.cpp:1939:37: error: 'class GCodeParser' has no member named 'to_temp_units'
         #define TEMP_UNIT(N) parser.to_temp_units(N)
                                     ^
sketch\src\core\eeprom\../../../src/platform/common/communication.h:123:57: note: in definition of macro 'SERIAL_VAL'
 #define SERIAL_VAL(val, ...)                (Com::print(val, ## __VA_ARGS__))
                                                         ^
sketch\src\core\eeprom\eeprom.cpp:2062:9: note: in expansion of macro 'SERIAL_MV'
         SERIAL_MV(" B", TEMP_UNIT(lcdui.preheat_bed_temp));
         ^
sketch\src\core\eeprom\eeprom.cpp:2062:25: note: in expansion of macro 'TEMP_UNIT'
         SERIAL_MV(" B", TEMP_UNIT(lcdui.preheat_bed_temp));
                         ^
exit status 1
Errore durante la compilazione per la scheda Arduino Due (Programming Port).

il file di configurazione che uso è allegato al post.
Sbaglio io qualcosa? Il file di configurazione è stato fatto tramite il configurtatore online del sito da cui ho preso tutto il firmware per la stampante.
Grazie.
Attachments:
open | download - Configuration_Overall.h (53.3 KB)
Re: Problema compilazione MK4Duo 4.3.8
March 07, 2019 02:51AM
Ho fixato, ma la domanda è come mai hai TEMPERATURE_UNITS_SUPPORT abilitato?
Che usi le temperature in F° ??


COMPRA ITALIANO - sostieni le nostre aziende - sostieni la nostra gente - sostieni il tuo popolo - sosterrai te stesso.
Alberto C. felice possessore di una Kossel K2
My Blog - My Thingiverse
Re: Problema compilazione MK4Duo 4.3.8
March 07, 2019 06:57AM
Devo aver premuto erroneamente la spunta sul configuratore tra un tentativo e l'altro di far funzionare la stampante, lo tolgo.
Colgo l'occasione per ringraziarti del lavoro che stai facendo Alberto.

Edited 1 time(s). Last edit at 03/07/2019 06:57AM by MarkV92.
Sorry, only registered users may post in this forum.

Click here to login