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
Hi there. I'm trying to compile a test code to blink an LED with an RM48, however I'm getting this error in Code Composer Studio:
>> Compilation failure
subdir_rules.mk:9: recipe for target 'main.obj' failed
"C:\Users\tekver\AppData\Local\Temp\1420810", ERROR! at line 80: [E0002] Instruction only available in V7
WFI
Errors in Source - Assembler Aborted
gmake: *** [main.obj] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Note that I'm using some linked files from another project, however I've provided all the paths in the project properties. Any idea of what might be triggering this error?
Also the other project I talk about compiles without any errors (I didn't code that other project, just to specify that the problem is probably being caused in this project alone.)
Thanks in advance.
Gabriel Sá Pinto
I don't know the exact source, when I started working on this project they gave me an already compiled project to study, now I'm supposed to make some tests and see how it works, thus starting with the LED blink. All the libraries I'm using already came with that project, but they compile without any problem with the other project, and I'm using the same microcontroller to the same board that was used with that project, the only difference is that I created a new project in CCS to test the LED...
Hi Chuck,
Thank you for your help, I couldn't find the problem that was causing the previous error, however I found that the CMSIS libraries I included weren't really needed for my test.
Nonetheless I have yet some other errors, which are displayed in the image below. I really don't understand the deal with those "unresolved symbol" errors, I know that has something to do with the includes, but the thing is I included all the references and declarations as far as I can tell.
Those 3 errors are being originated in control.c (listed in the linked files on the left, underlined in red), those 3 variables are externally declared in board.h which is in the include path above. I also linked to the board.c. What else do I need to do? Is there something missing?
(I'm linking files which are from another project "RM48App" is there a problem with that?)
Thank you once again for the help.