Hi,
I am facing a linker error as "Undefined:start"
But the start is defined in vector. c for
typedef void (* vectorTableEntryType)(void);
#pragma define_section vectortable ".vectortable" far_absolute R
__declspec(vectortable) vectorTableEntryType VECTOR_TABLE[] = { /* Interrupt vector table */
IN__SP_INIT , /* Initial SP */
start , /* Initial PC */
_Access_Error , /* Access Error */
_Address_Error , /* Address Error */
_Illegal_Instruction , /* Illegal Instruction */
_Divide_by_Zero , /* Divide by Zero */
};
asm __declspec(register_abi) void start(void){
move.w #0x2700,SR
jmp _asm_startmeup
//.end
}
Hi,
I am not sure what CW version you used. Anyway, you should edit the "Coldfire Linker" and change the Entry Point to: _asm_startmeup. Hope it is helpful.