Content originally posted in LPCWare by julitoss on Thu Apr 11 14:36:45 MST 2013
Hi,
I am grateful for the valuable assistance that I received from this forum. When compiling (LPCXpresso v.5.1.2_2065) an application for the LPC1769 (using newlib in the project that contains the main function, the rest of the projects in the workspace using redlib) the last error that you helped me to correct was the following:[FONT="][/FONT]
[FONT="] [/FONT]
[COLOR=red]region `RamLoc32' overflowed by 896 bytes [/COLOR]
[COLOR=red]RTOS-TCPIP-FAT-LCD.axf section `.bss' will not fit in region `RamLoc32' [/COLOR]
[FONT="] [/FONT]
[FONT=Calibri]After reducing the size of some arrays contained in the .bss section, to compile again, the .axf of the project is generated:[/FONT]
[FONT=Calibri] [/FONT]
[COLOR=red][FONT="]LPC1769 -d RTOS-TCPIP-FAT-LCD.bin;[/FONT][/COLOR]
[COLOR=red][FONT="] text data bss dec hex filename[/FONT][/COLOR]
[COLOR=red][FONT="] 287568 2416 30216 320200 4e2c8 RTOS-TCPIP-FAT-LCD.axf[/FONT][/COLOR]
[COLOR=red][FONT="] [/FONT][/COLOR]
[FONT=Calibri]However, the following errors are detected:[/FONT]
[FONT="] [/FONT]
[COLOR=red]make: *** [RTOS-TCPIP-FAT-LCD.axf] Error 1 C/C++ Problem[/COLOR]
[COLOR=red]make: *** [Source/cr_startup_lpc176x.o] Error 1 C/C++ Problem[/COLOR]
[COLOR=red]make: *** [Source/EjemploSocketTCP.o] Error 1 C/C++ Problem[/COLOR]
[COLOR=red]make: *** [Source/gsoap-lwip-io.o] Error 1 C/C++ Problem[/COLOR]
[COLOR=red]make: *** [Source/lpc17xx_can.o] Error 1 C/C++ Problem[/COLOR]
[COLOR=red]make: *** [Source/lwIP/api/sockets.o] Error 1 C/C++ Problem[/COLOR]
[COLOR=red]make: *** [Source/lwIP/core/init.o] Error 1 C/C++ Problem[/COLOR]
[COLOR=red]make: *** [Source/lwIP/lwIP_Apps/lwIP_Apps.o] Error 1 C/C++ Problem[/COLOR]
[COLOR=red]make: *** [Source/lwIP/netif/etharp.o] Error 1 C/C++ Problem[/COLOR]
[COLOR=red]make: *** [Source/soapC.o] Error 1 C/C++ Problem[/COLOR][COLOR=red][FONT="][/FONT][/COLOR]
[COLOR=red]make[1]: [post-build] Error 3 (ignored) C/C++ Problem[/COLOR][COLOR=red][FONT="][/FONT][/COLOR]
[COLOR=red][FONT="] [/FONT][/COLOR]
Some of the warnings indicated, for example: [FONT="][/FONT]
[FONT="] [/FONT]
[COLOR=red]variable 'temp' set but not used [-Wunused-but-set-variable] lpc17xx_can.c /lpc17xx.cmsis.driver.library/Source line 138 C/C++ Problem, [/COLOR][COLOR=red][FONT="][/FONT][/COLOR]
[FONT="] [/FONT]
do not correspond. The variable temp is really used on the left side of an assignment[FONT="].[/FONT]
I thank you in advance for the help you can give me. Yours sincerely,[FONT="][/FONT]
Julio[FONT="][/FONT]
[COLOR=red][FONT="] [/FONT][/COLOR]
[COLOR=red][FONT="] [/FONT][/COLOR]
[FONT="] [/FONT]