0
  • 聊天消息
  • 系统消息
  • 评论与回复
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心

完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>

3天内不再提示

【RT-Thread学习笔记】如何优雅地退出QEMU模拟器?

嵌入式物联网开发 2022-07-26 04:06 次阅读
加入交流群
微信小助手二维码

扫码添加小助手

加入工程师交流群

1 问题场景

相信很多人也跟我一样,刚接触RT-Thread不久,正在学习RT-Thread的路上,然而学习一款嵌入式实时操作系统,没有一个硬件开发板,在我之前的认知里面,这应该很难把RTOS的内核代码调试起来吧?

直到了解了RT-Thread,我才知道原来有QEMU模拟器这么个东西。

所以我很快就参考相关教程,把QEMU给装起来了,结合RT-Thread编译bsp的方法,很快我选择的qemu-vexpress-a9固件很快就编译出来了。

看了bsp目录下有好几个启动脚本:

  1. bsp/qemu-vexpress-a9$ ls -al *.sh
  2. -rwxr-xr-x 1 recan system 168 Sep 6 10:43 qemu-dbg.sh
  3. -rwxr-xr-x 1 recan system 187 Oct 22 17:41 qemu-nographic.sh
  4. -rwxr-xr-x 1 recan system 166 Sep 6 10:43 qemu.sh

我逐个尝试,发现在我的环境下,只有./qemu-nographic.sh能够跑起来。

  1. bsp/qemu-vexpress-a9$ ./qemu-nographic.sh
  2. qemu-system-arm: -no-quit is only valid for GTK and SDL, ignoring option
  3. WARNING: Image format was not specified for 'sd.bin' and probing guessed raw.
  4. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
  5. Specify the 'raw' format explicitly to remove the restrictions.
  6. ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
  7. ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
  8. ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
  9. ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
  10. ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
  11. ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
  12. ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
  13. ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
  14. alsa: Could not initialize DAC
  15. alsa: Failed to open `default':
  16. alsa: Reason: No such file or directory
  17. ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
  18. ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
  19. ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
  20. ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
  21. ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
  22. ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
  23. ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
  24. ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
  25. alsa: Could not initialize DAC
  26. alsa: Failed to open `default':
  27. alsa: Reason: No such file or directory
  28. audio: Failed to create voice `lm4549.out'
  29. \ | /
  30. - RT - Thread Operating System
  31. / | \ 4.0.4 build Nov 5 2021
  32. 2006 - 2021 Copyright by rt-thread team
  33. lwIP-2.1.2 initialized!
  34. [I/sal.skt] Socket Abstraction Layer initialize success.
  35. [I/SDIO] SD card capacity 65536 KB.
  36. [I/SDIO] switching card to high speed failed!
  37. hello rt-thread 99, 99
  38. 1, 2
  39. 1, 2
  40. 1, 2
  41. msh />

不过问题来了,我想重新编译源码,再次运行新的代码,怎么办呢?如何才能退出这个QEMU命令行控制台?

2 尝试解决

2.1 牛刀小试

大家都知道,Linux退出一个控制台启动的程序,使用CTRL+C就可以把它退出来,我试了一下,发现它压根就不认CTRL+C,只是一直输出一些乱码符号。

在这里插入图片描述

2.2 我放大招

既然CTRL+C不能,那我用killall-9xxx总可以吧?难不成你还能逃脱Linux内核对你的管控?

于是另开一个控制台,直接killall-9qemu-system-arm,结果一试,的确可以退出QEMU(连进程都退出来了)。

但是问题来了,退出QEMU之后,这个控制台感觉乱来了,我一瞧回车,它都不好好换行了,你看看!

在这里插入图片描述

这就很让人难受了,控制台没法用了,而且这个时候敲命令进去还不能回显,也不知道你敲对了没有,只好退出命令行,重新登入,控制台得以恢复。

在这里插入图片描述

2.3 黔驴技穷

上面的这种情况,显示是我不能接受的,这个我倒是想了一下,QEMU不可能不支持退出吧,会不会什么启动参数我搞错了,于是qemu-system-arm-h,找了几个看似跟这个问题相关的参数:

  1. qemu-system-arm -h
  2. ...
  3. -no-quit disable SDL window close capability
  4. ...
  5. -no-reboot exit instead of rebooting
  6. ...
  7. -no-shutdown stop before shutdown

于是在qemu-nographic.sh添加来尝试:

  1. if [ ! -f "sd.bin" ]; then
  2. dd if=/dev/zero of=sd.bin bs=1024 count=65536
  3. fi
  4. qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -nographic -sd sd.bin -no-shutdown -no-quit -no-reboot

运行之后,同样在另一个控制台使用killall-9qemu-system-arm退出,发现有的时候退出QEMU的控制台可以好好的,有的时候换行问题依然存在,没有找到规律,实在没办法,就不了了之了。

3 终极方案

3.1 发现新大陆

直到今天,我偶然翻到RT-Thread的官方文档,对RT-Thread Smart版本的介绍的时候,有一个章节是介绍使用QEMU模拟环境进行代码调试运行的,里面居然提到了如何退出QEMU!

在这里插入图片描述

Word天呐,那种感觉简直像是发现新大陆一样。 马上登入QEMU开发环境做测试,果然,操作竟是如此的丝滑,就一个字!

在这里插入图片描述

真的像是历史难题被解决的那种感觉。

3.2 扒一扒到底谁让QEMU退出了

第一感觉是不是RT-Thread的Finsh组件处理了这个CTRL+A,X? 于是找了Finsh的关键代码:

  1. void finsh_thread_entry(void *parameter)
  2. {
  3. int ch;
  4. /* normal is echo mode */
  5. #ifndef FINSH_ECHO_DISABLE_DEFAULT
  6. shell->echo_mode = 1;
  7. #else
  8. shell->echo_mode = 0;
  9. #endif
  10. #if !defined(RT_USING_POSIX) && defined(RT_USING_DEVICE)
  11. /* set console device as shell device */
  12. if (shell->device == RT_NULL)
  13. {
  14. rt_device_t console = rt_console_get_device();
  15. if (console)
  16. {
  17. finsh_set_device(console->parent.name);
  18. }
  19. }
  20. #endif
  21. #ifdef FINSH_USING_AUTH
  22. /* set the default password when the password isn't setting */
  23. if (rt_strlen(finsh_get_password()) == 0)
  24. {
  25. if (finsh_set_password(FINSH_DEFAULT_PASSWORD) != RT_EOK)
  26. {
  27. rt_kprintf("Finsh password set failed.\n");
  28. }
  29. }
  30. /* waiting authenticate success */
  31. finsh_wait_auth();
  32. #endif
  33. rt_kprintf(FINSH_PROMPT);
  34. while (1)
  35. {
  36. ch = (int)finsh_getchar();
  37. if (ch < 0)
  38. {
  39. continue;
  40. }
  41. /*
  42. * handle control key
  43. * up key : 0x1b 0x5b 0x41
  44. * down key: 0x1b 0x5b 0x42
  45. * right key:0x1b 0x5b 0x43
  46. * left key: 0x1b 0x5b 0x44
  47. */
  48. if (ch == 0x1b)
  49. {
  50. shell->stat = WAIT_SPEC_KEY;
  51. continue;
  52. }
  53. else if (shell->stat == WAIT_SPEC_KEY)
  54. {
  55. if (ch == 0x5b)
  56. {
  57. shell->stat = WAIT_FUNC_KEY;
  58. continue;
  59. }
  60. shell->stat = WAIT_NORMAL;
  61. }
  62. else if (shell->stat == WAIT_FUNC_KEY)
  63. {
  64. shell->stat = WAIT_NORMAL;
  65. if (ch == 0x41) /* up key */
  66. {
  67. #ifdef FINSH_USING_HISTORY
  68. /* prev history */
  69. if (shell->current_history > 0)
  70. shell->current_history --;
  71. else
  72. {
  73. shell->current_history = 0;
  74. continue;
  75. }
  76. /* copy the history command */
  77. memcpy(shell->line, &shell->cmd_history[shell->current_history][0],
  78. FINSH_CMD_SIZE);
  79. shell->line_curpos = shell->line_position = strlen(shell->line);
  80. shell_handle_history(shell);
  81. #endif
  82. continue;
  83. }
  84. else if (ch == 0x42) /* down key */
  85. {
  86. #ifdef FINSH_USING_HISTORY
  87. /* next history */
  88. if (shell->current_history < shell->history_count - 1)
  89. shell->current_history ++;
  90. else
  91. {
  92. /* set to the end of history */
  93. if (shell->history_count != 0)
  94. shell->current_history = shell->history_count - 1;
  95. else
  96. continue;
  97. }
  98. memcpy(shell->line, &shell->cmd_history[shell->current_history][0],
  99. FINSH_CMD_SIZE);
  100. shell->line_curpos = shell->line_position = strlen(shell->line);
  101. shell_handle_history(shell);
  102. #endif
  103. continue;
  104. }
  105. else if (ch == 0x44) /* left key */
  106. {
  107. if (shell->line_curpos)
  108. {
  109. rt_kprintf("\b");
  110. shell->line_curpos --;
  111. }
  112. continue;
  113. }
  114. else if (ch == 0x43) /* right key */
  115. {
  116. if (shell->line_curpos < shell->line_position)
  117. {
  118. rt_kprintf("%c", shell->line[shell->line_curpos]);
  119. shell->line_curpos ++;
  120. }
  121. continue;
  122. }
  123. }
  124. /* received null or error */
  125. if (ch == '\0' || ch == 0xFF) continue;
  126. /* handle tab key */
  127. else if (ch == '\t')
  128. {
  129. int i;
  130. /* move the cursor to the beginning of line */
  131. for (i = 0; i < shell->line_curpos; i++)
  132. rt_kprintf("\b");
  133. /* auto complete */
  134. shell_auto_complete(&shell->line[0]);
  135. /* re-calculate position */
  136. shell->line_curpos = shell->line_position = strlen(shell->line);
  137. continue;
  138. }
  139. /* handle backspace key */
  140. else if (ch == 0x7f || ch == 0x08)
  141. {
  142. /* note that shell->line_curpos >= 0 */
  143. if (shell->line_curpos == 0)
  144. continue;
  145. shell->line_position--;
  146. shell->line_curpos--;
  147. if (shell->line_position > shell->line_curpos)
  148. {
  149. int i;
  150. rt_memmove(&shell->line[shell->line_curpos],
  151. &shell->line[shell->line_curpos + 1],
  152. shell->line_position - shell->line_curpos);
  153. shell->line[shell->line_position] = 0;
  154. rt_kprintf("\b%s \b", &shell->line[shell->line_curpos]);
  155. /* move the cursor to the origin position */
  156. for (i = shell->line_curpos; i <= shell->line_position; i++)
  157. rt_kprintf("\b");
  158. }
  159. else
  160. {
  161. rt_kprintf("\b \b");
  162. shell->line[shell->line_position] = 0;
  163. }
  164. continue;
  165. }
  166. /* handle end of line, break */
  167. if (ch == '\r' || ch == '\n')
  168. {
  169. #ifdef FINSH_USING_HISTORY
  170. shell_push_history(shell);
  171. #endif
  172. if (shell->echo_mode)
  173. rt_kprintf("\n");
  174. msh_exec(shell->line, shell->line_position);
  175. rt_kprintf(FINSH_PROMPT);
  176. memset(shell->line, 0, sizeof(shell->line));
  177. shell->line_curpos = shell->line_position = 0;
  178. continue;
  179. }
  180. /* it's a large line, discard it */
  181. if (shell->line_position >= FINSH_CMD_SIZE)
  182. shell->line_position = 0;
  183. /* normal character */
  184. if (shell->line_curpos < shell->line_position)
  185. {
  186. int i;
  187. rt_memmove(&shell->line[shell->line_curpos + 1],
  188. &shell->line[shell->line_curpos],
  189. shell->line_position - shell->line_curpos);
  190. shell->line[shell->line_curpos] = ch;
  191. if (shell->echo_mode)
  192. rt_kprintf("%s", &shell->line[shell->line_curpos]);
  193. /* move the cursor to new position */
  194. for (i = shell->line_curpos; i < shell->line_position; i++)
  195. rt_kprintf("\b");
  196. }
  197. else
  198. {
  199. shell->line[shell->line_position] = ch;
  200. if (shell->echo_mode)
  201. rt_kprintf("%c", ch);
  202. }
  203. ch = 0;
  204. shell->line_position ++;
  205. shell->line_curpos++;
  206. if (shell->line_position >= FINSH_CMD_SIZE)
  207. {
  208. /* clear command line */
  209. shell->line_position = 0;
  210. shell->line_curpos = 0;
  211. }
  212. } /* end of device read */
  213. }

通读代码之后,发现它并没有处理这个CTRL+A,X输入,那么到底是谁接管了这个指令呢? 看到QEMU退出的时候,有提示``,这个关键字给了我线索,于是我开始怀疑是QEMU自己接管的这个命令,于是下面的一顿操作终于把它揪出来了。

  1. bsp/qemu-vexpress-a9$ whereis qemu-system-arm
  2. qemu-system-arm: /usr/bin/qemu-system-arm /usr/share/man/man1/qemu-system-arm.1.gz
  3. bsp/qemu-vexpress-a9$
  4. bsp/qemu-vexpress-a9$ cp /usr/bin/qemu-system-arm .
  5. bsp/qemu-vexpress-a9$
  6. bsp/qemu-vexpress-a9$ grep -rsn "Terminated"
  7. Binary file qemu-system-arm matches
  8. bsp/qemu-vexpress-a9$
  9. bsp/qemu-vexpress-a9$ hexdump -C qemu-system-arm | grep -n "Terminated"
  10. 699798:00b2b4a0 4d 55 3a 20 54 65 72 6d 69 6e 61 74 65 64 0a 0d |MU: Terminated..|
  11. bsp/qemu-vexpress-a9$
  12. bsp/qemu-vexpress-a9$ hexdump -C qemu-system-arm > hexdump.log
  13. bsp/qemu-vexpress-a9$
  14. bsp/qemu-vexpress-a9$ head -699797 hexdump.log | tail -1
  15. 00b2b490 73 20 68 65 6c 70 0a 0d 00 43 2d 25 63 00 51 45 |s help...C-%c.QE|
  16. bsp/qemu-vexpress-a9$
  17. bsp/qemu-vexpress-a9$ head -699798 hexdump.log | tail -1
  18. 00b2b4a0 4d 55 3a 20 54 65 72 6d 69 6e 61 74 65 64 0a 0d |MU: Terminated..|
  19. bsp/qemu-vexpress-a9$

大致的流程就是对可执行文件qemu-system-arm进行grep检索,发现居然找到了Terminated这个关键log,证明这行退出的log正在qemu-system-arm打出来的,这也就从侧面证实了这个退出命令是被它接管了,并且处理了,然后才退出的。

在这里插入图片描述

4 经验教训

这个问题真的困扰了我至少2个月,每次一用QEMU,我就吐槽这个问题,没想到居然还是RT-Thread的指导文档拯救了我。

所以啊,凡事先查查别人已经整理好的问题,真的会事半功倍!

各位老铁,RT-Thread的文档中心,给我撸起来!!!

5 更多分享

架构师李肯

一个专注于嵌入式IoT领域的架构师。有着近10年的嵌入式一线开发经验,深耕IoT领域多年,熟知IoT领域的业务发展,深度掌握IoT领域的相关技术栈,包括但不限于主流RTOS内核的实现及其移植、硬件驱动移植开发、网络通讯协议开发、编译构建原理及其实现、底层汇编及编译原理、编译优化及代码重构、主流IoT云平台的对接、嵌入式IoT系统的架构设计等等。拥有多项IoT领域的发明专利,热衷于技术分享,有多年撰写技术博客的经验积累,连续多月获得RT-Thread官方技术社区原创技术博文优秀奖,荣获CSDN博客专家、CSDN物联网领域优质创作者、2021年度CSDN&RT-Thread技术社区之星、RT-Thread官方嵌入式开源社区认证专家、RT-Thread 2021年度论坛之星TOP4、华为云云享专家(嵌入式物联网架构设计师)等荣誉。坚信【知识改变命运,技术改变世界】!

欢迎关注我的github仓库01workstation,日常分享一些开发笔记和项目实战,欢迎指正问题。

同时也非常欢迎关注我的专栏;有问题的话,可以跟我讨论,知无不答,谢谢大家。

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
  • 模拟器
    +关注

    关注

    2

    文章

    993

    浏览量

    45386
  • RT-Thread
    +关注

    关注

    32

    文章

    1542

    浏览量

    44294
  • qemu
    +关注

    关注

    0

    文章

    57

    浏览量

    5878
收藏 人收藏
加入交流群
微信小助手二维码

扫码添加小助手

加入工程师交流群

    评论

    相关推荐
    热点推荐

    首搭RT-Thread程翧车控平台| RT-Thread程翧 S32K344 快速原型开发平台正式上市!| 产品动态

    在智能汽车迈向高集成与高安全的时代,VCU/ECU开发正面临效率与可靠性的双重考验。依赖单一硬件或拼凑软件方案的传统模式,已成为制约创新的瓶颈。为此,RT-Thread带来里程碑式的解决方案
    的头像 发表于 10-31 11:53 505次阅读
    首搭<b class='flag-5'>RT-Thread</b>程翧车控平台| <b class='flag-5'>RT-Thread</b>程翧 S32K344 快速原型开发平台正式上市!| 产品动态

    使用qemu-vexpress-a9 运行用户程序跑不了怎么解决?

    进入官方的rt-thread库中, https://github.com/RT-Thread/rt-thread 把userapps/root/bin 目录下的所有 elf 文件等,全部 拷贝到
    发表于 10-09 07:41

    学习强国深度报道 RT-Thread“1+X+N”战略,国产操作系统赋能高端制造引关注|媒体视角

    近日,国产嵌入式操作系统领军企业RT-Thread睿赛德在工博会发布的“1+X+N”战略体系,获得了国家级权威媒体平台“学习强国”的重点报道。该报道从产业高度深入剖析了RT-Thread睿赛德以自主
    的头像 发表于 09-29 17:37 914次阅读
    <b class='flag-5'>学习</b>强国深度报道 <b class='flag-5'>RT-Thread</b>“1+X+N”战略,国产操作系统赋能高端制造引关注|媒体视角

    2025年RT-Thread开发者巡回培训报名正式启动!

    亲爱的RT-Thread社区成员们:新程再启,共赴热爱!2025年RT-Thread开发者巡回培训正式启动报名!今年,我们选择了西安、武汉、北京、杭州、深圳、上海、成都这7座城市,为大家带来
    的头像 发表于 09-27 10:39 1146次阅读
    2025年<b class='flag-5'>RT-Thread</b>开发者巡回培训报名正式启动!

    rt-thread studio 2.2.9如何使用最新的RT-Thread v5.2.0 released?

    rt-thread studio2.2.9如何使用最新的RT-Thread v5.2.0 released? 原先以为修改index_all.json,发现联网的时候,会自动覆盖 另lastet版本
    发表于 09-16 06:06

    在Ubuntu上开发基于先楫MCU的RT-Thread应用指南

    1、前言RT-ThreadEnv是RT-Thread推出的开发辅助工具,针对基于RT-Thread操作系统的项目工程,提供编译构建环境、图形化系统配置及软件包管理功能。其内置的menuconfig
    的头像 发表于 08-29 12:22 1240次阅读
    在Ubuntu上开发基于先楫MCU的<b class='flag-5'>RT-Thread</b>应用指南

    【好书推荐】RT-Thread第20本相关书籍!《嵌入式实时操作系统RT-Thread原理与应用》| 技术集结

    01内容简介ContentSummary本书为读者提供了一个全面、系统的RT-Thread学习指南,旨在帮助初学者及有经验的开发者掌握RT-Thread实时操作系统和STM32嵌入式微控制
    的头像 发表于 08-24 10:05 693次阅读
    【好书推荐】<b class='flag-5'>RT-Thread</b>第20本相关书籍!《嵌入式实时操作系统<b class='flag-5'>RT-Thread</b>原理与应用》| 技术集结

    RT-Thread 遇上 Rust:安全内核 RusT-Thread 的诞生

    老师的推荐,很快我们就被其极高的安全特性,强大的包管理系统和编译以及丰富的社区支持所折服。然后我们在调研时注意到了RT-Thread。它有着经典的操作系统架构,
    的头像 发表于 08-02 11:03 3211次阅读
    <b class='flag-5'>RT-Thread</b> 遇上 Rust:安全内核 RusT-<b class='flag-5'>Thread</b> 的诞生

    RT-Thread荣获2025优秀开源项目 | 新闻速递

    6月底,RT-Thread睿赛德受邀参与由上海开源信息技术协会主办的2025上海开源创新精英荟。上海市商委副主任张杰出席会议并致辞。RT-Thread嵌入式操作系统项目凭借其卓越的技术创新与开源生态
    的头像 发表于 07-04 09:04 2439次阅读
    <b class='flag-5'>RT-Thread</b>荣获2025优秀开源项目 | 新闻速递

    RT-Thread BSP全面支持玄铁全系列RISC-V 处理 | 技术集结

    RT-ThreadBSP全面支持玄铁全系列RISC-V处理。玄铁系列RISC-V处理由阿里达摩院研发,涵盖面向MCU的E系列、面向实时应用的R系列以及面向MPU的C系列。以玄铁QEMU
    的头像 发表于 07-03 18:03 2653次阅读
    <b class='flag-5'>RT-Thread</b> BSP全面支持玄铁全系列RISC-V 处理<b class='flag-5'>器</b> | 技术集结

    深度剖析 RT-Thread 线程调度流程

    RT-Thread调度第一个线程的主要流程分如下:rtthread_startup:RTT的启动函数,主要负责板级驱动,调度,系统线程初始化,启动调度的工作
    的头像 发表于 06-25 18:24 1450次阅读
    深度剖析 <b class='flag-5'>RT-Thread</b> 线程调度流程

    揭秘RT-Thread上的AUTOSAR CP系统

    本文探讨了RT-Thread与AUTOSARCP的融合,解决车载ECU开发中实时性、安全性与灵活性的平衡问题。通过分层安全内核(rt-safetyos/autoos)和工具链整合,兼容AUTOSAR
    的头像 发表于 06-23 20:22 2955次阅读
    揭秘<b class='flag-5'>RT-Thread</b>上的AUTOSAR CP系统

    2025 RT-Thread全球技术大会议程正式发布!

    RT-ThreadGlobalTechConference(RT-ThreadGTC,RT-Thread全球技术大会)是聚焦基础软件技术创新与实践的嵌入式技术盛会,持续推动技术价值转化
    的头像 发表于 05-27 19:28 1078次阅读
    2025 <b class='flag-5'>RT-Thread</b>全球技术大会议程正式发布!

    RT-Thread审核团招募: 深度参与开源RTOS社区治理与演进

    全球开发者招募:RT-Thread审核团(ReviewTeam)正式开放申请!在开源的世界里,代码审查(CodeReview)是保证软件质量、促进技术交流的关键环节。RT-Thread作为全球领先
    的头像 发表于 05-21 18:02 1068次阅读
    <b class='flag-5'>RT-Thread</b>审核团招募: 深度参与开源RTOS社区治理与演进

    如何将RT-Thread移植到NXP MCUXPressoIDE上

    RT-Thread默认支持的IDE只有IAR 和 Keil, 那如何将RT-Thread移植到NXP MCUXPressoIDE上呢?本文内容比较简单但稍有琐碎,希望对有需要的小伙伴有所帮助。
    的头像 发表于 02-13 10:37 2442次阅读
    如何将<b class='flag-5'>RT-Thread</b>移植到NXP MCUXPressoIDE上