Skip to content

Latest commit

 

History

History
89 lines (76 loc) · 3 KB

ReadMe.md

File metadata and controls

89 lines (76 loc) · 3 KB

Aiko Engine MP (microPython)

Contents

Pages

The Aiko Engine MP provides ...

git clone https://github.com/geekscape/aiko_engine_mp && cd aiko_engine_mp
workon micropython
  • Install mpfshell
pip install -U mpfshell
  • Plug in your ESP32 device and make sure you can see it, e.g ls /dev/tty.* provides e.g /dev/tty.wchserial1410
  • Export the serial port to an environment variable, so mpfshell can use it, e.g export AMPY_PORT=<port> where port is the device address shown by the ls command above
  • Download latest microPython
  • Flash microPython
./scripts/flash_micropython.sh
  • Run the Aiko Engine MP flash script
./scripts/mpf_flash.sh ./scripts/aiko.mpf

Note: For Lolin32-Lite boards, the serial port is notoriously problematic and requires a slight delay in order for the connection to occur properly. If you're seeing errors that look like ampy.pyboard.PyboardError: could not enter raw repl then this is probably related.

In this case, set a delay to sleep the program when it iss uploading the files: export AMPY_DELAY=4 will usually do the trick.

Associated open-source ESP32 hardware ...