使用 Eclipse IDE for C / C ++ Developers (在本例中为Kinetis Design Studio),我预先构建了stps来删除文件并自动生成另一个文件。但是我在构建日志中注意到编译是在预构建完成之前启动的!如果我的早期使用自动生成的头文件,那就不太理想了。
我还发现了一个类似的问题,即构建后执行多个命令但失败,因为它们依赖于前面步骤中的文件。
有没有人对如何确保预构建实际上是预构建有任何想法或建议?
17:54:49 **** Build of configuration debug for project TestProj_Firmware ****
make -k -j8 pre-build main-build
PRE BUILD COMMAND EXECUTED
Delete main.o to force a build & Generate version.hpp
rm "Source\D3\main.o" & subwcrev "C:/dev/TestProj Firmware/TestProj_Firmware\.." "..\settings\Version.tmpl" "..\..\Source\D3\Version.hpp"
COMPILATION STARTED
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/system_MK24F12.c
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_adc16.c
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_clock.c
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_common.c
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_crc.c
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_flash.c
Invoking: Cross ARM C Compiler
Invoking: Cross ARM C Compiler
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_ftm.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/startup/system_MK24F12.d" -MT"Source/KSDK/startup/system_MK24F12.d" -c -o "Source/KSDK/startup/system_MK24F12.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/system_MK24F12.c"
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_adc16.d" -MT"Source/KSDK/drivers/fsl_adc16.d" -c -o "Source/KSDK/drivers/fsl_adc16.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_adc16.c"
Invoking: Cross ARM C Compiler
Invoking: Cross ARM C Compiler
FIRST PRE BUILD STEP EXECUTED (FAILS)
rm: can't remove 'Source\D3\main.o': No such file or directory
MORE COMPILATION
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_clock.d" -MT"Source/KSDK/drivers/fsl_clock.d" -c -o "Source/KSDK/drivers/fsl_clock.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_clock.c"
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_common.d" -MT"Source/KSDK/drivers/fsl_common.d" -c -o "Source/KSDK/drivers/fsl_common.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_common.c"
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_crc.d" -MT"Source/KSDK/drivers/fsl_crc.d" -c -o "Source/KSDK/drivers/fsl_crc.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_crc.c"
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_flash.d" -MT"Source/KSDK/drivers/fsl_flash.d" -c -o "Source/KSDK/drivers/fsl_flash.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_flash.c"
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_ftm.d" -MT"Source/KSDK/drivers/fsl_ftm.d" -c -o "Source/KSDK/drivers/fsl_ftm.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_ftm.c"
SECOND PRE BUILD STEP EXECUTED
SubWCRev: 'C:\dev\TestProj Firmware'
Last committed at revision 242
Mixed revision range 242:243
Unversioned items found
CARRIES ON COMPILING
Building file: C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_gpio.c
Invoking: Cross ARM C Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -fno-common -ffreestanding -fno-builtin -Wall -g -DDEBUG -D__STARTUP_CLEAR_BSS -DDEBUG_PRINT -DCPU_MK24FN1M0VLQ12 -DFSL_RTOS_FREE_RTOS -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Board" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/Config" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/SDMMCPort" -I"C:/dev/TestProj Firmware/TestProj_Firmware/../Source/D3/InFact" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/utilities" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/CMSIS/Include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/inc" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/sdmmc_2.1.2/port" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/fsl_sd_disk" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/middleware/fatfs_0.12b/src/option" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/include" -I"C:/dev/TestProj Firmware/TestProj_Firmware\..\Source\SDK_2.2_MK24FN1M0xxx12/rtos/freertos_9.0.0/Source/portable/GCC/ARM_CM4F" -std=gnu99 -mapcs -MMD -MP -MF"Source/KSDK/drivers/fsl_gpio.d" -MT"Source/KSDK/drivers/fsl_gpio.d" -c -o "Source/KSDK/drivers/fsl_gpio.o" "C:/dev/TestProj Firmware/Source/SDK_2.2_MK24FN1M0xxx12/devices/MK24F12/drivers/fsl_gpio.c"
Finished building: C:/dev/
答案 0 :(得分:1)
好的,所以看起来是由于提到here的问题。我从make命令中删除了-j选项(在C ++ Build设置,行为选项卡中找到),现在所有内容都按顺序执行。不幸的是编译速度非常慢!
答案 1 :(得分:0)
每个Eclipse都不同,但是在Neon中,我还不断发现并行构建make -j8设置保持“返回”状态,如OP所述。要解决此问题:
非并行构建仍然要慢很多,不确定是否有解决办法。
答案 2 :(得分:0)
此控制台应用程序与 make.exe 位于同一文件夹中,并通过在调用主构建列表之前等待预构建阶段完成来消除此问题。欢迎您根据需要使用和修改。将 Eclipse 构建设置为使用 vmake.exe 而不是 make.exe。 here