Hello,
were can I find and edit the Linker Command File in a K40 Project.
I have to find the ___VECTOR_RAM declaration. Because I get an error.
Undefind: ___VECTOR_RAM;
In my projekt ___VECTOR_RAM; is declared extern:
extern uint_32 ___VECTOR_RAM[ ]; /* declared in P2.c */
Solved! Go to Solution.
Hi
Open the project settings and look in "C/C++ Build | Settings | ARM Linker | Input".
This will show you the "Linker Command File" with a path and the name of the *.lcf being used for the present target.
By default this will be in a directory high up in the project hierarchy. By adding new location defines the exact location can be changed if required:
eg. "${APPLICATION_LOC}"/Project_Settings/Linker_Files/MK60N512VMD100_ram.lcf
where the path variable APPLICATION_LOC is added as a path variable in the "Linked resources" register in the project properties.
Regards
Mark
Hi
Open the project settings and look in "C/C++ Build | Settings | ARM Linker | Input".
This will show you the "Linker Command File" with a path and the name of the *.lcf being used for the present target.
By default this will be in a directory high up in the project hierarchy. By adding new location defines the exact location can be changed if required:
eg. "${APPLICATION_LOC}"/Project_Settings/Linker_Files/MK60N512VMD100_ram.lcf
where the path variable APPLICATION_LOC is added as a path variable in the "Linked resources" register in the project properties.
Regards
Mark
Hi Mark,
thank you, this helps.
I also solved my problem with the vector table.
In my project it has another name. I renamed it ant it works.
Thank You