From cd04106a830e70037225f9c7e312984a97447a3f Mon Sep 17 00:00:00 2001 From: barthess Date: Tue, 6 Sep 2011 14:06:43 +0000 Subject: 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 --- os/various/shell.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'os') 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[]) { -- cgit v1.2.3