This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
How many levels of nested function calls can be made in each individual CLA task?
Ask about functions debugged in CLA tasks
#pragma CODE_ SECTION (Park_Cla,'Cla1Prog');
Need preprocessing?
Best Regards
James Man
Hi James,
I apologize for delay in reply.
How many levels of nested function calls can be made in each individual CLA task?
The CLA compiler supports multiple nested function calls, there is no restriction.
Ask about functions debugged in CLA tasks
#pragma CODE_ SECTION (Park_Cla,'Cla1Prog');
Need preprocessing?
Can you please elaborate on the question and issue you are seeing?
Thanks,
Ashwini
Hi Chen, There is no restriction on number of parameters. Please make sure the .scratchpad section is defined in linker command file and in the initialization code the ownership of LSxRAM allocated to the .scratchpad section is set to CLA and type is set to data.
Here is an e2e thread where user ran into an issue with function calls and passing in parameters which was caused by LSx memory not being set to CLA data memory in initialization code.
Please let me know if this does not resolve your issue.
Thanks,
Ashwini