How to know use limit program size?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by fumio yoshizawa on Thu Apr 10 22:51:13 MST 2014
I want to know about limit program size.
Because I met error at build phrase about this. (collect2.exe: error: ld returned 1 exit status)
Remove some routine and build I get this result.
text   data      bss    dec    hex    filename
4764   4         448    5216  1460   RS486_t1.axf

My target board use LPC11U14(LPC11U14FBD48).  (Flash  32kb , SRAM  6kb)
code_red info say.
the flash consumption of your application will then be text + data.
the RAM consumption of your application will then be data + bss.

I think still enough memory exist.
Please tell me about cause of the error.

Best Regards,
Fumio Yoshizawa,  from Japan.