Build Error no elf in rom | Cypress Semiconductor
Build Error no elf in rom
Half a year after I built successfully a device with a Cy8CKIT-049-41xx I wanted to edit the code but the build failed saying:
Build error: address 0xc5fc of .\ARM_GCC_493\Debug\PSoC_STM_Modell Prototype.elf section `.text' is not within region `rom'
Build error: .\ARM_GCC_493\Debug\PSoC_STM_Modell Prototype.elf section `.eh_frame' will not fit in region `rom'
Build error: section .cyloadablemeta loaded at [00007fc0,00007fff] overlaps section .text loaded at [00006b80,0000c5fb]
Build error: region `rom' overflowed by 0 bytes
Build error: The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
All errors referred to the file C:\\...\PSoC_STM_Modell Prototype.cydsn\Generated_Source\PSoC4\cm0gcc.ld
(PSoC_STM_Modell Prototype is the name of the project)
The bootloadable component has the dependencies to the .hex and .elf files in the "ARM GCC 484" folder. While building the project, a folder with the name "ARM GCC 493" has been created. This new folder doesn't contain the .hex or .elf files. The dependencies in the bootloadable component didn't change.
Any idea where the elves are hiding?
Thanks a lot