Hi gentleman,
I'm developing an application on Primer-2 but if I exceed 8K the compiler/linker tells me:
----------------Make Started: 'Application0' in configuration 'Circle_Release'--------------------------
Building C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\Application.c
Running: GCC
\"C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -MD -D_STM32F103VET6_ -D_STM3x_ -D_STM32x_ -mthumb -mcpu=cortex-m3 "C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\Application.c" -o "C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\objrelease\Application.o" -I "." -I "C:\Program Files\Raisonance\Ride\Lib\ARM\include" -c -fsigned-char -Os -ffunction-sections -mlittle-endian
\"C:\Program Files\Raisonance\Ride\Bin\rexrdr.exe" "C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\objrelease\Application.lst" 0 "C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-objdump.exe" --disassemble -all --source "C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\objrelease\Application.o"
\"C:\Program Files\Raisonance\Ride\Bin\rexrdr.exe" "C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\objrelease\Application.o.sizetmp" 0 "C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-size.exe" "C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\objrelease\Application.o"
Building C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\Application0.rapp
Running: LD
\"C:\Program Files\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -mcpu=cortex-m3 -mthumb -Wl,-T -Xlinker "C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\objrelease\Application0.elf.ld" -u _start -nostartfiles -Wl,-Map -Xlinker "C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\objrelease\Application0.map"
c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../../../../arm-none-eabi/bin/ld.exe: C:\ENRICO\Raisonance\Primer2\GardenIrrigator2\objrelease\Application0.elf section .text will not fit in region FLASH
c:/program files/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../../../../arm-none-eabi/bin/ld.exe: region FLASH overflowed by 440 bytes
collect2: ld returned 1 exit status
Build failed
The question is:
Which is the maximum space for the program ?
Thank you very much in advance for the answer.
E.M.