-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[BUG] SKR PRO Serial 3 #16376
Comments
Configurations, please |
I'm gonna push a fix for this. |
done. |
With these changes, it build. |
how are you sending the data in there? |
USB-UART when Serial6 has responses from the Board to the m503 or M122 commands. There is no response to Serial3 |
I didn't get what you are trying to achieve. |
No. I'm sending to Serial3 and waiting for a response there. |
but before
anyway... SERIAL 1 IS the serial on the TFT connector. Is this what you really want to do? |
@akarnaukh ok but ensure to comment lines 1132 & 1144 in /Marlin/src/Marlin.cpp |
Yes, I use Serial 1 to connect to the computer instead of USB. The fact that it is signed by TFT in my opinion does not change the fact that it is just a Serail port. |
As far as I have understood you own a mac and you talk to the board through serial 1. How exactly? Does your mac have a serial port? Every serial (1,3,6), in that sense, are equal to the interfacing methods. They all have 2 pins+gnd. |
Do you have a similar to "-DHAVE_HWSERIAL6" clause for Serial3 in Platform.ini? |
@boelle you can close this 'cause the fix has been merged. |
@LinoBarreca USB/UART CP2102 @AnHardt The first time I pointed it out, but it only allowed the firmware to compile, but not to work as it should. |
There is no way to check the latest build yet. Be sure to write how the result will be. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When I want to select serial 3, a link error occurs.
#define SERIAL_PORT 1
#define SERIAL_PORT_2 3
Linking .pio/build/BIGTREE_SKR_PRO/firmware.elf
.pio/build/BIGTREE_SKR_PRO/src/src/Marlin.cpp.o: In function manage_inactivity(bool)': /Users/akarnaukh/SKR_PRO/Marlin/Marlin/src/Marlin.cpp:483: undefined reference to Serial3'
.pio/build/BIGTREE_SKR_PRO/src/src/Marlin.cpp.o: In function setup': /Users/akarnaukh/SKR_PRO/Marlin/Marlin/src/Marlin.cpp:1120: undefined reference to Serial3'
.pio/build/BIGTREE_SKR_PRO/src/src/core/serial.cpp.o: In function serialprintPGM(char const*)': /Users/akarnaukh/SKR_PRO/Marlin/Marlin/src/core/serial.cpp:37: undefined reference to Serial3'
.pio/build/BIGTREE_SKR_PRO/src/src/core/serial.cpp.o: In function serial_echopair_PGM(char const*, char const*)': /Users/akarnaukh/SKR_PRO/Marlin/Marlin/src/core/serial.cpp:41: undefined reference to Serial3'
.pio/build/BIGTREE_SKR_PRO/src/src/core/serial.cpp.o: In function serial_echopair_PGM(char const*, int)': /Users/akarnaukh/SKR_PRO/Marlin/Marlin/src/core/serial.cpp:43: undefined reference to Serial3'
.pio/build/BIGTREE_SKR_PRO/src/src/core/serial.cpp.o:/Users/akarnaukh/SKR_PRO/Marlin/Marlin/src/core/serial.cpp:44: more undefined references to `Serial3' follow
While switched to Serial 6.
But it's inconvenient, how do I fix it?
The text was updated successfully, but these errors were encountered: