Closed c0dyhi11 closed 1 year ago
The error is correct, Previous version of Marlin did not check for this conflict so many people got it wrong.
You have BOARD_CREALITY_V427 With SERIAL_PORT_2 3
These are the two pins use for hardware UART 3
UART3_TX_PIN PB10 // default uses LCD connector UART3_RX_PIN PB11 // default uses LCD connector
You have #define CR10_STOCKDISPLAY which uses the the LCD connector
This is in Conflict with the Encoder pins
If you wish to use UART 3, you should disable the following CR10_STOCKDISPLAY SHOW_CUSTOM_BOOTSCREEN CUSTOM_STATUS_SCREEN_IMAGE
UART 3 has nothing to do with the USB cable, that is UART 1
This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
After seeking help from the community, if the consensus points to a bug in Marlin, then you should post a bug report.
SERIAL_PORT 1
should be sufficient to enable USB communication. Make sure your USB cable is data-capable and that you've defined HOST_ACTION_COMMANDS
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.
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
When setting
#define SERIAL_PORT_2 3
inConfiguration.h
the build fails due to "... conflict with another pin ..." (More info in output blow)If I don't set
#define SERIAL_PORT_2 3
everything else compiles just fine, but I can't use the USB port on the board to connect to OctoPrint.If I follow these same steps with branch
bugfix-2.0.x
these issues don't happen.Error output is below in
Steps to Reproduce
belowBug Timeline
Validated this is still a problem with a fresh clone 10min ago, and I see a redit post from 10x days ago complaining. So I'm guessing this issue is around 2x weeks old.
Expected behavior
That everything builds nicely.
Actual behavior
The build fails with errors.
Steps to Reproduce
Marlin
directory:platformio.ini
:Marlin/Configuration.h
:Environment Status Duration
STM32F103RE_creality FAILED 00:00:05.683 ====================================================== 1 failed, 0 succeeded in 00:00:05.683 ======================================================