Build started: Project: test*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARM_Compiler_5.06u7\Bin'Build target 'Target_1'assembling startup_stm32f407xx.s...compiling system_stm32f4xx.c...C:\Users\mdmt3\AppData\Local\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\core_cm4.h(28): warning: #2803-D: unrecognized GCC pragma #pragma GCC diagnostic ignored "-Wpedantic" /* disable pedantic warning due to unnamed structs/unions */C:\Users\mdmt3\AppData\Local\Arm\Packs\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_gcc.h(29): error: #5: cannot open source input file "arm_acle.h": No such file or directory #include <arm_acle.h>RTE/Device/STM32F407VGTx/system_stm32f4xx.c: 1 warning, 1 error".\Objects\test.axf" - 1 Error(s), 1 Warning(s).Target not created.Build Time Elapsed: 00:00:00
And this too:
compiling stm32f4xx_hal_spi.c...C:\Users\mdmt3\AppData\Local\Arm\Packs\Keil\STM32F4xx_DFP\2.17.1\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h(29): error: #5: cannot open source input file "stm32f4xx_hal_conf.h": No such file or directory #include "stm32f4xx_hal_conf.h"
1) You need to use Arm Compiler 6 for Embedded to use CMSIS 6.x files.
Else change your project to use CMSIS 5.x.
2) Is this software pack installed?
Oh I got it. I got CMSIS 6.x installed. But I used Compiler 5.x to compile. Thank you very much for your help.