Unable to configure 8MB flash and PSRAM: "micropython.elf section .iram0.text' will not fit in region
iram0_0_seg'"
#15131
-
I have an 8MB ESP32-WROVER-IE with 8MB Quad SPI PSRAM. Need to configure both the flash and the PSRAM. I was successfully using uPy v1.16 with this hardware, compiled from source. Ideas?
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hmm. It's throwing that error even if I don't configure the RAM and flash. I erased the build directory and ran idf.py build, same error. Using the master from Github. Will try 1.22.2. |
Beta Was this translation helpful? Give feedback.
-
Yeah, 1.22.2 works, but it lacks this patch, which I need to test. Master branch fails even without configuration. Ideas? |
Beta Was this translation helpful? Give feedback.
-
Master branch works with esp-idf 5.1.2 but not 5.2--assuming I make no changes to the config. When I put back the RAM and flash options, got the same error message. It's possible that by entering menuconfig earlier I caused some change (even while making no actual changes inside the menu) when attempting to compile under 5.2. I dunno. Initial problem remains unresolved. Ideas? |
Beta Was this translation helpful? Give feedback.
-
I found a workaround using Created partitions-8MiB-ota.csv, put in the appropriate entries for my setup:
Then edited
Finally, ran make clean then I edited |
Beta Was this translation helpful? Give feedback.
I found a workaround using
make BOARD_VARIANT='SPIRAM'
and I skip usingidf.py menuconfig
entirely. I'm running esp-idf 5.1.2.Created partitions-8MiB-ota.csv, put in the appropriate entries for my setup:
Then edited
boards/sdkconfig.base
(I know I know, that's probably wrong) and adjusted these: