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.

Compiling issue(s) of ADS1x9x ECG Recorder FW project

Other Parts Discussed in Thread: MSP430F5529

I have tried compiling the source code for the ADS1x9X ECG project. I have used both the new version of the Code Composer 6.0 and tried installing Code Composer Studio 4. I get over 600 errors reported during the compile.

For example:

"../USB_CDC_API/UsbCdc.c", line 108: error: identifier "GIE" is undefined
"../USB_CDC_API/UsbCdc.c", line 135: error: identifier "USBIEPIFG" is undefined

"../SRC/ADS1x9x.c", line 145: error: identifier "P2OUT" is undefined

"../SRC/ADS1x9x.c", line 159: error: identifier "P8OUT" is undefined
"../SRC/ADS1x9x.c", line 214: error: identifier "P1DIR" is undefined
"../SRC/ADS1x9x.c", line 215: error: identifier "P1REN" is undefined
"../SRC/ADS1x9x.c", line 215: error: identifier "BIT1" is undefined
"../SRC/ADS1x9x.c", line 217: error: identifier "P1IES" is undefined
"../SRC/ADS1x9x.c", line 218: error: identifier "P1IFG" is undefined
"../SRC/ADS1x9x.c", line 219: error: identifier "P1IE" is undefined
"../SRC/ADS1x9x.c", line 227: error: identifier "P1IFG" is undefined
"../SRC/ADS1x9x.c", line 284: error: identifier "DMACTL0" is undefined
"../SRC/ADS1x9x.c", line 284: error: identifier "DMA0TSEL_12" is undefined
"../SRC/ADS1x9x.c", line 287: error: identifier "DMA0SZ" is undefined
"../SRC/ADS1x9x.c", line 288: error: identifier "DMA0CTL" is undefined
"../SRC/ADS1x9x.c", line 288: error: identifier "DMADT_4" is undefined
"../SRC/ADS1x9x.c", line 288: error: identifier "DMADSTINCR_3" is undefined
"../SRC/ADS1x9x.c", line 288: error: identifier "DMADSTBYTE" is undefined
"../SRC/ADS1x9x.c", line 288: error: identifier "DMASRCBYTE" is undefined
"../SRC/ADS1x9x.c", line 290: error: identifier "DMAEN" is undefined
"../SRC/ADS1x9x.c", line 305: error: identifier "UCB0TXBUF" is undefined
"../SRC/ADS1x9x.c", line 306: error: identifier "UCB0STAT" is undefined
"../SRC/ADS1x9x.c", line 306: error: identifier "UCBUSY" is undefined
"../SRC/ADS1x9x.c", line 308: error: identifier "UCB0RXBUF" is undefined

It looks as if I am missing something in the configuration or setup. Any help would be greatly appreciated.

Rich

  • Hi Richard, 

    Sorry for the delay. I needed a couple colleagues in the Embedded groups to help me figure this one out. I have outlined the steps it took for me below, but the biggest one will likely be #3 (deleting the extra Predefined Symbol).

    Hope this helps!

     1. Download latest version of CCS (v6). Include MSP Ultra Low Power MCUs

     

    The additional Products and Features ("add-ons") are not necessary, but can be added later.

    2. Projects -> Import CCS Project -> Browse to ADS1x9x_ECG_Recorder_FW

    3. Right Click on Project, open Properties. Go to Build -> MSP430 Compiler -> Predefined Symbols. Delete "_MSP430F5529" (only "_MSP430F5529_" should remain.)

     

     Rebuild Project. 1 Error should remain.

    4. Open usb.c under USB_Common. Line 358, delete "UPCS0 + " (bits [7:6] are 00 by default in USBPLLCTL Register).

    5. You can also delete an old "include path" and change the Compiler Version to the newest available to clean up some of the remaining warnings.

     

    Best Regards,