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/MSP430FR4133: can't build this code/project because of unsolved symbols

Part Number: MSP430FR4133


Tool/software: Code Composer Studio

Hi TI-Forum, I can't build this code. How can I fix the error "unsolved symbolds"?

#include <msp430fr4133.h>

#include <driverlib.h>

#include "main.h"

#include "hal_LCD.h"

#include <stdio.h>

#include <stdlib.h>

 

int main(void) {

   // Stop Watchdog timer

         WDTCTL = WDTPW | WDTHOLD;               // Stop watchdog timer

     Init_LCD();

 

       displayScrollText("WELCOME TO THE FR4133 LAUNCHPAD");

 

 

}



Errors:
 
Description   Resource   Path   Location   Type
#10010 errors encountered during linking; "LCD mit Test_2.out" not built   LCD mit Test_2                                                                               C/C++ Problem
<a href="file:/c:/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a>  unresolved symbols remain   LCD mit Test_2             C/C++ Problem
unresolved symbol mode, first referenced in <whole-program>   LCD mit Test_2                                                                                                 C/C++ Problem

 

 

  • Hi Daniel,

    The hal_LCD library uses the external mode pointer which is originally defined in main.c of the OutOfBox_MSP430FR4133 project. Therefore you should simply be able to add this initialization before your main function:

    volatile unsigned char * mode = &BAKMEM4_L;

    Regards,
    Ryan

**Attention** This is a public forum