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.

Issue regarding creating output section ".patch" without a SECTIONS

Other Parts Discussed in Thread: MSP430F5659, CC2564, MSP430F5438A

Hii,

I am trying to port CC2564 Bluetooth Stacks on MSP430F5659, changed the HAL configuration to that of MSP430F5659, still facing problems in with respect to creating output sections.  Please kindly help me on this issue. The screenshot of the error is as follows:

 

Thank You

 

  • Hi Akhilesh,

     Most likely you are missing the .patch section in your linker command file, for example (msp430f5438a):

    SECTIONS
    {
        .bss       : {} > RAM                /* GLOBAL & STATIC VARS              */
        .sysmem    : {} > RAM                /* DYNAMIC MEMORY ALLOCATION AREA    */
        .stack     : {} > RAM (HIGH)         /* SOFTWARE SYSTEM STACK             */
    
        .text      : {}>> FLASH | FLASH2     /* CODE                              */
        .text:_isr : {} > FLASH              /* ISR CODE SPACE                    */
        .cinit     : {} > FLASH              /* INITIALIZATION TABLES             */
    
        .const     : {} > FLASH              /* CONSTANT DATA                     */
        .patch     : {} > FLASH2    <--MISSING
    
        .cio       : {} > RAM                /* C I/O BUFFER                      */
    

      Hopefully this helps.

       Best regards,

        David

**Attention** This is a public forum