From 96dd7ecd090ada2ad10316b70229d12902027214 Mon Sep 17 00:00:00 2001 From: shoucal <11004777+shoucal@user.noreply.gitee.com> Date: Thu, 26 Oct 2023 09:46:30 +0000 Subject: [PATCH] =?UTF-8?q?cpmpiler=20error,missing=20compiler=205;?= =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=BA=865=E7=9A=84=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shoucal <> --- .../quick-start/stm32f103-simulator/stm32f103-simulator.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rt-thread-version/rt-thread-standard/tutorial/quick-start/stm32f103-simulator/stm32f103-simulator.md b/rt-thread-version/rt-thread-standard/tutorial/quick-start/stm32f103-simulator/stm32f103-simulator.md index 4d1ef28..c5f20ec 100644 --- a/rt-thread-version/rt-thread-standard/tutorial/quick-start/stm32f103-simulator/stm32f103-simulator.md +++ b/rt-thread-version/rt-thread-standard/tutorial/quick-start/stm32f103-simulator/stm32f103-simulator.md @@ -61,7 +61,8 @@ MDK 开发环境:需要安装 MDK-ARM 5.24 (正式版或评估版,5.14 版 ![编译工程](./figures/project1.png) 编译的结果显示在窗口下方的 “Build” 栏中,没什么意外的话,最后一行会显示“0 Error(s), * Warning(s).”,即无任何错误和警告。 - +注:由于新版本的编译器已经升级为6,当前的例子编译器版本是5,所以编译会报出很多错误,这里要去补下载compiler 5,这里有[传送门 +](https://pan.baidu.com/s/1ZKipJ1PVTGOSZ8jnyK-MYw) 提取码: iRob 注:由于工程中包含的内核例程代码较多,若使用的是 MDK 试用版本,则会有 16KB 限制,此时可以只保留某个目标例程的代码(例如内核例程只保留一个 thread_sample.c 参与编译),将其他不用的例程先从工程中移除,然后编译。 在编译完 RT-Thread/STM32 后,我们可以通过 MDK-ARM 的模拟器来仿真运行 RT-Thread。点击窗口右上方的按钮![img](./figures/debug.jpg)或直接按 “Ctrl+F5” 进入仿真界面,再按 F5 开始运行,然后点击该图工具栏中的按钮或者选择菜单栏中的 “View→Serial Windows→UART#1”,打开串口 1 窗口,可以看到串口的输出只显示了 RT-Thread 的 LOGO,这是因为用户代码是空的,其模拟运行的结果如图所示: -- Gitee