summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-01-31 19:36:55 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-01-31 19:36:55 (GMT)
commit262d93c76cca638a832cf21cc44393df31bc7940 (patch)
tree12f510ea19981330d452402c04be01d0023c8c16 /Makefile
parente36caf59975b9705aff4f15d6642043aec4f27c6 (diff)
wasp: simulator: First steps towards a simulator
Currently this just traces SPI activity from the ST7789 driver but its a good baseline to start building up test functions from.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6cc89a3..c990d14 100644
--- a/Makefile
+++ b/Makefile
@@ -53,5 +53,10 @@ debug:
-ex "attach 1" \
-ex "load"
+sim:
+ PYTHONDONTWRITEBYTECODE=1 \
+ PYTHONPATH=$(PWD)/wasp/boards/simulator:$(PWD)/wasp \
+ python3 -i wasp/boot.py
+
.PHONY: bootloader micropython