Install Keil5.37 version, load the program, terminate when compiling, and an error occurs:
*** Target 'Target 1' uses ARM-Compiler 'Default Compiler Version 5' which is not available.
*** Please review the installed ARM Compiler Versions:
'Manage Project Items - Folders/Extensions' to manage ARM Compiler Versions.
'Options for Target - Target' to select an ARM Compiler Version for the target.
*** Rebuild aborted.
Let us compare two places and choose the ARM compiler with the correct configuration.
The solution here is: open 'Manage Project Items - Folders/Extensions' (the three-crystal pile next to the magic wand), you can see that there is only ARMCLANG at present, and an additional ARMCC needs to be added (downloaded on the website in advance and placed in the Keil installation path under the ARM folder)
Product Download Hubhttps://developer.arm.com/downloads/
The process of adding ARMCC is as follows: under the ARM folder under the Keil installation path
After 【OK】, as shown below:
After [Close], there is an additional ARMCC in ARM-Compiler.
[OK], if you compile the program again, no error will be reported.
References: