Hello,
I treid to use bsp with PE on coldfire mcf52259x.
First the startcf.h could not be found. I added some path to my project and than it worked
Second the the ERROR "__VECTOR_RAM" Referenced from "__initialize_hardware".
I dont realy know where this label has to be. Its in the lcf I use.
..
.interrupts :
{
___VECTOR_RAM = .;
* (.vectortable)
. = ALIGN (0x4);
} > interrupts
..
The error:
Description Resource Path Location Type
Undefined : "__VECTOR_RAM" Referenced from "__initialize_hardware" in hello3 C/C++ Problem
I can find this label in the CPU.c (There i can't be found) in the lcf and in the Cpu_c.obj no where else in may project folder!
How can I solve this ?
Hello,
I have tried to reproduce your problem but when I create a new Bareboard project in CW MCU 10.5 (and also 10.6) for MCF52259 with Processor Expert the project can be generarted and compiled without any error.
Could you provide more details about your project (steps to reproduce the problem), please?
The section from the lcf file, you stated above, contains definition of the ___VECTOR_RAM at the first free address of the interrupt memory section, i.e. the ___VECTOR_RAM is defined in this linker command file and it is referenced in the CPU.c (extern uint32 __VECTOR_RAM[];).
For more details about linker command line syntax see the Help or application note AN4329: http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4329.pdf
Best Regards,
Marek Neuzil