This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/MSP430F6779: Can't using "#pragma location"

Part Number: MSP430F6779


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