![image.png image.png](https://static.assets-stash.eet-china.com/forum/202407/06/172024632484780141204olyjb9y75quritzj.png)
确定好了原因之后,直接构建rt-thread helloworld代码工程,然后下载测试,果然可以成功了
![image.png image.png](https://static.assets-stash.eet-china.com/forum/202407/06/172024643651660141356ih8gnungwn89yngz.png)
重启就可以运行系统了,如下图桌面
![image.png image.png](https://static.assets-stash.eet-china.com/forum/202407/06/172024900815462145648lutvqvqic6yq1syq.png)
能够下载后,按照https://mbb.eet-china.com/forum/topic/143665_1_1.html介绍的方法重新移植一下coremark代码到rt-thread工程下,进行跑分测试,coremark要求10s以上,所以需要调整:
修改core_portme.h文件
#define ITERATIONS 16000 // 这个值需要保证能够运行至少10秒,可以先写一个值,运行不足10秒会报错,再回来修改
下载img到开发板,打印log查看coremark分数
![image.png image.png](https://static.assets-stash.eet-china.com/forum/202407/06/172024932079420150200cc2ahekm2jic3cwz.png)
如上图跑分:534.236116
如上优化等级选择为O2
后面更换为Ofast,修改方法如下图
![image.png image.png](https://static.assets-stash.eet-china.com/forum/202407/06/172024949272271150452drntutwxv2stxw2t.png)
clean下工程重新编译,下载img到开发板。
![image.png image.png](https://static.assets-stash.eet-china.com/forum/202407/06/172025003443749151354j00dspkspskeqaci.png)
-ofast下跑分为:607.766066
coremark移植到此完结,文中仅简单测评,如有错误请大佬指出,欢迎评论!