Skip to content

Docs: Python scripts with MicroPython (py, tdui, machine, Python Editor) - #2

Merged
schikani merged 12 commits into
mainfrom
feature/micropython
Oct 31, 2026
Merged

schikani merged 12 commits into
mainfrom
feature/micropython

Conversation

@schikani

Copy link
Copy Markdown
Contributor

Draft. Docs for tinydesk-project/tinydesk#11; merge together with it, after #1. Expected conflict with #1: the "Unreleased" section of changelog.md (put both entries under one heading).

  • shell/python.md (new): Python scripts with py, the tinydesk module, asyncio, hashlib, .mpy files, native code, machine (Hardware), tdui (Windows, Size and place), memory per board.
  • guide/using.md: the Editor's Python mode, Run with the output pane, find and replace.
  • shell/commands.md, shell/scripting.md, api/apps.md, api/core.md, api/input.md, guide/writing-an-app.md, ports/overview.md, ports/esp.md, tools.md, README.md: py, the Editor's Python mode, tdui, size replies inside a paste, the C6's 8 KB USB receive buffer.
  • changelog.md: "Unreleased" entries for all of it.
  • _sidebar.md: a link to the new Python page.

python.md: native and viper code on the ESP32-S3 (-march=xtensawin) and the
ESP32-C6 (-march=rv32imc), whose firmware turns off the memory protection
for it; executable RAM there is the internal RAM; .mpy files for another
chip are refused. machine on the S3: the link pins 43/44, flash and PSRAM
pins 26-37, strapping pins, ADC1 GPIO1-10, PWM, I2C, SPI and UART counts.
The heap table and the changelog list the S3's 512 KB of PSRAM.
Conflict in the changelog's Unreleased section: both added entries; both
kept, the Python ones first.
@schikani
schikani marked this pull request as ready for review October 31, 2026 05:24
@schikani
schikani merged commit 1813f0a into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant