Inkplate¶
Notes on the Inkplate boards.
MicroPython¶
Micropython for all of the Inkplate boards can be downloaded by cloning the repository:
$ git clone https://github.com/SolderedElectronics/Inkplate-micropython.git
$ cd Inkplate-micropython
then the firmware can be flashed directly with esptool:
$ esptool --port /dev/ttyUSB0 --chip esp32 --baud 115200 write_flash \
--flash_mode keep --flash_size keep --erase-all 0x1000 \
Inkplate-firmware.bin
under Debian, you may need to use --no-stub, because of #1043168_:
$ esptool --port /dev/ttyUSB0 --chip esp32 --baud 115200 --no-stub \
write_flash --flash_mode keep --flash_size keep 0x1000 \
Inkplate-firmware.bin
Then the libraries can be copied to the board from the local copy:
$ mpremote fs mkdir lib
$ mpremote fs cp <board>/package.json :lib/
$ mpremote fs cp <board>/<board>/*.py :lib/
$ mpremote fs cp Dependencies/*.py :lib/