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?
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?
This is a generic question and more suitable in different forums. But some information goes like this.
There are different ways to do this.