summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/pyexec.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-04-03 16:32:58 -0700
committerDave Hylands <dhylands@gmail.com>2014-04-03 16:55:15 -0700
commitbf7d690e36f200c429b82b1eba0102675bfe4aa4 (patch)
tree8c7354fbd532ceab9dce537820eef9c690ba9a5f /stmhal/pyexec.c
parent5bf565e353b73bc87e0b918368dadac701644078 (diff)
downloadmicropython-bf7d690e36f200c429b82b1eba0102675bfe4aa4.tar.gz
micropython-bf7d690e36f200c429b82b1eba0102675bfe4aa4.zip
Add the git version to the banner
Diffstat (limited to 'stmhal/pyexec.c')
-rw-r--r--stmhal/pyexec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/stmhal/pyexec.c b/stmhal/pyexec.c
index 999264d1cb..8bc3ec6e5e 100644
--- a/stmhal/pyexec.c
+++ b/stmhal/pyexec.c
@@ -23,6 +23,7 @@
#include "pyexec.h"
#include "storage.h"
#include "usb.h"
+#include "build/py/py-version.h"
pyexec_mode_kind_t pyexec_mode_kind = PYEXEC_MODE_FRIENDLY_REPL;
STATIC bool repl_display_debugging_info = 0;
@@ -155,7 +156,7 @@ int pyexec_friendly_repl(void) {
#endif
friendly_repl_reset:
- stdout_tx_str("Micro Python build <git hash> on 25/1/2014; " MICROPY_HW_BOARD_NAME " with STM32F405RG\r\n");
+ stdout_tx_str("Micro Python build " MICROPY_GIT_HASH " on " MICROPY_BUILD_DATE "; " MICROPY_HW_BOARD_NAME " with STM32F405RG\r\n");
stdout_tx_str("Type \"help()\" for more information.\r\n");
// to test ctrl-C