diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-07 13:27:50 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-07 13:27:50 +0100 |
commit | 6827f9fc55e748a069a44f4e3681c26518e1dbca (patch) | |
tree | 4b75ad1493c6734218bd3d6bb936d2701a1325f4 /teensy/main.c | |
parent | 6c6f9d6782bcb35018dac46900a6c836e3746e0e (diff) | |
download | micropython-6827f9fc55e748a069a44f4e3681c26518e1dbca.tar.gz micropython-6827f9fc55e748a069a44f4e3681c26518e1dbca.zip |
Add uPy welcome message to UNIX and Windows ports; update Teensy port.
Partly addresses issue #154.
Diffstat (limited to 'teensy/main.c')
-rw-r--r-- | teensy/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/teensy/main.c b/teensy/main.c index 139bd88683..bfb7413e7f 100644 --- a/teensy/main.c +++ b/teensy/main.c @@ -19,6 +19,7 @@ #include "usb.h" #include "gc.h" #include "led.h" +#include "build/py/py-version.h" #include "Arduino.h" @@ -380,7 +381,7 @@ bool do_file(const char *filename) { } void do_repl(void) { - stdout_tx_str("Micro Python for Teensy 3.1\r\n"); + stdout_tx_str("Micro Python build " MICROPY_GIT_HASH " on " MICROPY_BUILD_DATE "; Teensy 3.1 version\n"); stdout_tx_str("Type \"help()\" for more information.\r\n"); vstr_t line; |