Parcourir la source

console: support ESP32-C2 in the 'version' command

Ivan Grokhotkov il y a 3 ans
Parent
commit
0abf886284

+ 3 - 0
examples/system/console/advanced/components/cmd_system/cmd_system.c

@@ -87,6 +87,9 @@ static int get_version(int argc, char **argv)
         case CHIP_ESP32H2:
             model = "ESP32-H2";
             break;
+        case CHIP_ESP32C2:
+            model = "ESP32-C2";
+            break;
         default:
             model = "Unknown";
             break;