LPC1769 built errors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1769 built errors

633 Views
lpcware
NXP Employee
NXP Employee
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=&quot][/FONT]
  [FONT=&quot] [/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=&quot] [/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=&quot]LPC1769 -d RTOS-TCPIP-FAT-LCD.bin;[/FONT][/COLOR]
  [COLOR=red][FONT=&quot]   text        data      bss       dec       hex      filename[/FONT][/COLOR]
  [COLOR=red][FONT=&quot] 287568        2416    30216  320200        4e2c8 RTOS-TCPIP-FAT-LCD.axf[/FONT][/COLOR]
  [COLOR=red][FONT=&quot] [/FONT][/COLOR]
  [FONT=Calibri]However, the following errors are detected:[/FONT]
  [FONT=&quot] [/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=&quot][/FONT][/COLOR]
  [COLOR=red]make[1]: [post-build] Error 3 (ignored)                                                                          C/C++ Problem[/COLOR][COLOR=red][FONT=&quot][/FONT][/COLOR]
  [COLOR=red][FONT=&quot] [/FONT][/COLOR]
  Some of the warnings indicated, for example:  [FONT=&quot][/FONT]
  [FONT=&quot] [/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=&quot][/FONT][/COLOR]
  [FONT=&quot] [/FONT]
  do not correspond. The variable temp is really used on the left side of an assignment[FONT=&quot].[/FONT]
  I thank you in advance for the help you can give me. Yours sincerely,[FONT=&quot][/FONT]
  Julio[FONT=&quot][/FONT]
  [COLOR=red][FONT=&quot] [/FONT][/COLOR]
  [COLOR=red][FONT=&quot] [/FONT][/COLOR]
  [FONT=&quot] [/FONT]
0 Kudos
Reply
1 Reply

587 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Apr 12 07:05:45 MST 2013
I suspect that you are seeing this...

http://support.code-red-tech.com/CodeRedWiki/ProblemViewMakeError

By the way, it sounds like you might have main project configured for Newlib with library projects the main project uses configured for Redlib. If this is the case, we would not recommend doing this. Switch all associated projects to use the same library type.

Regards,
CodeRedSupport
0 Kudos
Reply