Dear Team
May I ask about the CW2.10 for MPC56XX?
How to make Library using CW2.10(for MPC56XX)?
I tried to follow using S08 or S12's community guidance but it is not working for CW2.10.
I think that I took some mistake but I did not find the root cause.
I wish to find some reference / example for it.
Thank you.
Solved! Go to Solution.
Hi Luke,
If you want to generate a library, please create the project for library by File->New-> Empty Project. Then open Target Settings by 'ALT'+'F7' key and set the linker as 'PowerPC EABI' on 'Target Settings' panel. Also change the 'Project Type' as 'Library' on the 'EPPC Target' panel and type the name for output library.
You can refer to the projects under the directory below. These projects are used to generate runtime libraries for MPC5:
c:\Program Files (x86)\Freescale\CW for MPC55xx and MPC56xx 2.10\PowerPC_EABI_Support\Runtime\Project\
Regards
Lukas
Hi Luke,
If you want to generate a library, please create the project for library by File->New-> Empty Project. Then open Target Settings by 'ALT'+'F7' key and set the linker as 'PowerPC EABI' on 'Target Settings' panel. Also change the 'Project Type' as 'Library' on the 'EPPC Target' panel and type the name for output library.
You can refer to the projects under the directory below. These projects are used to generate runtime libraries for MPC5:
c:\Program Files (x86)\Freescale\CW for MPC55xx and MPC56xx 2.10\PowerPC_EABI_Support\Runtime\Project\
Regards
Lukas
Hello Lukas
Thanks for your reply.
May I ask one more question?
I made Library but I have one more question.
I wish to locate the dedicated area about Library.
I tried to use some pragma function like below.
The function of same code file is possible to locate on my dedicated area.
However, the library function is not located on my dedicated area.
for your understanding, I have attached project...
I wish to locate the function and library into 0x31000.
I tried to do like below.
However, only function of same file is located on 0x31000...
how to locate the library into 0x31000?
Thank you.
Hi Luke,
I found quick solution in AN4497:
I did quick test in your project, so I added this to the linker file:
GROUP : {
.libcode (VLECODE) LOAD (0x00031000) : {
test.a (.text)
}
.libconst:
{
test.a (.rodata)
}
} > CCPBL_HAE_SECURITY_LIBRARY_Section
And here's the result:
Regards
Lukas
Hi Lukas
Thanks for your support.
It is correct what I am needed!!
Thank you.