2019-03-26 01:14 AM
I'm generating code using STM32CubeMX F4 1.24 with STM32CubeMX 5.1.0 for the board
NUCLEO-F446RE for IAR EWARM 7 version
This application is simple LED blinking test for the new F4 cubeMX 1.24
After generating code and compiling in IAR EWARM i'm getting error
I've attached the Image for reference
Kindly Correct the issue
While selecting older cube repo no problem, no error occuring
for example selecting F4 1.23 no error happens
Solved! Go to Solution.
2019-04-16 11:43 PM
The answer is use EWARM 8.x version for generated code since __STATIC_INLINE and __RESTRICT macros are defined in 8.x version onwards
2019-04-16 11:43 PM
The answer is use EWARM 8.x version for generated code since __STATIC_INLINE and __RESTRICT macros are defined in 8.x version onwards
2019-05-11 07:14 AM
Or go to definition of __RESTRICT and redefine it as restrict (instead of __restrict)
2020-01-13 08:29 AM
Hi,
Is it possible for ST to add something like that into cmsis_iccarm.h
#ifndef __RESTRICT
#if __ICCARM_V8
#define __RESTRICT __restrict
#else
#define __RESTRICT restrict
#endif
#endif
to allow compilation without error with IAR V7 ?
Thx & Regards