Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial port issue with Robin Lite #205

Open
jaymcd opened this issue Sep 13, 2021 · 2 comments
Open

Serial port issue with Robin Lite #205

jaymcd opened this issue Sep 13, 2021 · 2 comments

Comments

@jaymcd
Copy link

jaymcd commented Sep 13, 2021

I am getting errors with serial ports on compile --

In file included from Marlin\src\HAL\STM32\MarlinSPI.h:24,
from Marlin\src\HAL\STM32\MarlinSPI.cpp:26:
Marlin\src\HAL\STM32\HAL.h:65:4: error: #error "SERIAL_PORT must be from 1 to 6. You can also use -1 if the board supports Native USB."
65 | #error "SERIAL_PORT must be from 1 to 6. You can also use -1 if the board supports Native USB."

Not sure if this is a vscode issue or a platform issue or a board/library issue. It was obviously working before as the default config seems to be for -1 or 0. I have tried both with no success. It will compile if I change to value 1 -6 ....

@fjbold1
Copy link

fjbold1 commented Jun 19, 2022

I was able to use -1, not at first but after enabling native usb in the adv file.

@k2ksk2k
Copy link

k2ksk2k commented Apr 28, 2023

According to MKS-Robin, you can try the settings "#define SERIAL_PORT 3" and "#define SERIAL_PORT_2 1".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants