Implements MicroPython emulation for Raspberry Pi Pico boards running entirely in the browser using rp2040js. Users can toggle between Arduino C++ and MicroPython modes via a language selector dropdown. Key changes: - Add LanguageMode type and BOARD_SUPPORTS_MICROPYTHON to board types - Create MicroPythonLoader.ts: UF2 firmware parser, LittleFS filesystem builder (via littlefs-wasm), IndexedDB firmware caching - Extend RP2040Simulator with loadMicroPython() method using USBCDC for serial REPL instead of UART - Add setBoardLanguageMode and loadMicroPythonProgram store actions - Update EditorToolbar with language toggle and MicroPython compile flow - Enhance SerialMonitor with REPL label, Ctrl+C/D support - Bundle MicroPython v1.20.0 UF2 firmware as fallback in public/firmware/ - Update useEditorStore to create main.py default for MicroPython mode Closes #3 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| boards | ||
| firmware | ||
| android-chrome-192.png | ||
| android-chrome-512.png | ||
| apple-touch-icon.png | ||
| components-metadata.json | ||
| favicon-16x16.png | ||
| favicon-32x32.png | ||
| favicon-48x48.png | ||
| favicon.ico | ||
| favicon.svg | ||
| image.png | ||
| image.webp | ||
| manifest.webmanifest | ||
| og-image.png | ||
| og-image.svg | ||
| robots.txt | ||
| sitemap.xml | ||
| vite.svg | ||