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.
Tool/software: Code Composer Studio
Hello,
I am trying to compile one of the CTPL project example from TI resource explorer but I am not able to compile. Can you please suggest something?
Error: [E0300] The following symbols are undefined: ctpl_low_level.asm /ctpl_ex4_adc12_b_monitor_msp-exp430fr5994/fram-utilities/ctpl C/C++ Problem
This is where it is originated:
"../fram-utilities/ctpl/ctpl_low_level.asm", ERROR! at EOF: [E0300] The following symbols are undefined:
DMA0CTL_L
Example: ctpl_ex4_adc12_b_monitor_msp-exp430fr5994
OS: Ubuntu 18.04 and Windows 10
CCS: Version: 9.2.0.00013
Regards,
Vishal
Hello Vishal,
I found some threads with similar issues. Also, it may help to update your MSP430Ware version.
Linker error [E0300] when assembling asm project with two files.
Regards,
James
I have tried doing all the solutions given in these two posts but nothing worked for me.
The solutions I tried:
1. Add the device header file.
2. Add lnk_mps430fr5994.cmd to file search path.
3. Updated MSP430 compiler version
4. Created a different project with FRAM utilities
Please suggest me some other alternatives that I can try. Thanks.
Hello Vishal,
Thanks for trying those recommendations.
I found the issue stems from an undeclared define "DMA0CTL_L" that's used in the 'ctpl_low_level_macros.asm' file. The header file doesn't declare "DMA0CTL_L" which is the lower byte of the "DMA0CTL" register. To get around this compilation error, you can replace "&DMA0CTL_L" with "&DMA0CTL" on Lines 35 and 54.
Regards,
James
In your first post, you were working on the 4th example. That's the example I changed and got to compile correctly. In your latest post, you're now showing the 3rd example.
Regards,
James
Okay, so I got the 4th example compiling successfully by updating "&DMA0CTL_L" with "&DMA0CTL" on Lines 35 and 54. Why does it matter if I use example 3 or example 4?
Vishal
**Attention** This is a public forum