IRAM usage error while building custom firmware #13224
Replies: 3 comments 3 replies
-
I have found same question ... |
Beta Was this translation helpful? Give feedback.
-
This is my build script "mpb.sh": #!/bin/bash
export PATH="$HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
echo "=========================================================="
echo "Setting up for esp32 build"
echo "Using esp-idf-504"
export IDF_PATH="$HOME/disk/esp/esp-idf-504"
export IDF_TARGET="esp32"
source $IDF_PATH/export.sh
make V=1 BOARD=ESP32_GENERIC You may need to change the paths to suit your local installations. Put this script in the micropython/ports/esp32 and Remember to do Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
The same problem on |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm starting a project to build my own custom micropython firmware for esp32.
I first tried to build the
ESP32_GENERIC
board firmware usingESP-IDF
andmake
commands. However, I always find the same error:micropython.elf section
.iram0.text' will not fit in regioniram0_0_seg'
The applications static IRAM usage is larger than the available IRAM size.
I read other posts where it is suggested to modify partition table and configuration settings on sdkconfig file to optimize memory usage. However, none of these solutions worked for me.
I can't figure out what is going wrong. Any suggestions for me to try?
I'm using
ESP-IDF v5.0.4
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions