Compile error when enable UICR_APPROTECT

I wan't enable approtect by add this line in main.c:

const uint32_t approtect_set __attribute__((used,at(0x10001208))) = 0xFFFFFF00;

but when i compiled at IAR,its show me  Error[Pe1097]: unknown attribute "at",how to fix it?

Related