mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 07:28:10 +00:00
use -i (inspect) feature of micropython
This commit is contained in:
parent
9cb42cc88d
commit
4ddde025db
5
Makefile
5
Makefile
@ -3,7 +3,10 @@ STMHAL_BUILD_DIR=vendor/micropython/stmhal/build-TREZORV2
|
|||||||
help: ## show this help
|
help: ## show this help
|
||||||
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36mmake %-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
|
@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
|
build_stmhal: ## build stmhal port
|
||||||
make -C vendor/micropython/stmhal
|
make -C vendor/micropython/stmhal
|
||||||
|
2
emu.sh
2
emu.sh
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd `dirname $0`/src
|
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
2
vendor/micropython
vendored
@ -1 +1 @@
|
|||||||
Subproject commit ab1072883ffbac8610f53e75a826f6fac9780106
|
Subproject commit 168d1e35d1536ce30bdf793d7f8b117a970f1279
|
Loading…
Reference in New Issue
Block a user