Tool/software: Code Composer Studio
Normally, "#pragma location" is available when defining by "#define" but this code,Which port comes from IAR 5.6
#pragma location="RAMCODE" void FlashBlkWriteData(const uint32_t * ptr_src, uint8_t number_of_lws)
Must using "RAMCODE" for set location because This function is in flash to be copied to RAM. and this is defined from .xcl file
// Code -QRAMCODE=FLASHCODE // Needed to tell compiler that user will copy flash code to ram code -Z(DATA)RAMCODE=4C00-6BFF // Place this in RAM location( 4 Kbytes)
Is there any method or document? That can make "#pragma location = "RAMCODE"" work