1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00

use -i (inspect) feature of micropython

This commit is contained in:
Pavol Rusnak 2016-04-01 20:04:59 +02:00
parent 9cb42cc88d
commit 4ddde025db
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
3 changed files with 6 additions and 3 deletions

View File

@ -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

2
emu.sh
View File

@ -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

2
vendor/micropython vendored

@ -1 +1 @@
Subproject commit ab1072883ffbac8610f53e75a826f6fac9780106
Subproject commit 168d1e35d1536ce30bdf793d7f8b117a970f1279