diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-04 16:09:29 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-04 16:09:29 +0100 |
commit | 6582a4170d338b72d8f0894fffa14c46ebe5fa5e (patch) | |
tree | f6e06d4e0eadc1d33d5104eaeef61fcae400ff77 /stmhal | |
parent | 70193b2b4c377c65d45cd1e6a9ab96d61c61f262 (diff) | |
parent | bf7d690e36f200c429b82b1eba0102675bfe4aa4 (diff) | |
download | micropython-6582a4170d338b72d8f0894fffa14c46ebe5fa5e.tar.gz micropython-6582a4170d338b72d8f0894fffa14c46ebe5fa5e.zip |
Merge pull request #421 from dhylands/git-version
Add the git version and build-date to the banner
Diffstat (limited to 'stmhal')
-rw-r--r-- | stmhal/pyexec.c | 3 |
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 |