2020 February 29 Breaking Changes Update (#8064)
[jackhill/qmk/firmware.git] / tmk_core / common / command.c
index 900de54..77a205e 100644 (file)
@@ -153,6 +153,9 @@ static void print_version(void) {
     print("BUILD:  (" __DATE__ ")\n");
 #else
     print("BUILD: " STR(QMK_VERSION) " (" __TIME__ " " __DATE__ ")\n");
+#    ifdef PROTOCOL_CHIBIOS
+    print("CHIBIOS: " STR(CHIBIOS_VERSION) ", CONTRIB: " STR(CHIBIOS_CONTRIB_VERSION) "\n");
+#    endif
 #endif
 
     /* build options */
@@ -182,6 +185,9 @@ static void print_version(void) {
 #ifdef NKRO_ENABLE
           " NKRO"
 #endif
+#ifdef LINK_TIME_OPTIMIZATION_ENABLE
+          " LTO"
+#endif
 
           " " STR(BOOTLOADER_SIZE) "\n");