Skip to main content
�?�
Associate
June 18, 2019
Question

When I generate the IAR V7 code by STM32CubeMX5.2.1 and TM32CubeF4 Firmware Package V1.24.1,Two errors occurred.

  • June 18, 2019
  • 0 replies
  • 589 views

Hello,

When I generate the IAR V7 code by STM32CubeMX5.2.1 and TM32CubeF4 Firmware Package V1.24.1,Two errors occurred. 

The first,Fatal Error[Pe035]: #error directive: intrinsics.h is already included previously! E:\AC_Project\AC_Project0506\Drivers\CMSIS\Include\cmsis_iccarm.h 483 。

The second,the IAR V7 can not recognizable “__restrict�? 

#ifndef __RESTRICT

#define __RESTRICT __restrict

#endif 

Looking forward to your help,Thank you.

This topic has been closed for replies.