AnsweredAssumed Answered

STM32F746G Binary size exceeds rodata’ will not fit in region `FLASH

Question asked by RAJEESH RARANKURISSI on Mar 8, 2018
Latest reply on Mar 8, 2018 by Uwe Bonnes

I am using STM32F746G Discovery board . I am facing an issue with image size. 
My binary size is more than 1MB and gets an error 
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.15.0.201708311556/tools/compiler/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: STM32F746emWin.elf section `.rodata’ will not fit in region `FLASH’ 
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.15.0.201708311556/tools/compiler/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH’ overflowed by 106964 bytes 
collect2.exe: error: ld returned 1 exit status 
makefile:43: recipe for target ‘STM32F746emWin_ATMEGD10.elf’ failed 
make: *** STM32F746emWin.elf Error 1

How can I keep my image in external flash and execute from there 
Can I use internal and external flash together continuesly . 

How can I do this ? Can any body help me to do it 

 

Outcomes