2022-07-25 08:38:12 +08:00
|
|
|
|
---
|
|
|
|
|
layout: post
|
|
|
|
|
title: "Keil 工程切换 AC5/AC6 编译器"
|
|
|
|
|
subtitle: ""
|
|
|
|
|
description: "通过 Keil 工程控制使用 AC5/AC6 编译器。"
|
|
|
|
|
excerpt: "通过修改 Keil 工程文件,切换 AC5/AC6 编译器。"
|
2023-03-24 14:10:04 +08:00
|
|
|
|
date: 2023-03-24 12:30:00
|
2022-07-25 08:38:12 +08:00
|
|
|
|
author: "Rick Chan"
|
|
|
|
|
tags: ["Applications", "Keil"]
|
|
|
|
|
categories: ["Software"]
|
|
|
|
|
published: true
|
|
|
|
|
---
|
2022-07-20 09:08:39 +08:00
|
|
|
|
|
2023-03-24 14:10:04 +08:00
|
|
|
|
## 1. 方法 1
|
|
|
|
|
|
|
|
|
|
在 Project->Options for Target->Target->Code Generation->ARM Compiler 中进行选择.
|
|
|
|
|
|
|
|
|
|
## 2. 方法 2
|
|
|
|
|
|
2022-07-20 09:08:39 +08:00
|
|
|
|
用文本工具打开 *.uvprojx 工程文件,修改如下 uAC6 字段。
|
|
|
|
|
|
|
|
|
|
```html
|
|
|
|
|
<uAC6>0</uAC6>
|
|
|
|
|
```
|
|
|
|
|
|
2023-03-24 12:28:07 +08:00
|
|
|
|
- 0:禁用 AC6 编译器(使用 AC5 编译器)。
|
|
|
|
|
- 1:使能 AC6 编译器;
|