examples / hello_world / bootloader.elf section `.dram0.rodata' will not fit

julcol
Posts: 10
Joined: Tue Oct 29, 2024 1:23 am

examples / hello_world / bootloader.elf section `.dram0.rodata' will not fit

Postby julcol » Sun Nov 17, 2024 5:15 pm

Hi,

I am following the guide in

https://docs.espressif.com/projects/esp ... externally

So implement secureBoot.

using one the programs in the examples folders.

In step 7 I do idf.py build and I get

Code: Select all

.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: bootloader.elf section `.dram0.rodata' will not fit in region `dram_seg'
.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/12.2.0/../../../../xtensa-esp32s3-elf/bin/ld: region `dram_seg' overflowed by 2812 bytes
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
[272/935] Building C object esp-idf/hal/CMakeFiles/__idf_hal.dir/spi_slave_hd_hal.c.objninja: build stopped: subcommand failed.
ninja failed with exit code 1
The log files say

Compiler supported targets: xtensa-esp32s3-elf


Any idea what is happening ?

Thanks

JC

julcol
Posts: 10
Joined: Tue Oct 29, 2024 1:23 am

[solved] Re: examples / hello_world / bootloader.elf section `.dram0.rodata' will not fit

Postby julcol » Tue Nov 19, 2024 9:25 pm

I did an idf.py fullclean ...but later I did not execute idf.py set-target esp32s3.

it was not on my dependencies neither, hence, the message.

Now all works. Hope this helps some newbie like me

Who is online

Users browsing this forum: No registered users and 85 guests