Problem in qspi flash and attribute

hi all
ihave some problem for working qspi flash
[.ExtQSPIFlashSection]: No space left on device

i aded
attribute((section(“ExtQSPIFlashSection”)))
in image c code

and add qspi to ld script
MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 320K
QSPI (rw) : ORIGIN = 0x90000000, LENGTH = 16M
}
and at end of file
.ExtQSPIFlashSection :
{
*(ExtQSPIFlashSection)
} >QSPI

It’s happening because the IDE is trying to generate a binary from your ELF file. The binary is trying to store the gap between regular Flash and QSPI. That gap is so large that you don’t have space on your disk to store it (and in any case, you wouldn’t be able to flash this).

I suggest that you look in the IDE’s settings and have it generate a HEX file instead. Those don’t have this problem.