diff --git a/Makefile b/Makefile index 52098c702..fa3054ae4 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,10 @@ STMHAL_BUILD_DIR=vendor/micropython/stmhal/build-TREZORV2 help: ## show this help @awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36mmake %-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) -build: build_stmhal build_unix ## build both stmhal and unix micropython ports +submodule_update: ## update git submodules + git submodule update + +build: submodule_update build_stmhal build_unix ## build both stmhal and unix micropython ports build_stmhal: ## build stmhal port make -C vendor/micropython/stmhal diff --git a/emu.sh b/emu.sh index 043893325..1a873bbfe 100755 --- a/emu.sh +++ b/emu.sh @@ -1,4 +1,4 @@ #!/bin/bash cd `dirname $0`/src -../vendor/micropython/unix/micropython -O0 -X heapsize=100000 main.py +../vendor/micropython/unix/micropython -i -O0 -X heapsize=100000 main.py diff --git a/vendor/micropython b/vendor/micropython index ab1072883..168d1e35d 160000 --- a/vendor/micropython +++ b/vendor/micropython @@ -1 +1 @@ -Subproject commit ab1072883ffbac8610f53e75a826f6fac9780106 +Subproject commit 168d1e35d1536ce30bdf793d7f8b117a970f1279