Нужна помощь Marlin 2
Не компилируется прошивка 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).
Если же закомментировать данную строку , то компилируется и шьется , но моторы молчат
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).
Если же закомментировать данную строку , то компилируется и шьется , но моторы молчат
Популярные вопросы
Проблема с печатью серией матового PLA от бамбулаб.
Недавно купил себе свой первый 3D-принтер. Думал, что если покупать всё оригинальное, то и проблем для моих задач не будет. Купил себе сразу несколько...
Постоянно откручивается сопло из нагревателя CHC
переделал экструдер под нагреватель
TriangleLab CHC® керамический нагревательный элемент для хотэнда 3D-принтераhttps://aliexpress.ru...
TriangleLab CHC® керамический нагревательный элемент для хотэнда 3D-принтераhttps://aliexpress.ru...
Зачем используют слово '3D' при описании аддитивных технологий?
Несколько раз уже я обращался к уважаемому сообществу с вопросом на тему - почему так говорят '3D печать', '3D принтеры' и прочие интерпретации, типа...

Комментарии и вопросы
да не проблема у меня все врем...
Тем не менее немного странно.В...
К чему эта "аналитика"? Зуд, и...
Здравствуйте, подскажите что с...
Всем привет. Имеется ender-3 н...
Вопрос к уважаемы...
День добрый . Имеется принтер...