Merge commit '88cce08ce47b7b6f6f40b404fa79c6be687ab7e3' into sam-update

This commit is contained in:
Jason Kotzin 2022-08-10 20:24:43 -07:00
commit 56858650cb

View File

@ -152,17 +152,17 @@ bool cmd_version(target *t, int argc, char **argv)
(void)t; (void)t;
(void)argc; (void)argc;
(void)argv; (void)argv;
gdb_out(BOARD_IDENT);
#if PC_HOSTED == 1 #if PC_HOSTED == 1
char ident[256]; char ident[256];
gdb_ident(ident, sizeof(ident)); gdb_ident(ident, sizeof(ident));
gdb_outf("\n for %s\n", ident); DEBUG_WARN("%s\n", ident);
#else #else
gdb_out(BOARD_IDENT);
gdb_outf(", Hardware Version %d\n", platform_hwversion()); gdb_outf(", Hardware Version %d\n", platform_hwversion());
#endif
gdb_out("Copyright (C) 2015 Black Sphere Technologies Ltd.\n"); gdb_out("Copyright (C) 2015 Black Sphere Technologies Ltd.\n");
gdb_out("License GPLv3+: GNU GPL version 3 or later " gdb_out("License GPLv3+: GNU GPL version 3 or later "
"<http://gnu.org/licenses/gpl.html>\n\n"); "<http://gnu.org/licenses/gpl.html>\n\n");
#endif
return true; return true;
} }