求教:编译stm32f10x_vector.c文件出错

2019-03-23 19:52发布

/* Includes ------------------------------------------------------------------*/#include "stm32f10x_lib.h"#include "stm32f10x_it.h"
/* Private typedef -----------------------------------------------------------*/typedef void( *intfunc )( void );typedef union { intfunc __fun; void * __ptr; } intvec_elem;


#pragma language=extended#pragma segment="CSTACK"
void __iar_program_start( void );
#pragma location = ".intvec"/* STM32F10x Vector Table entries */const intvec_elem __vector_table[] ={  { .__ptr = __sfe( "CSTACK" ) },        这行是编译出错的 位置,错误提示:expected an expression    
  __iar_program_start,  NMIException,  HardFaultException,  MemManageException,  BusFaultException,  UsageFaultException,
  ……………………


恳求各位帮忙看看,是什么问题,我的系统是win7 32位,IAR 开发环境,谢谢!!!!


此帖出自小平头技术问答
0条回答

一周热门 更多>