Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pmp-p/stupyde

studio-upython-ide, but KISS
https://github.com/pmp-p/stupyde

esp8266 micropython simulator

Last synced: 7 days ago
JSON representation

studio-upython-ide, but KISS

Awesome Lists containing this project

README

        

# stupyde
studio-upython-ide, but KISS

workflow is:

precompile source tree with mpy-cross ( except for boot/main )

build hashmap (sha1) of your source tree.

set date on board in case not using ntp.

make sure asyncio is stopped to enter raw repl.

send hashes and directories structure to the board via uart wrapped a in small micropython script.

let the board compute from the file it already has and reply with a missing/changed list on uart.

stupyde then only send changed/missing files and reset the board and connect to REPL

note that on ESP32 you may need a soft reset ( ctrl+D ) at the prompt.

![Preview1](./screenshot_upcom.png)

requires your favorite text editor ( eg: Tilde https://github.com/gphalkes/tilde ).

requires a vt-100 terminal ( eg: mlterm for sixel support, terminator for tiling , h3droid sdk runtime).

requires python3.7 ( for f-strings conversion with https://github.com/pmp-p/fstrings_helper ).

ESP8266: requires ampy https://github.com/adafruit/ampy for talking to boards.

ESP32 : no need for ampy

everything else is bloat and will be kept optionnal.

usage example:

WORKDIR=./esp8266 ./stupyde/upcom.sh /dev/ttyUSB0

Ctrl+Q to leave terminal

tests are made on : GNU/Linux & H3Droid, cpython 3.7.1 and esp8266 / esp32