AnsweredAssumed Answered

cant build after change the package

Question asked by wu yunfeng on Jul 13, 2019
Latest reply on Jul 24, 2019 by Jing Pan

cant build after change the package.I try to change the example project package from MKE15Z256VLL7 to MKE15Z256VLH7. The error shows below.

 


Building target: frdmke15z_lpuart_interrupt_transfer_learn.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -Map="frdmke15z_lpuart_interrupt_transfer_learn.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -Xlinker --sort-section=alignment -Xlinker --cref -mcpu=cortex-m0plus -mthumb -T frdmke15z_lpuart_interrupt_transfer_learn_Debug.ld -o "frdmke15z_lpuart_interrupt_transfer_learn.axf" ./utilities/fsl_assert.o ./utilities/fsl_debug_console.o ./utilities/fsl_str.o ./startup/startup_mke15z7.o ./source/lpuart_interrupt_transfer.o ./source/mtb.o ./source/semihost_hardfault.o ./drivers/fsl_clock.o ./drivers/fsl_common.o ./drivers/fsl_gpio.o ./drivers/fsl_lpuart.o ./drivers/fsl_sim.o ./drivers/fsl_smc.o ./device/system_MKE15Z7.o ./component/uart/lpuart_adapter.o ./component/serial_manager/serial_manager.o ./component/serial_manager/serial_port_uart.o ./component/lists/generic_list.o ./board/board.o ./board/clock_config.o ./board/pin_mux.o
c:/nxp/mcuxpressoide_11.0.0_2516/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.0.0.201905131304/tools/bin/../lib/gcc/arm-none-eabi/8.2.1/../../../../arm-none-eabi/bin/ld.exe:frdmke15z_lpuart_interrupt_transfer_learn_Debug.ld:48 cannot move location counter backwards (from 00000404 to 00000400)
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:40: frdmke15z_lpuart_interrupt_transfer_learn.axf] Error 1
"make -r -j4 all" terminated with exit code 2. Build might be incomplete.

 

 

Thank you!

Outcomes