Skip to content
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

Enhancement - add Raspberry Pi Pico microcontroller support #132

Closed
randomsmith9 opened this issue Jan 21, 2021 · 9 comments
Closed

Enhancement - add Raspberry Pi Pico microcontroller support #132

randomsmith9 opened this issue Jan 21, 2021 · 9 comments

Comments

@randomsmith9
Copy link

Hi,

Any plans to support the new Raspberry PI Pico microcontroller board?

@vlasovskikh
Copy link
Contributor

I don't have this device, so I cannot test it at this point. Contributions adding Raspberry Pi Pico support to the plugin are welcome. The plugin supports several devices and the code for supporting a new one is relatively easy to add.

@lwr20
Copy link

lwr20 commented Jan 22, 2021

I just received my Raspberry Pi Pico board a few minutes ago, but I'm new to this. Is there a doc somewhere that demonstrates how to add a new device? Or a PR that added a different device that I can use as an example?

@lwr20
Copy link

lwr20 commented Jan 22, 2021

Hah - I just found this: #114
I'll see if I can knock up something similar.

@tinue
Copy link

tinue commented Jan 29, 2021

It is working quite ok with the "Pyboard" device. The only exception is the soft reset: For whatever reason this is not working on my Mac. It is sending the right commands (Ctrl-C, Ctrl-D), but the board does not perform the reset.
If I connect to the board after having flashed through IDEA, with e.g. tmux, it immediately runs the (pending?) reset. Maybe it's just a timing issue, e.g. disconnecting too quickly.
To be clear: I am using IDEA with Python and MicroPython plugins, not PyCharm.

@mlewus
Copy link

mlewus commented Feb 3, 2021

I'm not familiar enough with Python to help code it, but it would be great to have Pi pico support in PyCharm :) I will try to test it using the "Pyboard" device re: @tinue

@cakoronkowski
Copy link

I don't have this device, so I cannot test it at this point. Contributions adding Raspberry Pi Pico support to the plugin are welcome. The plugin supports several devices and the code for supporting a new one is relatively easy to add.

@vlasovskikh would mailing you one of these devices be helpful for this? I have a spare and they are very inexpensive in my area

@mlewus
Copy link

mlewus commented Feb 12, 2021

I live in New Jersey, USA. I also have a known good Pico board I could mail you. Let me know.

@randomsmith9
Copy link
Author

If someone like timsavage does a pull request, what does it take to get that merged in - as in what is the process/timeline?
Does it need other people to fork the plugin and pull in the pull request to do testing?

@vlasovskikh
Copy link
Contributor

Raspberry Pi Pico support is coming to the MicroPython plugin for PyCharm v1.2:

  • Ability to flush your files to RPi Pico via MicroPython run configurations
  • Basic type hints (please contribute more of them via PRs!)

🙏 Thank you @timsavage for contributing code for Raspberry Pi Pico support! Thanks @lensvol for reviewing the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants