enable psram

This commit is contained in:
2025-03-28 13:11:49 -05:00
parent 91812adb85
commit 5329e3594e
2 changed files with 43 additions and 15 deletions
-9
View File
@@ -36,15 +36,6 @@ extern "C" void app_main(void) {
init_wires();
vTaskDelay(pdMS_TO_TICKS(1000));
char* str = (char*) heap_caps_malloc(10 * sizeof(char), MALLOC_CAP_SPIRAM);
if (str == nullptr) {
ESP_LOGI("main", "aww.");
} else {
sprintf(str, "mitchell");
ESP_LOGI("main", "Hello %s", str);
heap_caps_free(str);
}
// set_recording_source(stdout, false);
FILE* record_file = fopen(MOUNT_POINT "/record.txt", "w");
if (record_file == nullptr) {