Error message
/home/taltal/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: mode_change.elf section `.iram0.text' will not fit in region `iram0_0_seg'
/home/taltal/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: IRAM0 segment data does not fit.
/home/taltal/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: region `iram0_0_seg' overflowed by 664 bytes
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
HINT: The applications static IRAM usage is larger than the available IRAM size.
For more information on how to reduze IRAM usage run 'idf.py docs -sp api-guides/performance/ram-usage.html#optimizing-iram-usage'
ninja failed with exit code 1, output of the command is in the /home/taltal/esp/examples/mode_change_esp32/build/log/idf_py_stderr_output_213975 and /home/taltal/esp/examples/mode_change_esp32/build/log/idf_py_stdout_output_213975
설명에 따라 아래 명령어를 실행하면, 안내 페이지가 또 나온다.
idf.py docs -sp api-guides/performance/ram-usage.html#optimizing-iram-usage
Executing action: docs
Opening documentation in the default browser:
https://docs.espressif.com/projects/esp-idf/en/v5.2.1/esp32/api-guides/performance/ram-usage.html#optimizing-iram-usage
gio: https://docs.espressif.com/projects/esp-idf/en/v5.2.1/esp32/api-guides/performance/ram-usage.html#optimizing-iram-usage: Operation not supported
RAM 사용을 최소화 하는 방법, 최적화 하는 방법 등에 대해 설명하는 페이지로 이동한다.
'MCU > ESP32' 카테고리의 다른 글
ESP32: IRAM_ATTR 충돌 오류 # warning: ignoring attribute 'section (".iram1.3")' because it conflicts with previous 'section (".iram1.0")' [-Wattributes] (0) | 2024.08.08 |
---|---|
ESP32: # Watch dog reset # save in NVS and load saved data from NVS # (0) | 2024.06.30 |
ESP-IDF: idf.py --ccache build (1) | 2024.05.01 |
Bluetooth: GATT Server vs Client (0) | 2024.04.27 |
ESP32: RTC and Low power mode (0) | 2024.04.19 |