在stm32f1xx.h file文件中找到如下代码: /* Uncomment the line below according to the target STM32L device used in your application */ #if !defined (STM32F100xB) && !defined (STM32F100xE) && !defined (STM32F101x6) && \ !defined (STM32F1…
有时候 ,我们编译windows的exe时,我们不需要编译所以的工程,我们只需要指定某个工程就好了,此时我们使用/t:工程名:Rebuild(如果要编译全部工程就把工程名去掉,即/t:Rebuild). 具体如下: set msbuild="C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.exe" set command_part=/t:PCCast2:Rebuild set sln_file=%cur_path%\ToB-Win-Ap…
1.问题 电脑上同时安装了VS2008,VS2010,使用VS2010编译VS2008建立的工程,或者,VS2010创建新的工程.编译时,出现以下链接错误: LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt 2.修改 安装Visual Studio 2010 Service Pack 1补丁. http://www.microsoft.com/en-us/downloa…
在IAR中编译STM32工程,遇到 Error[Pe147]: declaration is incompatible with "__nounwind __interwork __softfp unsigned int __iar_builtin_REV16(unsigned int)" (declared at line 199 of "$PROJ_DIR$\CMSIS\core_cm3.h 1124 在core_cm3.h中找到如下行,注释掉“#include <…