Other Parts Discussed in Thread: OMAP3530
Hello,
I'm currently using CCSV4.1.2 and DSP/BIOS 5.41 for DSP code development on an OMAP3530 and I need to use pragmas to do both a memory allocation and a data align and I have some questions:
1) Can I use 2 consecutive pragmas to accomplish both a memory allocation and a data align as shown in the following code snippet?
#pragma DATA_SECTION (x, "user_section");
#pragma DATA_ALIGN (x, 2);
int x[100];
If not, what's the work-around?
2) Do I need to add a manually generated linker command file specifying this user defined section and it's location to my project or can this be done through DSP/BIOS using gconf?
3) Can data or code be placed directly into cache so it's already present in cache at run-time or is IRAM the closest I can come?
Thanks,
Len