Set a small but working heap size for esp32 without psram
This commit is contained in:
parent
ea52ca66dc
commit
f620c2901c
@ -106,7 +106,7 @@ static size_t spiram_size_usable_for_malloc(void) {
|
|||||||
// exclusively.
|
// exclusively.
|
||||||
#ifdef CONFIG_IDF_TARGET_ESP32
|
#ifdef CONFIG_IDF_TARGET_ESP32
|
||||||
// TODO: Determine better: 520kB of internal RAM; similar to 512kB for ESP32-S3.
|
// TODO: Determine better: 520kB of internal RAM; similar to 512kB for ESP32-S3.
|
||||||
#define HEAP_SIZE (176 * 1024)
|
#define HEAP_SIZE (48 * 1024)
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_IDF_TARGET_ESP32S2
|
#ifdef CONFIG_IDF_TARGET_ESP32S2
|
||||||
#define HEAP_SIZE (48 * 1024)
|
#define HEAP_SIZE (48 * 1024)
|
||||||
|
Loading…
Reference in New Issue
Block a user