hi,
The c6runlib documents say " --C6Run:replace_malloc" can be used when calling c6runlib-ar so that arm-side buffers can be shared with the DSP.
For example, I have three C source codes like main.c,arm.c, dsp.c. I want dsp.c run on dsp.
so I call c6runlib-cc to compile dsp.c to dsp.o. Then I call c6runlib-ar to create an arm static library dsp.lib from dsp.o.
But what I can't understand is , c6runlib-ar only affects dsp.o so option " --C6Run:replace_malloc" only replaces malloc-like api in the code dsp.c.
How can it replace memory allocations in code main.c and arm.c ?
I must misunderstand C6runlib mechanism.How can I learn in detail how c6run works about data and address passing between arm and dsp cores?
Thank you.
Francis.