AnsweredAssumed Answered

LPC1769 Release build

Question asked by Neel Shah on Mar 13, 2019
Latest reply on Mar 17, 2019 by Neel Shah



The LPC1769 code (usbd_lib_cdc_uart) from LPCOpen 2.1.0 is running in Debug mode on my dev kit just fine. However when I try to compile it into Release build I get this error:




What are we missing?


The entire error reads like this:


18:11:49 **** Incremental Build of configuration Release for project usbd_lib_cdc_uart **** make -r -j4 all Building target: usbd_lib_cdc_uart.axf Invoking: MCU Linker arm-none-eabi-gcc -nostdlib -L"C:\Users\Durgesh\Documents\MCUXpressoIDE_10.3.0_2200\workspace\lpc_chip_175x_6x\libs" -Xlinker -Map="" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "usbd_lib_cdc_uart_Release.ld" -o "usbd_lib_cdc_uart.axf" ./example/src/cdc_desc.o ./example/src/cdc_main.o ./example/src/cdc_uart.o ./example/src/cr_startup_lpc175x_6x.o ./example/src/sysinit.o -llpc_board_nxp_lpcxpresso_1769 -llpc_chip_175x_6x -lusbd_175x_6x_lib c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/ cannot find -llpc_board_nxp_lpcxpresso_1769 c:/nxp/mcuxpressoide_10.3.0_2200/ide/plugins/ cannot find -llpc_chip_175x_6x collect2.exe: error: ld returned 1 exit status make: *** [makefile:32: usbd_lib_cdc_uart.axf] Error 1 18:11:49 Build Finished (took 196ms)