Нужна помощь 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).
Если же закомментировать данную строку , то компилируется и шьется , но моторы молчат
Популярные вопросы
QIDI Q2 PA-CF Отклеивается модель
Здравствуйте! Наверное банальная ситуация - при печати PA-CF NexaForge происходит отлипание модели от стола. Я обезжирил PEI чистым изопропиловым спир...
TPU пластик дефекты печати
Всем доброго времени суток! Помогите решить данный дефект печати. Пластик TPU 95 печатается на принтере K1 MAX. Параметры стандарт для TPU
Кубик, Simplify3D и мосты
slic3r перед тем, как выкладывать верхние слои, кладет мосты, а прекрасный Simpli3D этого не делает :(
То есть вот это зелено...
То есть вот это зелено...

Комментарии и вопросы
Разлитая тоже испаряется. След...
ролики у меня в такой вот суши...
Про ролики соглашусь. Решение....
Подключил принтер к симочному...
Столкнулся с такой проблемой п...
Коллеги, я прямо чувствую что...
Всем привет, собрал я тут себе...