移植一个程序到自己的芯片,编译的时候总是蹦出如上错误。经过查询资料了解到,在源程序中有关于原芯片类型的描述,导致Keil的配置与实际芯片不匹配。
解决办法很简单,在魔术棒Options的Preprocessor Symbols将其中Define内容删掉即可。

移植一个程序到自己的芯片,编译的时候总是蹦出如上错误。经过查询资料了解到,在源程序中有关于原芯片类型的描述,导致Keil的配置与实际芯片不匹配。
解决办法很简单,在魔术棒Options的Preprocessor Symbols将其中Define内容删掉即可。
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.