问题描述
This is an MDK version 4 project ,require Device support for Cortex-M based devices
提示两种解决方案:
Migrate to Device Pack
Install Legacy Support
首先这个工程文件的确是以前用Keil4写的,现在换电脑,新装的MDK5.17
先尝试了第一种方式,进来之后,查看可以找的设备,但是一编译,就报好多错误。
所以还是安装Legacy support for ARM Cortex-M devices
MDK Version 5 uses Software Packs to support a microcontroller device and to use middleware. To maintain backward compatibility with MDK Version 4 you may install Legacy Support. This might be necessary for two reasons:
- To maintain projects created with MDK Version 4 without migrating to Software Packs.
- To use older devices that are not supported by a Device Family Pack.
下载下图这个兼容包,安装到你的MDK5安装目录即可