Topic : why the compiler gives this error ?

Forum : ARM

Original Post
Post Information Post
September 22, 2010 - 5:00pm
Guest

Building D:\Raisonance\Ride\Examples\gpio\gpio.rapp
Running: LD Linker
"D:\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -mcpu=cortex-m3 -mthumb -Wl,-T -Xlinker "D:\Raisonance\Ride\Examples\gpio\gpio.elf.ld" -u _start -Wl,-static -Wl,--gc-sections -nostartfiles -Wl,-Map -Xlinker "D:\Raisonance\Ride\Examples\gpio\gpio.map"
d:/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.3.2/../../../../arm-none-eabi/bin/ld.exe: D:\Raisonance\Ride\Examples\gpio\gpio.elf section .text will not fit in region FLASH
D:\Raisonance\Ride\Examples\gpio\gpio.elf.ld:41: undefined symbol `!!!!!!!!! FLASH IS FULL !!!!!!!!!' referenced in expression
collect2: ld returned 1 exit status

Build failed

Replies
Post Information Post
+1
0
-1
September 23, 2010 - 10:18pm
Guest

hello ,

in Raisonance webpage it says
RIDE7 for ARM is unlimited free

why the compiler limits my program to 32 Kbyte ?

+1
0
-1
September 24, 2010 - 9:07am
Raisonance Support Team

Hi BrickWall,

The compilation toolchain offered by RKit-ARM is GCC-based, and is NOT limited.
However, our RLink debugger sometimes comes as "Standard" version, which is limited to 32KB debugging.

To avoid any difficult problems while debugging with these versions, there is a linker option that explicitly limits the linker to 32KB of code.

From Ride7, go to "LD Linker options | Scripts | Starter Kit limited" and ensure that the option os set to "No".

This should solve your issue.

Regards,

+1
0
-1
January 23, 2018 - 3:42pm
Paw Bur

Hi,

I got similar problem...

I set Starter Kit limited to NO and still the comipler won't let me to compile the project (or rather linker)... in map logs I have...
"
0x200005e4 . = ALIGN (0x4)

0x200005e4 _edata = .
0x08001750 _eidata = (_sidata + (_edata - _sdata))
0x08010000 _lastdataromaddress = (ORIGIN (FLASH) + LENGTH (FLASH))
0x00000000 ___toobig___ = (_eidata > _lastdataromaddress)?0x1:0x0
0x00000000 ___SK_limit_msg___ = (___toobig___ & ___SK_limit___)?!!! RKit-ARM Lite limit reached. See !Starter Kit Limited! linker option !!!:0x0
0x00000000 ___toobigmsg___ = ___toobig___?!!!!!!!!! FLASH IS FULL !!!!!!!!!:0x0
"

using Ride7_7.68.17.0191.exe and RKit-ARM_1.66.17.0191.exe

Pawel

+1
0
-1
January 23, 2018 - 3:43pm
Paw Bur

Please help me