summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-09-11 06:44:54 +0200
committertmk <nobody@nowhere>2013-09-11 06:44:54 +0200
commit8bc96ac57174692b7604ddc65e22dea6ddb1824b (patch)
tree89ea2e09d72d0634fc3201cfdd7b7a85a314e06c /common
parentf7395268c0826d00f2d32db8abb9eba7e3159a75 (diff)
downloadqmk_firmware-8bc96ac57174692b7604ddc65e22dea6ddb1824b.tar.gz
qmk_firmware-8bc96ac57174692b7604ddc65e22dea6ddb1824b.tar.xz
Add version string
Diffstat (limited to 'common')
-rw-r--r--common/command.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/command.c b/common/command.c
index 4649e00ab..7415645b0 100644
--- a/common/command.c
+++ b/common/command.c
@@ -252,9 +252,10 @@ static bool command_common(uint8_t code)
case KC_V: // print version & information
print("\n\n----- Version -----\n");
print(STR(DESCRIPTION) "\n");
- print(STR(MANUFACTURER) "(" STR(VENDOR_ID) ")/");
- print(STR(PRODUCT) "(" STR(PRODUCT_ID) ") ");
- print("VERSION: " STR(DEVICE_VER) "\n");
+ print("VID: " STR(VENDOR_ID) "(" STR(MANUFACTURER) ") PID: " STR(PRODUCT_ID) "(" STR(PRODUCT) ") VER: " STR(DEVICE_VER) "\n");
+ print("SRC: " STR(VERSION) "\n");
+ print("GCC: " STR(__GNUC__) "." STR(__GNUC_MINOR__) "." STR(__GNUC_PATCHLEVEL__) "\n");
+ print("AVR-LIBC: " __AVR_LIBC_VERSION_STRING__ "\n");
break;
case KC_T: // print timer
print_val_hex32(timer_count);