You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Add webrepl on esp32
This commit is contained in:
@@ -220,6 +220,12 @@ async def asyncio_repl():
|
||||
await aiorepl.task()
|
||||
TaskManager.create_task(asyncio_repl()) # only gets started after TaskManager.start()
|
||||
|
||||
try:
|
||||
import webrepl
|
||||
webrepl.start(port=7890,password="MPOSweb26") # password max 9 characters
|
||||
except Exception as e:
|
||||
print(f"Could not start webrepl - this is normal on desktop systems: {e}")
|
||||
|
||||
async def ota_rollback_cancel():
|
||||
try:
|
||||
from esp32 import Partition
|
||||
|
||||
Reference in New Issue
Block a user