diff --git a/IAR/iar.md b/IAR/iar.md new file mode 100644 index 0000000..e84abf6 --- /dev/null +++ b/IAR/iar.md @@ -0,0 +1,105 @@ +# 工程操作 + + ## 1.1 各类文件含义 + +## 1.2 新建项目 + +* 新建项目 + + ![](pictures\图片2.png) + +* 选择空模板 + + ![](pictures\图片3.png) + +* 保存工作区 + + ![](pictures\图片4.png) + +* 添加文件夹 + + ![](pictures\图片5.png) + +* 添加所有文件 + + ![](pictures\图片7.png) + + + + + +* 添加库文件路径(**相对路径**) + + ![](pictures\图片8.png) + +## 工程配置 + +### 2.1设备配置 + +> ![](pictures\图片10.png) + +### 2.2 编译配置 + +> 优化等级 + +​ ![](pictures\图片9.png) + +> 硬件浮点 +> +> ![](pictures\图片12.png) + +> 文件路径 +> +> 预处理 +> +> ![](pictures\图片8.png) + + + +> 输出.Hex + +* ![](pictures\图片11.png) + + + +### 2.3 调试器配置 + +![](pictures\图片17.png) + +### 2.4 库相关配置 + +![](pictures\图片13.png) + +### 2.5 静态库封装 + +![](pictures\图片14.png) + +## 工程调试 + +### 3.1断点 + +![](pictures\图片15.png) + +1. 设置断点,--点击代码左侧 + +2. 禁用断点,---右键disable + +3. 启用断点,---右键Enable + +4. 删除断点,再次点击 + +5. 条件断点 + + ![](pictures\图片16.png) + +* 监控信息 + +* 寄存器信息 +* 内存信息 +* 栈信息汇编信息 + * ![](pictures\图片18.png) +* 单步调试 + * ![](pictures\图片19.png) + +编译-下载调试---开始-跳出--复位 + diff --git a/IAR/pictures/图片1.png b/IAR/pictures/图片1.png new file mode 100644 index 0000000..e94dc82 Binary files /dev/null and b/IAR/pictures/图片1.png differ diff --git a/IAR/pictures/图片10.png b/IAR/pictures/图片10.png new file mode 100644 index 0000000..7cd4f11 Binary files /dev/null and b/IAR/pictures/图片10.png differ diff --git a/IAR/pictures/图片11.png b/IAR/pictures/图片11.png new file mode 100644 index 0000000..0ef0a89 Binary files /dev/null and b/IAR/pictures/图片11.png differ diff --git a/IAR/pictures/图片12.png b/IAR/pictures/图片12.png new file mode 100644 index 0000000..882a40f Binary files /dev/null and b/IAR/pictures/图片12.png differ diff --git a/IAR/pictures/图片13.png b/IAR/pictures/图片13.png new file mode 100644 index 0000000..7ed874f Binary files /dev/null and b/IAR/pictures/图片13.png differ diff --git a/IAR/pictures/图片14.png b/IAR/pictures/图片14.png new file mode 100644 index 0000000..dcd803d Binary files /dev/null and b/IAR/pictures/图片14.png differ diff --git a/IAR/pictures/图片15.png b/IAR/pictures/图片15.png new file mode 100644 index 0000000..2df36a0 Binary files /dev/null and b/IAR/pictures/图片15.png differ diff --git a/IAR/pictures/图片16.png b/IAR/pictures/图片16.png new file mode 100644 index 0000000..32e1c10 Binary files /dev/null and b/IAR/pictures/图片16.png differ diff --git a/IAR/pictures/图片17.png b/IAR/pictures/图片17.png new file mode 100644 index 0000000..156b5c0 Binary files /dev/null and b/IAR/pictures/图片17.png differ diff --git a/IAR/pictures/图片18.png b/IAR/pictures/图片18.png new file mode 100644 index 0000000..955f939 Binary files /dev/null and b/IAR/pictures/图片18.png differ diff --git a/IAR/pictures/图片19.png b/IAR/pictures/图片19.png new file mode 100644 index 0000000..913bcf5 Binary files /dev/null and b/IAR/pictures/图片19.png differ diff --git a/IAR/pictures/图片2.png b/IAR/pictures/图片2.png new file mode 100644 index 0000000..e715c90 Binary files /dev/null and b/IAR/pictures/图片2.png differ diff --git a/IAR/pictures/图片3.png b/IAR/pictures/图片3.png new file mode 100644 index 0000000..82d20dc Binary files /dev/null and b/IAR/pictures/图片3.png differ diff --git a/IAR/pictures/图片4.png b/IAR/pictures/图片4.png new file mode 100644 index 0000000..2b3fb94 Binary files /dev/null and b/IAR/pictures/图片4.png differ diff --git a/IAR/pictures/图片5.png b/IAR/pictures/图片5.png new file mode 100644 index 0000000..03287ad Binary files /dev/null and b/IAR/pictures/图片5.png differ diff --git a/IAR/pictures/图片6.png b/IAR/pictures/图片6.png new file mode 100644 index 0000000..e99cc79 Binary files /dev/null and b/IAR/pictures/图片6.png differ diff --git a/IAR/pictures/图片7.png b/IAR/pictures/图片7.png new file mode 100644 index 0000000..1f630df Binary files /dev/null and b/IAR/pictures/图片7.png differ diff --git a/IAR/pictures/图片8.png b/IAR/pictures/图片8.png new file mode 100644 index 0000000..b230da0 Binary files /dev/null and b/IAR/pictures/图片8.png differ diff --git a/IAR/pictures/图片9.png b/IAR/pictures/图片9.png new file mode 100644 index 0000000..583b488 Binary files /dev/null and b/IAR/pictures/图片9.png differ