-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Status: StaleIssue is stale stage (outdated/stuck)Issue is stale stage (outdated/stuck)
Description
I'm trying to make the himem banking demo work. Tried with platformio and the arduino ide, see this forum discussion.
Latest IDE, github head https://github.com/espressif/arduino-esp32.git, latest MacOS, target is based on WROVER (TTGO T7 v1.3).
The test code I have is:
extern "C" {
#include <esp_spiram.h>
#include <esp_himem.h>
}
void setup() {
esp_spiram_init();
printf("spiram size %u\n", esp_spiram_get_size());
printf("himem free %u\n", esp_himem_get_free_size());
printf("himem phys %u\n", esp_himem_get_phys_size());
printf("himem reserved %u\n", esp_himem_reserved_area_size());
}
void loop() {}
The output I see is:
entry 0x400806a8
E (121) spiram: SPI RAM not initialized
E (121) esp_himem: Cannot allocate memory for meta info. Not initializing!
spiram size 8388608
himem free 0
himem phys 4456448
himem reserved 262144
What I don't understand is the "himem free 0".
Metadata
Metadata
Assignees
Labels
Status: StaleIssue is stale stage (outdated/stuck)Issue is stale stage (outdated/stuck)