Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant build project in espressif-IDE (iram overflow) #20

Open
Playedswag opened this issue Jan 4, 2024 · 3 comments
Open

Cant build project in espressif-IDE (iram overflow) #20

Playedswag opened this issue Jan 4, 2024 · 3 comments

Comments

@Playedswag
Copy link

I cant build the project and flash it, i get this error:
c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: hackingtool.elf section .iram0.text' will not fit in region iram0_0_seg'
c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: IRAM0 segment data does not fit.
c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch5-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: region `iram0_0_seg' overflowed by 2416 bytes
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Build complete (3 errors, 0 warnings): C:\esp32_hackingtool-main\build
C:\Espressif\python_env\idf4.4_py3.11_env\Scripts\python.exe C:\Espressif\frameworks\esp-idf-v4.4.6\tools\idf_size.py C:/esp32_hackingtool-main/build/hackingtool.map
Total sizes:

Used static DRAM: 55156 bytes ( 69424 remain, 44.3% used)

  .data size:   20052 bytes

  .bss  size:   35104 bytes

Used static IRAM: 133486 bytes ( -2414 remain, 101.8% used) Overflow detected! You can run idf.py size-files for more information.

  .text size:  132459 bytes

.vectors size: 1027 bytes

Used Flash size : 2135030 bytes

  .text     : 1017439 bytes

  .rodata   : 1117335 bytes

Total image size: 2288568 bytes (.bin may be padded larger). Can i lower the usage somehow?

@Kl0ibi
Copy link
Owner

Kl0ibi commented Jan 4, 2024

Hey, please lower the log level especially for esp-idf files like bluetooth and wifi!

@Playedswag
Copy link
Author

Playedswag commented Jan 4, 2024

Hey, please lower the log level especially for esp-idf files like bluetooth and wifi!

Im not sure but i think, I have not enabled logging for bluetooth and I cant find the option for wifi.

@M6ct0night
Copy link

We want to extract the files from the compilation, change its language, and add some new features. How can we open this compilation file, and which programs can we use to edit this file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants