diff --git a/examples/system/console/advanced/components/cmd_system/cmd_system_common.c b/examples/system/console/advanced/components/cmd_system/cmd_system_common.c index d027ecc405..8daa5e5cca 100644 --- a/examples/system/console/advanced/components/cmd_system/cmd_system_common.c +++ b/examples/system/console/advanced/components/cmd_system/cmd_system_common.c @@ -81,6 +81,12 @@ static int get_version(int argc, char **argv) case CHIP_ESP32C2: model = "ESP32-C2"; break; + case CHIP_ESP32P4: + model = "ESP32-P4"; + break; + case CHIP_ESP32C5: + model = "ESP32-C5"; + break; default: model = "Unknown"; break; @@ -153,7 +159,7 @@ static void register_free(void) ESP_ERROR_CHECK( esp_console_cmd_register(&cmd) ); } -/* 'heap' command prints minumum heap size */ +/* 'heap' command prints minimum heap size */ static int heap_size(int argc, char **argv) { uint32_t heap_size = heap_caps_get_minimum_free_size(MALLOC_CAP_DEFAULT);