-
Notifications
You must be signed in to change notification settings - Fork 224
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
export both pico hardware UARTs via picoprobe? #101
Comments
#52 talks about "sends debug output to a secondary CDC" which perhaps points you in the right direction? 🤷♂️ |
Excellent thanks, will have a better look at that 2moro and see if I can kludge something, and if I might be able to produce a commit-worthy form. |
Hmm, below definitely wrong, pls ignore. "OK, so this is decidedly non-trivial: |
You do realise that UART1 can be muxed to multiple different GPIO pins? 🙂 |
Yep, but always worth checking... my problem was going cross-eyed comparing GPn "pin" numbers with hardware pin numbers whilst comparing against pin 'offsets' in the code, so I totally missed that debug/SWD/CMIS was using already SPI0 not UART1. So yes, this actually is possible after all, simply by enabling uart mode on GP0 and GP1 and then using the tud_cdc_n_* variants in cdc_uart.c |
Right, that's done and working (with THREADED 1) Tested openocd .elf upload and UART (cmake ..) I currently have the unstaged changes in the working directory created 13:11 28th sept by:
I have zero experience contributing with git/github but found this (gulp): |
https://docs.github.com/en might be a good starting-point? |
So am I creating a branch from master or develop? |
Anticipating your 'Doh!', I'm looking for a confirmation before I begin work on something I really don't want to have to do twice... |
I dunno, that's probably a question for @P33M |
OK, thanks anyway. Have created a develop pull request #102 - should have done it from here, but live and learn... |
Nope, in GitHub issues and Pull Requests are two separate things; so you've done the right thing 🙂 |
(It's entirely up to you how you want to manage this issue, since you created it; but FYI the usual convention is that the issue stays open until the associated PR gets merged) |
#103 will close this |
Is this impossible, something I could easily add, or a major feature request?
I'm working with poll-based USB and LWIP and it would be really useful to see separate console windows for several 'concurrent' activities...
Andy
The text was updated successfully, but these errors were encountered: