Set a small but working heap size for esp32 without psram

This commit is contained in:
Jeff Epler 2022-07-13 11:10:00 -05:00
parent ea52ca66dc
commit f620c2901c
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -106,7 +106,7 @@ static size_t spiram_size_usable_for_malloc(void) {
// exclusively.
#ifdef CONFIG_IDF_TARGET_ESP32
// TODO: Determine better: 520kB of internal RAM; similar to 512kB for ESP32-S3.
#define HEAP_SIZE (176 * 1024)
#define HEAP_SIZE (48 * 1024)
#endif
#ifdef CONFIG_IDF_TARGET_ESP32S2
#define HEAP_SIZE (48 * 1024)