1 #if defined(__CC_ARM) || defined(__ARMCC_VERSION) || defined(__GNUC__) || defined(__MCUXPRESSO) // ARMGCC and MCUXPRESSO 2 __attribute__((section(".mflash_fs"), used)) 3 4 #elif defined(__ICCARM__) // IAR 5 6 #pragma location = ".mflash_fs" 7 #endif 8 9 #if defined(__arm) // MDK 10 #define MFLASH_SECTION_ATTR __attribute__((section(".mflash_fs"))) 11 12 #else 13 14 #define MFLASH_SECTION_ATTR 15 #endif 16 17 const char blank_fs[32] MFLASH_SECTION_ATTR = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 18 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 19 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}; 20