This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
CONSULTA problemas a la hora de conectar skr v1.4 Turbo, y skr pro 1.2
#1
Hola, como indico, necesito ayuda a la hora de conectar esas controladoras al pc. En su día, decidí "subir de nivel" la controladora ramps 1.4 de mi impresora y poner otra más moderna, y con más capacidad, por lo que compré la skr v1.4 Turbo. Cuando saqué suficiente tiempo para instalar la nueva placa, le puse el cableado de la impresora, e intenté conectarla al pc, y aunque aparecía el led como que estaba conectada, no me la reconocía el pc, independientemete de como la conectara. Después de muchos intentos consideré que me había tocado la controladora defectuosa de turno, y me dí por vencido, volviendo a la ramps. Después de aproximadamente un año, me regalaron la skr pro 1.2, y cuando fuí a conectarla al pc, ¡sorpresa! me hacía exactamente igual... Después de cambiar el cable usb, cambiar el modo de alimentación de usb a fuente de alimentación, etc, aún no he conseguido que funcione ninguna de las dos placas.

Lo que necesitaría es ayuda de alguien que me pueda resolver este problema.

Gracias por adelantado por la ayuda/información.
  Responder
#2
Hola, lo primero decir que quien tiene que reconocer la impresora es el sistema operativo del PC por lo que, antes de intentar comunicarte con ella, tienes que comprobar este extremo.
Para ello (supondré que utilizas Windows), abre el Administrador de dispositivos, conecta la impresora por USB y enciéndela.
Pueden sudecer tres cosas: que el PC no se entere de ello (no hay movimiento en la ventana del administrador), lo que indicaría que falla la placa o la conexión (conector y/o cable); que se detecte la conexión pero el dispositivo no se reconozca (aparece en el apartado Otros dispositivos, con una interrogación amarilla), en cuyo caso tendremos que instalar el driver correspondiente a nuestra placa (que suele facilitar el fabricante); por último, que se detecte el nuevo dispositivo y se le asigne un puerto COM (aparece en el apartado Puertos COM y LPT), lo que indica que la impresora está correctamente conectada.
En este último caso, si no se puede comunicar con la placa, utilizando una aplicación apropiada, será debido a que en ella no hay nada que se comunique, bien sea el firmware (normalmente las placas adquiridas por separado no suelen traerlo, a no ser que vengan preparadas para una impresora concreta) o el bootloader (si se ha intentado cargar el firmware y no ha habido respuesta).
  Responder
#3
Hola, que me pase en las dos controladoras de una misma marca a la vez ya es un poco extraño, pero gracias por los consejos, ya miraré si consigo resolverlo con alguno de ellos.
  Responder
#4
Como he indicado, las placas que se adquieren de forma separada no suelen traer el firmware instalado, a no ser que se vendan como respuesto para un modelo de impresora concreto pues, como es lógico, el fabricante no puede saber en que impresora acabarán montadas.
Ese es el caso habitual de las SKR, por lo que no es raro que te pueda suceder con todas las que compres de esa forma.
  Responder
#5
(28-04-2021, 06:01 PM)Simemart escribió: Como he indicado, las placas que se adquieren de forma separada no suelen traer el firmware instalado, a no ser que se vendan como respuesto para un modelo de impresora concreto pues, como es lógico, el fabricante no puede saber en que impresora acabarán montadas.
Ese es el caso habitual de las SKR, por lo que no es raro que te pueda suceder con todas las que compres de esa forma.

He probado en la web del fabricante a la hora de descargar un driver al pc, y aún así no funciona.
  Responder
#6
La verdad es que no acabo de tener claro lo que tratas de hacer con la placa y a qué te refieres cuando dices que no te funciona.
¿Has probado a cargar un firmware? Ten en cuenta que no podrás comunicarte con ella hasta que tenga uno instalado y en estas placas con MCU de 32 bits, el firmware se carga mediante la tarjeta SD, no por USB.
  Responder
#7
Ok, gracias por la información, lo que sucede es que pruebe lo que pruebe a la hora de compilar el Marlin con el Visual Studio code, me da siempre error.
  Responder
#8
Si pones el error, quizá te pueda indicar cual es la causa.
  Responder
#9
Hola, el que más me aparece es este:

Error: Unknown environment names 'STM32F407ZGT6'. Valid names are 'trigorilla_pro, mega1280, LPC1769, BIGTREE_BTT002, STM32F103RE_btt, mks_robin_pro, STM32F103RC_btt, include_tree, STM32F7, FLYF407ZG, teensy35, BIGTREE_GTR_V1_0, STM32F103RC_fysetc, sanguino644p, melzi_optiboot, DUE_USB, STM32F407VE_black, linux_native, mks_robin_lite, STM32F103RC, mks_robin, jgaurora_a5s_a1, STM32F103VE_longer, MightyBoard1280, STM32F103CB_malyan, chitu_v5_gpio_init, STM32F070RB_malyan, at90usb1286_cdc, mks_robin_lite3, STM32F103VE_GTM32, rambo, mks_robin_e3, FYSETC_F6_14, LERDGEX, melzi_optimized, STM32F103RC_meeb, DUE_archim_debug, malyan_M300, LERDGEK, BIGTREE_SKR_PRO, teensy31, LPC1768, STM32F103RE_btt_USB, FYSETC_S6, melzi, STM32F103RC_btt_512K, STM32F103RET6_creality, STM32F103RC_btt_512K_USB, DUE_debug,
mks_robin_nano35, STM32F4, FYSETC_F6_13, chitu_f103, DUE_archim, mks_robin_mini, MightyBoard2560, DUE, esp32, SAMD51_grandcentral_m4, STM32F103RE, STM32F401VE_STEVAL, mega2560ext, ARMED, STM32F103RC_btt_USB, mega2560, sanguino1284p, LERDGES, mks_robin_stm32, at90usb1286_dfu, rumba32'
PS C:\Users\erjav\Downloads\Marlin-2.0.x - mks pro 1.2> echo "done" >C:\Users\erjav\AppData\Local\Temp\ipc
PS C:\Users\erjav\Downloads\Marlin-2.0.x - mks pro 1.2>
  Responder
#10
Si utilizas Visual Studio Code, sin no la tienes te recomiendo que instales la extensión Auto Build Marlin, que automatiza bastante la elección del entorno (environment) adecuado a la placa.
La Pro 1.2 lleva la MCU STM32F407ZG, pero su entorno se denomina BIGTREE_SKR_PRO.
La 1.4 Turbo lleva una MCU LPC1769 y el entorno tiene ese mismo nombre.
Ambas las identifica ABM perfectamente y como puedes ver en el mensaje de error, sus entornos se encuentran entre los que son reconocidos para la compilación.
  Responder
#11
Pues nada, he probado a hacer esos cambios, y sigue dandome errores al compilar...

Bueeeno, ya me ha cambiado el error, ahora me indica esto:

Library Manager: Installing git+https://github.com/bigtreetech/TMCStepper
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado:
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 177:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\erjav\.platformio\platforms\ststm32\builder\main.py", line 120:
target_elf = env.BuildProgram()
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
return self.method(*nargs, **kwargs)
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 62:
env.ProcessProjectDeps()
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
return self.method(*nargs, **kwargs)
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 140:
project_lib_builder = env.ConfigureProjectLibBuilder()
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
return self.method(*nargs, **kwargs)
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1062:
project.install_dependencies()
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 898:
lm.install(spec)
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48:
pkg = self._install(
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 81:
return super(LibraryPackageManager, self)._install(
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97:
pkg = self.install_from_url(spec.url, spec, silent=silent)
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141:
vcs = VCSClientFactory.new(tmp_dir, url)
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54:
obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137:
self.configure()
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146:
result = proc.exec_command([cls.command, "--exec-path"])
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\proc.py", line 117:
p = subprocess.Popen(*args, **kwargs)
File "C:\Users\erjav\.platformio\python3\lib\subprocess.py", line 951:
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\erjav\.platformio\python3\lib\subprocess.py", line 1420:
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
================================================================== [FAILED] Took 0.94 seconds ==================================================================

Environment Status Duration
--------------- -------- ------------
BIGTREE_SKR_PRO FAILED 00:00:00.942
============================================================= 1 failed, 0 succeeded in 00:00:00.942 =============================================================The terminal process "C:\Users\erjav\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.
  Responder
#12
Los errores que tienes ahora son debidos a archivos que no se encuentran, lo que parece indicar algún problema con la instalación del VSC: lo mejor es desinstalarlo y volver a instalar todo desde cero.
  Responder
#13
Pues menudo peñazo empezar desde 0 con todo... Bueno, ya miraré de sacar un rato el viernes, a la hora de reinstalarlo.
  Responder
#14
Pues nada, después de desinstalar y volver a instalar el visual estudio core, sigue dando errores:

> Executing task: C:\Users\erjav\.platformio\penv\Scripts\platformio.exe run <

Warning! `env_default` configuration option in section [platformio] is deprecated and will be removed in the next release! Please use `default_envs` instead
Can not remove temporary directory `C:\Users\erjav\Downloads\Marlin-2.0.x - mks pro 1.2\.pioenvs`. Please remove it manually to avoid build issues
Processing BIGTREE_SKR_PRO (platform: ststm32; framework: arduino; board: BigTree_SKR_Pro)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/...R_Pro.html
PLATFORM: ST STM32 (12.1.1) > STM32F407ZG (192k RAM. 1024k Flash)
HARDWARE: STM32F407ZGT6 168MHz, 192KB RAM, 1MB Flash
DEBUG: Current (jlink) External (jlink, stlink)
PACKAGES:
- framework-arduinoststm32 4.10900.200819 (1.9.0)
- framework-cmsis 2.50501.200527 (5.5.1)
- toolchain-gccarmnoneeabi 1.90201.191206 (9.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing git+https://github.com/bigtreetech/TMCStepper
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado:
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 177:
env.SConscript("$BUILD_SCRIPT")
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 591:
return _SConscript(self.fs, *files, **subst_kw)
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Script\SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "C:\Users\erjav\.platformio\platforms\ststm32\builder\main.py", line 120:
target_elf = env.BuildProgram()
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
return self.method(*nargs, **kwargs)
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 62:
env.ProcessProjectDeps()
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
return self.method(*nargs, **kwargs)
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\tools\platformio.py", line 140:
project_lib_builder = env.ConfigureProjectLibBuilder()
File "C:\Users\erjav\.platformio\packages\tool-scons\scons-local-4.1.0\SCons\Util.py", line 658:
return self.method(*nargs, **kwargs)
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 1062:
project.install_dependencies()
File "C:\Users\erjav\.platformio\penv\Lib\site-packages\platformio\builder\tools\piolib.py", line 898:
lm.install(spec)
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 48:
pkg = self._install(
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\manager\library.py", line 81:
return super(LibraryPackageManager, self)._install(
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97:
pkg = self.install_from_url(spec.url, spec, silent=silent)
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141:
vcs = VCSClientFactory.new(tmp_dir, url)
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 54:
obj = getattr(sys.modules[__name__], "%sClient" % type_.title())(
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137:
self.configure()
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146:
result = proc.exec_command([cls.command, "--exec-path"])
File "c:\users\erjav\.platformio\penv\lib\site-packages\platformio\proc.py", line 117:
p = subprocess.Popen(*args, **kwargs)
File "C:\Users\erjav\.platformio\python3\lib\subprocess.py", line 951:
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\erjav\.platformio\python3\lib\subprocess.py", line 1420:
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
================================================================== [FAILED] Took 1.03 seconds ==================================================================

Environment Status Duration
--------------- -------- ------------
BIGTREE_SKR_PRO FAILED 00:00:01.031
============================================================= 1 failed, 0 succeeded in 00:00:01.031 =============================================================The terminal process "C:\Users\erjav\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.
  Responder
#15
¿Qué versión de Marlin estás usando? Porque el primer error que tienes en ese reporte se debe a un archivo platformio.ini con un parámetro obsoleto, que ya no se utiliza en las nuevas versiones.
Para conseguir llegar a buen puerto, tendrás que instalar las últimas versiones disponibles y descargadas de la página oficial de cada desarrollador: en el caso de VSC, esta es su página oficial y la última versión al escribir este mensaje es la 1.55.2.
Para Marlin, la última versión disponible siempre es la bugfix-2.0.x, que se puede descargar de su página oficial.
Está claro que en tu caso tienes problemas con el software que estás utilizando, bien en el IDE o en la versión de Marlin, pues yo no tengo ningún error al realizar esa compilación.
Una cosa a tener en cuenta es que, al realizar el primer intento de compilación, puede dar un error debido a que se intenta acceder a la carpeta del entorno antes de que esté creada: solo hay que volver a ordenar la compilación y en el segundo intento ya no da ese error.
  Responder
#16
Gracias por los consejos y los enlaces Ahora sí que me compila, pero cuando entro al Autobuild Marlin, me aparece una opción BIGTREE_SKR_PRO_usb_flash_drive, pero esa opción no me compila (doy por hecho que esa opción a lo mejor me podria resolver los problemas de usb. Los errores que me indica son los siguientes:

In file included from Marlin\src\HAL\STM32\HAL.cpp:25:
Marlin\src\HAL\STM32\HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:55,
from Marlin\src\HAL\STM32\HAL.cpp:28:
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:74: error: template argument 1 is invalid
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^
compilation terminated due to -fmax-errors=5.
*** [.pio\build\BIGTREE_SKR_PRO_usb_flash_drive\src\src\HAL\STM32\HAL.cpp.o] Error 1
In file included from Marlin\src\HAL\STM32\../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:31,
from Marlin\src\HAL\STM32\HAL_SPI.cpp:25:
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:55,
from Marlin\src\HAL\STM32\HAL_SPI.cpp:25:
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:74: error: template argument 1 is invalid
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^
compilation terminated due to -fmax-errors=5.
In file included from Marlin\src\HAL\STM32\../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:31,
from Marlin\src\HAL\STM32\MarlinSerial.cpp:21:
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:31,
from Marlin\src\HAL\STM32\Servo.cpp:25:
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:55,
from Marlin\src\HAL\STM32\MarlinSerial.cpp:21:
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:74: error: template argument 1 is invalid
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
compilation terminated due to -fmax-errors=5.
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:31,
from Marlin\src\HAL\STM32\Sd2Card_sdio_stm32duino.cpp:24:
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:55,
from Marlin\src\HAL\STM32\Servo.cpp:25:
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:74: error: template argument 1 is invalid
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^
compilation terminated due to -fmax-errors=5.
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
*** [.pio\build\BIGTREE_SKR_PRO_usb_flash_drive\src\src\HAL\STM32\MarlinSerial.cpp.o] Error 1
*** [.pio\build\BIGTREE_SKR_PRO_usb_flash_drive\src\src\HAL\STM32\HAL_SPI.cpp.o] Error 1
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
*** [.pio\build\BIGTREE_SKR_PRO_usb_flash_drive\src\src\HAL\STM32\Servo.cpp.o] Error 1
In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:55,
from Marlin\src\HAL\STM32\Sd2Card_sdio_stm32duino.cpp:24:
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:74: error: template argument 1 is invalid
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^
compilation terminated due to -fmax-errors=5.
*** [.pio\build\BIGTREE_SKR_PRO_usb_flash_drive\src\src\HAL\STM32\Sd2Card_sdio_stm32duino.cpp.o] Error 1
In file included from Marlin\src\HAL\STM32\../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:31,
from Marlin\src\HAL\STM32\eeprom_flash.cpp:25:
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:55,
from Marlin\src\HAL\STM32\eeprom_flash.cpp:25:
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:74: error: template argument 1 is invalid
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^
compilation terminated due to -fmax-errors=5.
*** [.pio\build\BIGTREE_SKR_PRO_usb_flash_drive\src\src\HAL\STM32\eeprom_flash.cpp.o] Error 1
In file included from Marlin\src\HAL\STM32\../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:31,
from Marlin\src\HAL\STM32\eeprom_sdcard.cpp:28:
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\../../inc/../HAL/HAL.h:30,
from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:31,
from Marlin\src\HAL\STM32\eeprom_sram.cpp:25:
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:54:21: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
54 | #define MYSERIAL1 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:69:27: note: in expansion of macro 'MYSERIAL1'
69 | #define _SERIAL_LEAF_1 MYSERIAL1
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:78:25: note: in expansion of macro '_SERIAL_LEAF_1'
78 | #define SERIAL_LEAF_1 _SERIAL_LEAF_1
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:32: note: in expansion of macro 'SERIAL_LEAF_1'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
In file included from Marlin\src\HAL\STM32\../../inc/MarlinConfig.h:55,
from Marlin\src\HAL\STM32\eeprom_sdcard.cpp:28:
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:74: error: template argument 1 is invalid
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^
compilation terminated due to -fmax-errors=5.
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../HAL/./STM32/HAL.h:63:23: error: 'MSerial0' was not declared in this scope; did you mean 'MSerial10'?
63 | #define MYSERIAL2 MSerial0
| ^~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:97:30: note: in expansion of macro 'MYSERIAL2'
97 | #define _SERIAL_LEAF_2 MYSERIAL2
| ^~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:107:27: note: in expansion of macro '_SERIAL_LEAF_2'
107 | #define SERIAL_LEAF_2 _SERIAL_LEAF_2
| ^~~~~~~~~~~~~~
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:57: note: in expansion of macro 'SERIAL_LEAF_2'
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^~~~~~~~~~~~~
from Marlin\src\HAL\STM32\eeprom_sram.cpp:25:
Marlin\src\HAL\STM32\../../inc/../core/serial.h:110:74: error: template argument 1 is invalid
110 | typedef MultiSerial<decltype(SERIAL_LEAF_1), decltype(SERIAL_LEAF_2), 0> SerialOutputT;
| ^
*** [.pio\build\BIGTREE_SKR_PRO_usb_flash_drive\src\src\HAL\STM32\eeprom_sdcard.cpp.o] Error 1
compilation terminated due to -fmax-errors=5.
*** [.pio\build\BIGTREE_SKR_PRO_usb_flash_drive\src\src\HAL\STM32\eeprom_sram.cpp.o] Error 1
================================================================== [FAILED] Took 10.40 seconds ==================================================================
Environment Status Duration
------------------------------- -------- ------------
BIGTREE_SKR_PRO_usb_flash_drive FAILED 00:00:10.399
============================================================= 1 failed, 0 succeeded in 00:00:10.399 =============================================================PS C:\Users\erjav\Downloads\Marlin-bugfix-2.0.x(2)\Marlin-bugfix-2.0.x> echo "done" >C:\Users\erjav\AppData\Local\Temp\ipc
PS C:\Users\erjav\Downloads\Marlin-bugfix-2.0.x(2)\Marlin-bugfix-2.0.x>
  Responder
#17
El entorno de compilación BIGTREE_SKR_PRO_usb_flash_drive no tengo muy claro para qué se utiliza y no hay mucha información sobre él.
En teoría, con el entorno normal y una confguración correcta, se debería poder usar el conector USB-A que traen las placas SKR PRO para conectar un pendrive USB y usarlo como si fuese una tarjeta SD, aunque para ello hay que utilizar un adaptador, pues Marlin no está preparado para hacerlo directamente.
En todo caso, no tiene nada que ver con el conector USB-B que sirve para controlar la impresora desde el ordenador y por ello no te va a solucionar problemas en ese ámbito.
De todas formas, no creo que tengas ningún problema con la conexión USB, una vez tengas grabado correctamente el firmware en la placa.
  Responder
#18
Bueeeeno, ya he conseguido que me la detecte el ordenador después de toquitear todo tipo de parametros hasta que ha resultado, y de cambiar la SD del firmware... ahora lo que me gustaría saber es si los ajustes los podría hacer a través de g-code en el pronterface, para usar el Visual Studio Code lo menos posible, ya que con la cantidad de horas gastadas y disgustos que he tenido (y también por si lo he conseguido por pura suerte), como comprendereís ya he terminado harto de él .

Por cierto, el m500, y el comando de la SD ya los tengo activados...
  Responder
#19
ok, ahora que se me conecta correctamente la placa, intento activarle los motores en formato sensorless, ya que tengo drivers tmc2209, y después de seguir muchos tutoriales de internet, resulta que el eje X vibra y hace ruidos pero no se mueve, y el eje Y y el Z, solo van en una dirección.

Cuando digo de hacer un Homing en conjunto, no se mueven hacia ningún lado.

Agradezco por adelantado cualquier ayuda, información, etc, que puedan facilitarme.
  Responder
#20
El problema puede tener su causa en la regulación de los drivers o en la sensibilidad configurada para el StallGuard4 que trae el TMC2209.
Si los TMC están en modo Standalone, hay que regular la intensidad máxima que envían a los motores mediante el potenciómetro que traen incorporado para ello; si están configurados en UART, la intensidad se indica directamente en el archivo Configuration_adv.h.
Si se tiene configurada poca intensidad, los motores pueden no tener fuerza suficiente para mover el eje.
La sensibilidad en los TMC2209 tiene un margen de 0 a 255 (en anteriores versiones es de -64 a 63): si se pone poca, no se detectará el final de carrera; si se pone mucha, se activará continuamente, que quizá sea lo que está sucediendo en tu caso.
  Responder


Posibles temas similares…
Tema Autor Respuestas Vistas Último mensaje
  [solucionado] Problema eje Z. SKR Mini E3 silth 11 1,903 05-06-2021, 03:37 AM
Último mensaje: jquiroz
Triste Problema a la hora de elegir archivo en mi impresora Esther98 5 149 04-06-2021, 12:11 PM
Último mensaje: Simemart
  Problema al compilar Marlin para placa SKR Mini E3 Aurican 14 2,163 28-04-2021, 11:57 PM
Último mensaje: erjavi_zgz
  CONSULTA Se puede cambiar el pineado de la skr pro v1.2? erjavi_zgz 3 226 25-04-2021, 11:25 PM
Último mensaje: Simemart
  CONSULTA Anycubic Mega Pro - Problemas con el láser AppleTree 2 665 06-10-2020, 11:15 PM
Último mensaje: Arantxa1979