From c88e726e414e9222d4637c6b0a77c15e86f9c9d5 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Wed, 19 Apr 2023 11:15:13 -0400 Subject: [PATCH] update readme to include notes on compiling mpy form of kmk --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index ed84cd3..87cd0d0 100644 --- a/README.md +++ b/README.md @@ -1 +1,14 @@ This code is experimental. + +``` bash +docker run -v /scratch/kmk_firmware:/opt/kmk_firmware --rm -it --entrypoint=/bin/bash python:latest +cd /opt +wget https://adafruit-circuit-python.s3.amazonaws.com/bin/mpy-cross/mpy-cross.static-amd64-linux-8.0.5 +chmod a+x mpy-cross.static-amd64-linux-8.0.5 +./mpy-cross.static-amd64-linux-8.0.5 --help +mv mpy-cross.static-amd64-linux-8.0.5 /usr/bin/mpy-cross +mpy-cross --help +cd /opt/kmk_firmware +python util/compile.py +cp ~.compiled/kmk~ folder -> mcu +```