forked from espressif/esp-idf
console: support ESP32-C2 in the 'version' command
This commit is contained in:
@@ -87,6 +87,9 @@ static int get_version(int argc, char **argv)
|
|||||||
case CHIP_ESP32H2:
|
case CHIP_ESP32H2:
|
||||||
model = "ESP32-H2";
|
model = "ESP32-H2";
|
||||||
break;
|
break;
|
||||||
|
case CHIP_ESP32C2:
|
||||||
|
model = "ESP32-C2";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
model = "Unknown";
|
model = "Unknown";
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user