ESP32-Console

This commit is contained in:
2025-01-13 22:28:13 -05:00
parent 7e4916cb5d
commit cf990c65eb

View File

@@ -36,6 +36,7 @@ static int exec_info_cmd (int argc, char **argv) {
rtc_clk_cpu_freq_get_config(&freq_config);
esp_chip_info_t chip_info;
esp_chip_info(&chip_info);
uint32_t total_internal_memory = heap_caps_get_total_size(MALLOC_CAP_INTERNAL);
uint32_t free_internal_memory = heap_caps_get_free_size(MALLOC_CAP_INTERNAL);