This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F021 Flash API code not ANSI Strict C compatible

Hi!

Can't compile FlashApi when -ps (Strict ANSI C mode) used. Types.h enums defined used ATTRIBUTE_PACKED macro.

#define ATTRIBUTE_PACKED    __attribute__((packed))

This attributes can't be used in ANSI Strict C mode which is required by MISRA