IAR MSP430编译器编译时出现内部错误

发布于 2024-09-01 12:22:08 字数 202 浏览 1 评论 0原文

适用于 MSP430 的 IAR C/C++ 编译器 5.10.1 [评估] (5.10.1.20144)

尝试编译 FreeRTOS 5.4 Task.c 文件时出现非法状态内部错误(其他一切都编译正常)

内部错误:[CoreUtil/General]:非法状态

启动版本IAR(MSP430版本)工作正常。

有什么想法吗?

IAR C/C++ Compiler for MSP430
5.10.1 [Evaluation] (5.10.1.20144)

I get an illegal state internal error when attempting to compile the FreeRTOS 5.4 Task.c file (everything else compiles fine)

Internal Error: [CoreUtil/General]: Illegal state

The kick start version of IAR (MSP430 version) works fine.

Any thoughts?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

明月夜 2024-09-08 12:22:08

您应该尝试将此帖子发布到 Yahoo 托管的 MSP430 群组。安德斯,编写/维护编译器的人,擅长解决那里的问题。那里还有一些非常活跃的成员,他们为明智的问题提供了很好的答案。

您还可以通过他们的支持系统发送问题报告。他们总是非常善于帮助我解决任何问题。

You should try posting this on the Yahoo hosted MSP430 group. Anders, the guy that wrote/maintains the compiler, is good at answering problems there. There are also some very active members there who provide good answers to sensible questions.

You could also send a problem report through their support system. They have always been very good at getting me fixes to any problems.

囍孤女 2024-09-08 12:22:08

一些想法

  • 尝试更改优化级别

  • 对问题源文件进行“分而治之”,直到将其减少到可能导致问题的最小代码量ICE,然后尝试重新表达这部分代码以摆脱 ICE 和/或将其作为错误报告发送给 IAR

  • 检查来自 IAR 的更新 - 这可能是他们意识到的编译器错误,甚至可能有修复/解决方法

A few ideas

  • try changing the optimisation level

  • do a "divide and conquer" on the problem source file until you have reduced it to the smallest amount of code that can cause the ICE, then try re-expressing this part of the code to get rid of the ICE and/or send it to IAR as a bug report

  • check for updates from IAR - this may be a compiler bug that they are aware of and maybe even have a fix/workaround for

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文