-
Notifications
You must be signed in to change notification settings - Fork 297
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
Pico-W and webrepl.py WebSocket - store micropython files inside this repository #71
Comments
There was recently a change to make webrepl work with HTTPS. See micropython/micropython@924e55a But then it very recently moved to the micropython-lib repo (along with some other drivers), see micropython/micropython@24678fe These files are frozen into Pico W firmware, so webrepl should "just work". |
@mchobby If there are any boards that you are describing in your book that don't already include webrepl as part of the standard firmware (i.e. frozen) then please let us know and we'll fix it. |
@dpgeorge @jimmo, Thanks you both for your quick reaction. |
Thanks @mchobby -- Sorry I forgot that we hadn't resolved micropython/micropython#8928 yet. Looks like I forgot to come back to that after resolving the https issue. I will sort this out today/tomorrow and the end result will be that all network-enabled rp2 boards will include webrepl automatically (and this will be in the 1.20 release). Just FYI, the correct way to use webrepl now is to go to http://device:8266/ rather than via http://micropython.org/webrepl/. FYI if you're writing a book about the Pico W, I would definitely wait until 1.20 is released (soon!) before finalising anything as some APIs around WiFi might change in order to make it more consistent with other ports. |
@jimmo Just checking if there's an ETA for 1.20? Really excited to see |
Hi,
I'm currently writing my third book around MicroPython (in French) and each time I'm getting trouble to setup the WebRepl deamon on the WiFi microcontroler.
The reason for this is simple... the webrepl.py & webrepl_setup.py are moving here and there each time I need them.
Current 2022, the webrepl.py was located in micropython/micropython/extmod/webrepl/ (as mentionned in this Raspberry-Pi Thread https://forums.raspberrypi.com/viewtopic.php?t=337632 ). The missing files were there... but today (Sept 12, 2022) they have moved again :-/
Would it be a good idea to store such MicroPython sources together-with/aside the WebRepl client sources?
The text was updated successfully, but these errors were encountered: