Code: Select all
ld.exe: myapp.elf section `.iram0.text' will not fit in region `iram0_0_seg'
ld.exe: IRAM0 segment data does not fit.
ld.exe: region `iram0_0_seg' overflowed by 6712 bytes
This is the size-components:
Code: Select all
Archive File DRAM .data & 0.bss .rtc_noinit IRAM0 .text & 0.vectors ram_st_total Flash .text & .rodata & .rodata_noload & .appdesc flash_total
libbt.a 4485 9279 0 344 0 14108 158730 45027 0 0 208586
libmain.a 290 55685 2 1043 0 57020 110641 84306 0 0 196282
libnet80211.a 758 6906 0 5186 0 12850 103318 11859 8073 0 129194
libbtdm_app.a 957 2851 0 30978 0 34786 88287 5451 0 0 125673
libarduino.a 326 643 0 0 0 969 88786 29709 0 0 118821
liblwip.a 21 3840 0 0 0 3861 102578 15544 0 0 118143
libc.a 8 0 0 0 0 8 83893 7181 0 0 91082
libpp.a 2447 1348 0 18349 0 22144 35120 4817 100 0 60833
libmbedcrypto.a 64 33 0 30 0 127 52608 5818 0 0 58520
libwpa_supplicant.a 12 1436 0 0 0 1448 45791 1423 0 0 47226
libdriver.a 239 168 0 5478 0 5885 27441 9075 0 0 42233
libphy.a 2361 640 0 8890 0 11891 28989 0 0 0 40240
libesp_littlefs.a 8 16 0 0 0 24 27582 5522 0 0 33112
libfreertos.a 4224 741 0 17643 424 23032 337 4566 0 0 27194
libspi_flash.a 1485 294 0 9622 0 11401 2189 2643 0 0 15939
libespcoredump.a 5336 972 0 0 0 6308 8602 1177 0 0 15115
libnvs_flash.a 0 24 0 0 0 24 14526 476 0 0 15002
libesp_system.a 205 211 0 3487 0 3903 6958 4078 0 0 14728
libstdc++.a 8 52 0 0 0 60 4219 10025 0 0 14252
libhal.a 194 0 0 7851 0 8045 4185 1075 0 0 13305
libheap.a 4 8 0 4880 0 4892 3039 4514 0 0 12437
libesp_hw_support.a 192 46 16 4590 0 4844 4751 1226 0 0 10775
libvfs.a 308 60 0 0 0 368 9399 672 0 0 10379
libbootloader_support.a 0 4 0 1650 0 1654 5170 3335 0 0 10155
libesp_netif.a 12 24 0 0 0 36 7300 2419 0 0 9731
libcoexist.a 1737 33 0 2837 0 4607 3666 293 0 0 8533
libesp_common.a 0 0 0 0 0 0 53 7799 0 0 7852
libesp_wifi.a 568 36 0 496 0 1100 4643 1979 0 0 7686
libefuse.a 144 140 0 0 0 284 4893 2220 0 0 7257
libesp_ringbuf.a 0 0 0 4536 0 4536 0 2544 0 0 7080
libesp_event.a 0 4 0 0 0 4 3592 1134 0 0 4726
libwifi_provisioning.a 4 8 0 0 0 12 2803 1123 0 0 3930
libesp_timer.a 32 24 0 1630 0 1686 1292 942 0 0 3896
libesp_phy.a 16 25 0 220 0 261 1955 1336 0 0 3527
libnewlib.a 237 440 0 1476 0 2153 1117 340 0 0 3170
librtc.a 0 4 0 2199 0 2203 0 0 0 0 2199
libapp_update.a 1 12 0 194 0 207 991 480 0 256 1922
libsoc.a 40 0 0 274 0 314 0 1510 0 0 1824
libsmartconfig.a 2 266 0 0 0 268 1134 520 0 0 1656
libpthread.a 16 12 0 231 0 259 885 462 0 0 1594
libxtensa.a 1024 0 0 77 0 1101 126 35 0 0 1262
liblog.a 8 272 0 277 0 557 831 143 0 0 1259
libesp_ipc.a 20 72 0 337 0 429 538 98 0 0 993
libcxx.a 8 16 0 0 0 24 662 225 0 0 895
libxt_hal.a 0 0 0 443 0 443 0 32 0 0 475
libgcc.a 0 0 0 0 0 0 210 160 0 0 370
libcore.a 0 33 0 0 0 33 247 48 0 0 295
libtcpip_adapter.a 0 17 0 0 0 17 228 0 0 0 228
libesp_rom.a 0 0 0 212 0 212 0 0 0 0 212
libjson.a 12 0 0 0 0 12 77 0 0 0 89
libprotocomm.a 0 0 0 0 0 0 66 0 0 0 66
(exe) 0 0 0 0 3 3 3 12 0 0 18
libesp_eth.a 4 0 0 0 0 4 0 10 0 0 14
libm.a 0 0 0 0 0 0 12 0 0 0 12
libesp_pm.a 0 0 0 0 0 0 8 0 0 0 8
libmbedtls.a 0 0 0 0 0 0 0 0 0 0 0
libmbedx509.a 0 0 0 0 0 0 0 0 0 0 0
libmesh.a 0 0 0 0 0 0 0 0 0 0 0
libprotobuf-c.a 0 0 0 0 0 0 0 0 0 0 0
libspiffs.a 0 0 0 0 0 0 0 0 0 0 0
Code: Select all
Total sizes:
Used static DRAM: 115080 bytes ( 9500 remain, 92.4% used)
.data size: 28104 bytes
.bss size: 86976 bytes
Used static IRAM: 137782 bytes ( -6710 remain, 105.1% used) Overflow detected!
.text size: 136755 bytes
.vectors size: 1027 bytes
Used Flash size : 1360868 bytes
.text : 1063263 bytes
.rodata : 297349 bytes
Total image size: 1526754 bytes (.bin may be padded larger)
Per-file contributions to ELF file:
Object File DRAM .data & 0.bss .rtc_noinit IRAM0 .text & 0.vectors ram_st_total Flash .text & .rodata & .rodata_noload & .appdesc flash_total
...
(too large to include)