Металл2024 Реклама
Метобр2024 Реклама

Нужна помощь Marlin 2

Mazeldorff
Идет загрузка
Загрузка
01.05.2019
1540
12
Вопросы и ответы
Не компилируется прошивка Marlin 2 для arduino Due и ruramps если активировать нужную мне строку , а точнее #define HAVE_TMC2130 вот с такой ошибкой

In file included from sketchsrcmodule../inc/MarlinConfig.h:45:0,

from sketchsrcmoduleconfiguration_store.h:26,

from sketchsrcmoduleconfiguration_store.cpp:47:

sketchsrcmoduleconfiguration_store.cpp: In function 'void say_M906()':

sketchsrcmoduleconfiguration_store.cpp:1899:52: error: 'port' was not declared in this scope

void say_M906(PORTARG_SOLO) { SERIAL_ECHOPGM_P(port, ' M906 '); }

^

sketchsrcmodule../inc/../core/serial.h:81:69: note: in definition of macro 'SERIAL_PROTOCOLPGM_P'

#define SERIAL_PROTOCOLPGM_P(p,x) (serialprintPGM_P(p,PSTR(x)))

^

sketchsrcmoduleconfiguration_store.cpp:1899:35: note: in expansion of macro 'SERIAL_ECHOPGM_P'

void say_M906(PORTARG_SOLO) { SERIAL_ECHOPGM_P(port, ' M906 '); }

^

sketchsrcmoduleconfiguration_store.cpp: In function 'void say_M913()':

sketchsrcmoduleconfiguration_store.cpp:1901:54: error: 'port' was not declared in this scope

void say_M913(PORTARG_SOLO) { SERIAL_ECHOPGM_P(port, ' M913 '); }

^

sketchsrcmodule../inc/../core/serial.h:81:69: note: in definition of macro 'SERIAL_PROTOCOLPGM_P'

#define SERIAL_PROTOCOLPGM_P(p,x) (serialprintPGM_P(p,PSTR(x)))

^

sketchsrcmoduleconfiguration_store.cpp:1901:37: note: in expansion of macro 'SERIAL_ECHOPGM_P'

void say_M913(PORTARG_SOLO) { SERIAL_ECHOPGM_P(port, ' M913 '); }

^

sketchsrcmoduleconfiguration_store.cpp: In function 'void say_M914()':

sketchsrcmoduleconfiguration_store.cpp:1904:54: error: 'port' was not declared in this scope

void say_M914(PORTARG_SOLO) { SERIAL_ECHOPGM_P(port, ' M914 '); }

^

sketchsrcmodule../inc/../core/serial.h:81:69: note: in definition of macro 'SERIAL_PROTOCOLPGM_P'

#define SERIAL_PROTOCOLPGM_P(p,x) (serialprintPGM_P(p,PSTR(x)))

^

sketchsrcmoduleconfiguration_store.cpp:1904:37: note: in expansion of macro 'SERIAL_ECHOPGM_P'

void say_M914(PORTARG_SOLO) { SERIAL_ECHOPGM_P(port, ' M914 '); }

^

exit status 1

Ошибка компиляции для платы Arduino Due (Programming Port).

Если же закомментировать данную строку , то компилируется и шьется , но моторы молчат
Ответы на вопросы
Кремень КБ Реклама
Кремень КМ Реклама