diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-06 14:06:43 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-06 14:06:43 +0000 |
commit | cd04106a830e70037225f9c7e312984a97447a3f (patch) | |
tree | aa0cb5b693c81635ad7c75ceaf5494790a9ef20f /os | |
parent | c14c1959b1186bc79dd223f0a744a8220874bc5a (diff) | |
download | ChibiOS-cd04106a830e70037225f9c7e312984a97447a3f.tar.gz ChibiOS-cd04106a830e70037225f9c7e312984a97447a3f.tar.bz2 ChibiOS-cd04106a830e70037225f9c7e312984a97447a3f.zip |
Added date/time of build in "info" screen.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3291 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/various/shell.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/various/shell.c b/os/various/shell.c index d47df283d..5f2fc760b 100644 --- a/os/various/shell.c +++ b/os/various/shell.c @@ -103,6 +103,11 @@ static void cmd_info(BaseChannel *chp, int argc, char *argv[]) { #ifdef BOARD_NAME
chprintf(chp, "Board: %s\r\n", BOARD_NAME);
#endif
+#ifdef __DATE__
+#ifdef __TIME__
+ chprintf(chp, "Build time: %s%s%s\r\n", __DATE__, " - ", __TIME__);
+#endif
+#endif
}
static void cmd_systime(BaseChannel *chp, int argc, char *argv[]) {
|