I am running into an issue when I try to build my Application that includes the bootloader as an embedded resource.
The application runs entirely out of SRAM because the actual binary is stored in external flash memory.
The bootloader builds and flashes fine when built/debug in isolation.
The build process can’t make it past “Wrapping”
The linker produces this error:
[1/7] Updating EmbeddedResources.h
[2/7] Wrapping C:/<redacted>/build/VisualGDB/Debug/<redacted>.bin
FAILED: <redacted>_embedded_bin.o0
cmd.exe /C "cd /D C:<redacted> && c:\SysGCC\arm-eabi\bin\arm-none-eabi-ld.exe -r -b binary C:<redacted>/build/VisualGDB/Debug/<redacted>.bin -o C:<redacted>/build/VisualGDB/Debug/<redacted>_embedded_bin.o0"
c:\SysGCC\arm-eabi\bin\arm-none-eabi-ld.exe: final link failed: memory exhausted
Any insight would be appreciated.