summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-09-11 13:44:54 +0900
committertmk <nobody@nowhere>2013-09-11 13:44:54 +0900
commit8bc96ac57174692b7604ddc65e22dea6ddb1824b (patch)
tree89ea2e09d72d0634fc3201cfdd7b7a85a314e06c /common
parentf7395268c0826d00f2d32db8abb9eba7e3159a75 (diff)
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 4649e00ab0..7415645b0d 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);