Hi all,
I am trying to convert a CCS 3.3 project to a 5.4 version.
The original project which was developed in CCS 3.3.38.2 compiles and links without any errors.
Now, after importing the project to a 5.4 version, I am getting errors during linking.
Let me describe the code first : in file1.c (Set to 16 bit mode) I have:
#pragma CODE_STATE (go_to_program, 32);
void go_to_program(void)
{
user_main();
}
#pragma CODE_STATE (initiate_vector_interrupt8, 32);
void initiate_vector_interrupt8()
{
boot_upload_fw_vec();
}
and in in load.asm( set to16 bit mode) I have:
.state32
_boot_upload_fw_vec
B _boot_upload_fw
.sect ".pvectors1"
.state32
_user_main
;B c_int00
And I am get the following error:
undefined first referenced
symbol in file
--------- ----------------
$boot_upload_fw_vec ./boot_main.obj
$user_main ./boot_main.obj
error #10234-D: unresolved symbols remain
>> Compilation failure
error #10010: errors encountered during linking;
I am sure that the jumps are made in ARM mode so I dont think there is any address mismatch.
Any Idea what might be happening?