笔记:Code Warrior 问题汇总
1.导入外部工程,编译出现以下错误
mingw32-make: *** No rule to make target `E:/CODE/FXTH87/CODE/02.Delay/Project_Headers/../Sources/Interrupts.c', needed by `Sources/Interrupts_c.obj'. Stop.
解决方法,参考论坛
It means that the make file cannot find my file. More precise, it means that the make utility cannot resolve the rule to build the ‘target’ (see my other post on make files). Or in other words: the make files do not match any more what I have in my project. There could be several reasons:
- A file does not exist any more or is under a different path. That is something I have to fix in the project.
- I have imported a project from another place.
- I have changed the IDE and now it has a path to the libraries.
- I have generated new/different source files with Processor Expert.
All of above lead to wrong makes files with wrong paths in it.
The cure for the problem is to select the project and use the menu Project > Clean:
选择需要清理的项目

This cause a re-creation of the make files
Another solution is to delete the output folder where all the make files and object files are. This is equal to what exists in classic (non-eclipse) CodeWarrior in the menu Project > Remove Object Code… But first I need to know which folder I have to delete. The Build Directory in the project settings configures this:
Deleting that folder will remove all the make files and object files. Starting a new build afterwards will then recreate my make files.
Tip: If you are exporting a project, then make sure you delete the Build Directory from the archive/project.
This will reduce the file size. And it avoids that the project will get generate a “No rule to make target” message.
2,使用 P&E_Multilink 烧录,弹出 Connection Assistant
使用CW11.1 烧录器 P&E_Multilink ,烧录S08单片机,弹出如下对话框,
烧录器 P&E_Multilink 指示灯正常,烧录线路连接正常,WIN10-设备管理器中 P&E_Multilink 驱动加载正常
经查阅资料,重新安装 P&E_Multilink 驱动,可正常烧录
分类:
Freescale
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律