#ifndef OTA_GCC_COMPAT_H #define OTA_GCC_COMPAT_H /* The reference application contains a few IAR storage annotations. Keep * their semantics when the same source is compiled by GNU Arm Embedded. */ #if defined(__GNUC__) && !defined(__ICCARM__) #define __root __attribute__((used)) #define __no_init __attribute__((section(".noinit"))) #endif #endif /* OTA_GCC_COMPAT_H */