Simple serial terminal example to run on Pico#69
Open
brianddk wants to merge 2 commits intoraspberrypi:masterfrom
Open
Simple serial terminal example to run on Pico#69brianddk wants to merge 2 commits intoraspberrypi:masterfrom
brianddk wants to merge 2 commits intoraspberrypi:masterfrom
Conversation
lurch
reviewed
Oct 9, 2023
Contributor
|
So basically a MicroPython version of the UART -> USB CDC already included in https://github.com/raspberrypi/picoprobe/ ? |
Add reference to picoprobe.
Author
|
@lurch , Corrected the spelling and added a reference to picoprobe for anyone wanting a more robust solution. I hadn't seen picoprobe, and didn't realize it could be used as a generic USB to UART. Since I'm not using OpenOCD, should I tie But yes... I suppose this is a VERY simple micropython sample to do the same thing. |
Contributor
|
If you're not using OpenOCD, simply leave the SWD-related pins unconnected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pico serial terminal
A simple example to allow a Pico to act as a serial terminal into another Raspberry Pi computer.
Useful for setting up a Pi when network setup fails for some reason.
Should work for Windows, Linux, or Mac host machines.
enable_uart=1to the Raspberry Pi computerconfig.txtand boot it.pico:{1,2,3}topi:{10,8,6}terminal.pyon Pico, then power up the PiYou should now have a serial terminal to your Raspberry Pi computer through your Pico.
Errata / Bugs
raspi-config) work