Hi,
After I updated Keil from uVersion 5.37.0 to 5.40.0, I got the following error:
Build started: Project: FPIE-4K*** Using Compiler 'V5.06 update 2 (build 183)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'Build target 'FPIE'compiling Exec.c...C:\Keil_v5\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error: #35: #error directive: Unknown compiler. #error Unknown compiler.Exec\Exec.c: 0 warnings, 1 errorcompiling System.c...C:\Keil_v5\ARM\CMSIS\6.1.0\CMSIS\Core\Include\cmsis_compiler.h(287): error: #35: #error directive: Unknown compiler. #error Unknown compiler.Control\System.c: 0 warnings, 1 error
I'm compiling the same project (FPIE-4K) with 5.40.0 as I did with 5.37.0.
Any suggestion on the compile error?
Thanks
David
Arm Compiler 5 is no longer installed by default, but can be downloaded and installed separately. See instructions at:
https://developer.arm.com/documentation/ka005073
To change the version of the pack(s) used, open Manage Run Time Environment, and click on Select Packs.
Then deselect "use latest versions", and you can select particular versions.
I do recommend you migrate to the latest software and compiler over time. Arm Compiler 5 is no longer supported or maintained.