Нужна помощь 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).
Если же закомментировать данную строку , то компилируется и шьется , но моторы молчат
Популярные вопросы
Пожалуйста! Помогите с настройкой слайсера
Приветствую!
Приобрел себе новенький K1 Max. Воодушевленный данной покупкой, сразу беру заказ на патрубок системы охлаждения. (...
Приобрел себе новенький K1 Max. Воодушевленный данной покупкой, сразу беру заказ на патрубок системы охлаждения. (...
Смещение слоёв
Здравствуйте, нужен совет. В 3д печати новичок. Принтер bambu lab a1 и на разных моделях на одной и той же высоте есть такой дефект, смещается слой, в...
Зачем используют слово '3D' при описании аддитивных технологий?
Несколько раз уже я обращался к уважаемому сообществу с вопросом на тему - почему так говорят '3D печать', '3D принтеры' и прочие интерпретации, типа...

Комментарии и вопросы
В чём вообще смысл раздела "мы...
Вдохновение: https://3dtoday.r...
С недавнего времени стал облад...
3D принтер Ender 3 (обычный) п...
Приветствую! Приобрел себ...
постоянный засор сопла после з...