报错如下:
Error[Pe018]: expected a ")" D:\STM32\ARPro\Drivers\CMSIS\Include\mpu_armv7.h 246
Error[Pe020]: identifier "len" is undefined D:\STM32\ARPro\Drivers\CMSIS\Include\mpu_armv7.h 249
Error[Pe020]: identifier "src" is undefined D:\STM32\ARPro\Drivers\CMSIS\Include\mpu_armv7.h 251
Error[Pe140]: too many arguments in function call D:\STM32\ARPro\Drivers\CMSIS\Include\mpu_armv7.h 263
Error[Pe140]: too many arguments in function call D:\STM32\ARPro\Drivers\CMSIS\Include\mpu_armv7.h 267
Error while running C/C++ Compiler
修改如下:
cmsis_iccarm.h:
#ifndef __RESTRICT
#define __RESTRICT __restrict
#endif