MCUXpresso built error for i.mxRT 1050

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

MCUXpresso built error for i.mxRT 1050

Jump to solution
1,759 Views
MehmetAliIpin
Contributor V

Dear Sir/Madam,

I downloaded the MCUXpresso IDE v10.1.0 built, and  import SDK_2.3.0_EVK-MIMXRT1050 into IDE. 

The MIMXRT1052xxxxx_Project is opened. When I pressed the built button, I received the following error messages.

We could not find the object files in source directory, then It seems the compiler does not generate objetc (.o) files.

What should I do to solve this problem?

Best regards.

09:39:07 **** Incremental Build of configuration Debug for project MIMXRT1052xxxxx_Project ****
make -r -j8 all
Building file: ../startup/startup_mimxrt1052.c
Building file: ../source/MIMXRT1052xxxxx_Project.c
Building file: ../source/semihost_hardfault.c
Building file: ../board/board.c
Building file: ../board/clock_config.c
Building file: ../board/peripherals.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DPRINTF_FLOAT_ENABLE=0 -D__USE_CMSIS -DCR_INTEGER_PRINTF -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -DDEBUG -DFSL_RTOS_BM -DSDK_OS_BAREMETAL -DCPU_MIMXRT1052CVL5A -DCPU_MIMXRT1052CVL5A_cm7 -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\board" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\source" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\startup" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\CMSIS" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/MIMXRT1052xxxxx_Project.d" -MT"source/MIMXRT1052xxxxx_Project.o" -MT"source/MIMXRT1052xxxxx_Project.d" -o "source/MIMXRT1052xxxxx_Project.o" "../source/MIMXRT1052xxxxx_Project.c"
Invoking: MCU C Compiler
Invoking: MCU C Compiler
Building file: ../board/pin_mux.c
arm-none-eabi-gcc -D__REDLIB__ -DPRINTF_FLOAT_ENABLE=0 -D__USE_CMSIS -DCR_INTEGER_PRINTF -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -DDEBUG -DFSL_RTOS_BM -DSDK_OS_BAREMETAL -DCPU_MIMXRT1052CVL5A -DCPU_MIMXRT1052CVL5A_cm7 -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\board" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\source" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\startup" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\CMSIS" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"startup/startup_mimxrt1052.d" -MT"startup/startup_mimxrt1052.o" -MT"startup/startup_mimxrt1052.d" -o "startup/startup_mimxrt1052.o" "../startup/startup_mimxrt1052.c"
Invoking: MCU C Compiler
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DPRINTF_FLOAT_ENABLE=0 -D__USE_CMSIS -DCR_INTEGER_PRINTF -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -DDEBUG -DFSL_RTOS_BM -DSDK_OS_BAREMETAL -DCPU_MIMXRT1052CVL5A -DCPU_MIMXRT1052CVL5A_cm7 -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\board" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\source" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\startup" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\CMSIS" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"board/board.d" -MT"board/board.o" -MT"board/board.d" -o "board/board.o" "../board/board.c"
arm-none-eabi-gcc -D__REDLIB__ -DPRINTF_FLOAT_ENABLE=0 -D__USE_CMSIS -DCR_INTEGER_PRINTF -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -DDEBUG -DFSL_RTOS_BM -DSDK_OS_BAREMETAL -DCPU_MIMXRT1052CVL5A -DCPU_MIMXRT1052CVL5A_cm7 -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\board" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\source" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\startup" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\CMSIS" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"source/semihost_hardfault.d" -MT"source/semihost_hardfault.o" -MT"source/semihost_hardfault.d" -o "source/semihost_hardfault.o" "../source/semihost_hardfault.c"
arm-none-eabi-gcc -D__REDLIB__ -DPRINTF_FLOAT_ENABLE=0 -D__USE_CMSIS -DCR_INTEGER_PRINTF -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -DDEBUG -DFSL_RTOS_BM -DSDK_OS_BAREMETAL -DCPU_MIMXRT1052CVL5A -DCPU_MIMXRT1052CVL5A_cm7 -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\board" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\source" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\startup" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\CMSIS" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"board/clock_config.d" -MT"board/clock_config.o" -MT"board/clock_config.d" -o "board/clock_config.o" "../board/clock_config.c"
Invoking: MCU C Compiler
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DPRINTF_FLOAT_ENABLE=0 -D__USE_CMSIS -DCR_INTEGER_PRINTF -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -DDEBUG -DFSL_RTOS_BM -DSDK_OS_BAREMETAL -DCPU_MIMXRT1052CVL5A -DCPU_MIMXRT1052CVL5A_cm7 -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\board" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\source" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\startup" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\CMSIS" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"board/peripherals.d" -MT"board/peripherals.o" -MT"board/peripherals.d" -o "board/peripherals.o" "../board/peripherals.c"
arm-none-eabi-gcc -D__REDLIB__ -DPRINTF_FLOAT_ENABLE=0 -D__USE_CMSIS -DCR_INTEGER_PRINTF -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -DDEBUG -DFSL_RTOS_BM -DSDK_OS_BAREMETAL -DCPU_MIMXRT1052CVL5A -DCPU_MIMXRT1052CVL5A_cm7 -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\board" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\source" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\startup" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\CMSIS" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"board/pin_mux.d" -MT"board/pin_mux.o" -MT"board/pin_mux.d" -o "board/pin_mux.o" "../board/pin_mux.c"
Building file: ../CMSIS/system_MIMXRT1052.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DPRINTF_FLOAT_ENABLE=0 -D__USE_CMSIS -DCR_INTEGER_PRINTF -DSDK_DEBUGCONSOLE=0 -D__MCUXPRESSO -DDEBUG -DFSL_RTOS_BM -DSDK_OS_BAREMETAL -DCPU_MIMXRT1052CVL5A -DCPU_MIMXRT1052CVL5A_cm7 -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\board" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\source" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\startup" -I"C:\Users\c001\Documents\MCUXpressoIDE_10.1.0_589\workspace\MIMXRT1052xxxxx_Project\CMSIS" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -specs=redlib.specs -MMD -MP -MF"CMSIS/system_MIMXRT1052.d" -MT"CMSIS/system_MIMXRT1052.o" -MT"CMSIS/system_MIMXRT1052.d" -o "CMSIS/system_MIMXRT1052.o" "../CMSIS/system_MIMXRT1052.c"
Finished building: ../board/peripherals.c

Finished building: ../board/pin_mux.c
Finished building: ../board/board.c
Finished building: ../source/semihost_hardfault.c



Finished building: ../startup/startup_mimxrt1052.c

Finished building: ../source/MIMXRT1052xxxxx_Project.c
Finished building: ../board/clock_config.c


Finished building: ../CMSIS/system_MIMXRT1052.c

Building target: MIMXRT1052xxxxx_Project.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -print-memory-usage -Xlinker --gc-sections -Xlinker -Map="MIMXRT1052xxxxx_Project.map" -mcpu=cortex-m7 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -T MIMXRT1052xxxxx_Project_Debug.ld -o "MIMXRT1052xxxxx_Project.axf" ./startup/startup_mimxrt1052.o ./source/MIMXRT1052xxxxx_Project.o ./source/semihost_hardfault.o ./board/board.o ./board/clock_config.o ./board/peripherals.o ./board/pin_mux.o ./CMSIS/system_MIMXRT1052.o
arm-none-eabi-gcc.exe: error: ./startup/startup_mimxrt1052.o: No such file or directory
arm-none-eabi-gcc.exe: error: ./source/MIMXRT1052xxxxx_Project.o: No such file or directory
arm-none-eabi-gcc.exe: error: ./source/semihost_hardfault.o: No such file or directory
arm-none-eabi-gcc.exe: error: ./board/board.o: No such file or directory
arm-none-eabi-gcc.exe: error: ./board/clock_config.o: No such file or directory
arm-none-eabi-gcc.exe: error: ./board/peripherals.o: No such file or directory
arm-none-eabi-gcc.exe: error: ./board/pin_mux.o: No such file or directory
arm-none-eabi-gcc.exe: error: ./CMSIS/system_MIMXRT1052.o: No such file or directory
make: *** [MIMXRT1052xxxxx_Project.axf] Error 1

Labels (1)
0 Kudos
Reply
1 Solution
1,197 Views
MehmetAliIpin
Contributor V
0 Kudos
Reply
2 Replies
1,197 Views
lpcxpresso_supp
NXP Employee
NXP Employee

I've just download a fresh copy of the EVK-MIMXRT1050 SDK from mcuxpresso.nxp.com and installed it into MCUXpresso IDE v10.1.0. Then used the "New project..." wizard from the Quickstart Panel to create a new basic project (with all of the options set to the default). When I then click on the Quickstart Panel's Build button, this compiles and then links without any problem.

On your system, once the build has completed (and failed), can you try opening the project up in the Project Explorer view and confirming that a subdirectory called Debug has been created. This should then contain a set of subdirectories, with names matching the names of the directories containing the source code for the project - similar to the screenshot below....

Objects_in_Debug_Folder.png

What do you see in your system?

Regards,

MCUXpresso IDE Support

0 Kudos
Reply
1,198 Views
MehmetAliIpin
Contributor V

dll file in  https://community.nxp.com/thread/389082

solved the problem..

0 Kudos
Reply