From 7dc716a05afa3ec7306580542c7d329142f7601b Mon Sep 17 00:00:00 2001 From: slush0 Date: Tue, 29 Mar 2016 12:41:06 +0200 Subject: [PATCH] Stub for python src & emu.sh --- emu.sh | 5 +++++ src/boot.py | 0 src/main.py | 7 +++++++ 3 files changed, 12 insertions(+) create mode 100755 emu.sh create mode 100644 src/boot.py create mode 100644 src/main.py diff --git a/emu.sh b/emu.sh new file mode 100755 index 00000000..014cf0fe --- /dev/null +++ b/emu.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +cd `dirname $0`/src + +../vendor/micropython/unix/micropython main.py diff --git a/src/boot.py b/src/boot.py new file mode 100644 index 00000000..e69de29b diff --git a/src/main.py b/src/main.py new file mode 100644 index 00000000..8b1a046b --- /dev/null +++ b/src/main.py @@ -0,0 +1,7 @@ +print("cus") + +from TrezorUi import Display + +d = Display() +d.bar(0, 0, 240, 240, 0) +while True: pass