ESP32-Console

This commit is contained in:
2025-01-13 22:24:55 -05:00
parent 63fa3e928b
commit ca9197e16c

View File

@@ -41,6 +41,7 @@ static int exec_info_cmd (int argc, char **argv) {
uint32_t free_internal_memory = heap_caps_get_free_size(MALLOC_CAP_INTERNAL);
ESP_LOGW("CLI", "Information about microcontroller chip.");
ESP_LOGI("Chip Info", "Source Clock Frequency: %" PRIu32 " MHz", freq_config.source_freq_mhz);
ESP_LOGI("Chip Info", "Effective CPU Frequency: %" PRIu32 " MHz", freq_config.freq_mhz);
ESP_LOGI("Memory Info", "Total DRAM (internal memory): %"PRIu32" bytes", total_internal_memory);
ESP_LOGI("Memory Info", "Free DRAM (internal memory): %"PRIu32" bytes", free_internal_memory);