打印
[技术问答]

关于IAR中使用官方例程报__stdout 和 __stdin was declared 问题

[复制链接]
4270|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
海滨消消|  楼主 | 2021-9-27 15:19 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
IAR, COM, ev, sd, TE
Error[Pe235]: variable "__stdout" was declared with a never-completed type

Error[Pe235]: variable "__stdin" was declared with a never-completed type

编绎器IAR V8.30.1,在使用新唐NM1200官方例程时,产生上述报错问题,请各位大神指教。

使用特权

评论回复
沙发
classroom| | 2022-2-21 17:24 | 只看该作者
//#if!(defined(ICCARM (VER >= 6010000))

struct FILE l int handle; /* Add whatever you need here * };

//#endif
请屏蔽这两行代码

使用特权

评论回复
板凳
laocuo1142| | 2022-2-21 17:24 | 只看该作者
可以参考https://devzone.nordicsemi.com/f/nordic-q-a/21960/iar-8-11---issue-when-compiling-ble_app_uart-example

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

221

主题

1548

帖子

2

粉丝