After installing the Keil537 loader and compiling

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 Hubicon-default.png?t=M4ADhttps://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:

Under Kill5.37 version, using ARMcomplier6 to compile __asm ​​function error problem The version is updated from 5.17 to 5.37, and then when compiling the STM32 project file, the software prompts a compilation error. The error reported is as follows: Build started: Project: QKsoftware*** Using Compiler 'V6.18', folder: 'E:\MDK-ARM\ARM\ARM\ARMCLANG\Bin'Build target 'QKsoftware'compiling https:// blog .csdn.net/weixin_43644424/article/details/125048889?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522165539247416781432914895%2522%252C%252 2scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=165539247416781432914895&biz_id =0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_ecpm_v1~rank_v31_ecpm-2-125048889-null-null.142^v17^pc_search_result_control_group,157^v15^new_3&utm_term=Target +Target1use+ARM-Complier&spm=1018 .

Guess you like

Origin blog.csdn.net/luyibing2017/article/details/125324968