Closed
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".