summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-04 16:09:29 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-04 16:09:29 +0100
commit6582a4170d338b72d8f0894fffa14c46ebe5fa5e (patch)
treef6e06d4e0eadc1d33d5104eaeef61fcae400ff77 /stmhal
parent70193b2b4c377c65d45cd1e6a9ab96d61c61f262 (diff)
parentbf7d690e36f200c429b82b1eba0102675bfe4aa4 (diff)
downloadmicropython-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.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