-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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_bridge: Add serial bridge module for communication with UART peripherals #6444
Conversation
9dc4054
to
b83f303
Compare
Add functionality that allows communicating and configuring uart ports on the target MCU. Currently supports the STM32 architecture. Signed-off-by: Jeremy Putnam <[email protected]>
b83f303
to
6469418
Compare
Thank you for the hardwork @E4ST2W3ST, look forward to using this on my n3p |
Thanks. As high-level feedback, I think it would be useful to add support for forwarding an mcu serial port back to the host software. I do have a few comments on the implementation here:
-Kevin |
I can say (at least for me, as a user) that I'm definitely interested in this, as if I understand properly, I could use this to write a set of macros that could communicate with a stock MMU connected to the printer board serial (how marlin/prusa handles it), and listen for things like the runout trigger from it, which is really the only thing stopping me from switching from marlin at the moment. This would be much better (IMO) than the current MMU support under klipper, requiring me to change the board of the MMU to something that can also run klipper, and controlling both directly via MCU. This would be one use case for the SERIAL_BRIDGE commands, to send filament change/retraction commands, listen for confirmation and success/fail responses. |
Hi. This PR will also be very useful for creality printers, they also have a Nextion (TJC) HMI display. I am looking forward to this code being added. |
@E4ST2W3ST Any further details on this PR? Seems that this is starting to gain traction with folks and I know I'm patiently waiting to get this added to my printer. Thanks! |
Also interested in this too, but since I wanted to use it now and keep things inline with upstream, I used If this is improved upon more and gets merged into Klipper, I’d do a |
Kevin make it, please) |
Before you now continue spamming this thread with "me too", you did realize that:
|
I have appreciated people sharing their use case as I have a similar project in the works. I'll probably be repacking, cleaning up, and expanding compatibility for some choice features in this PR. |
@E4ST2W3ST I rewrite the neptune3pro's screen firmware to support klipper. The screen is connected to the klipper host, and a service is running to interact with moonraker and the screen. https://github.com/t1ngyu/neptune-screen If there is a serial bridge between the MCU and the klipper, it is more interesting. |
It looks like this GitHub Pull Request has become inactive. If there are any further updates, you can add a comment here or open a new ticket. Best regards, PS: I'm just an automated script, not a human being. |
do you know why *patch file not found? |
Add functionality that allows communicating and configuring uart ports on the target MCU. Currently supports the STM32 architecture.
Inspired from ete100's pull request for similar functionality.
The feature allows for generic communication with uart peripherals, along with an implementation supporting the Neptune 3Pro/3Plus/3Max screens .
To use, run a make menuconfig for STM32 ,enabling low-level configuration options. A list of available bridge configurations will be presented that don't interfere with the main UART: