/* my application*/
.......
#pragma DATA_SECTION(ybuff,".dsect1");
char ybuff[ WIDTH * HEIGHT ] = {
#include "data.h"
};
int main()
{
.....
}
In my .cfg file,
Program.sectMap[".dsect"] = "L2_DATA";
or Program.sectMap[".dsect"] = "DDR3";
or Program.sectMap[".dsect"] = "MSMCSRAM";
.....
After compileing the project, check the .map in Debug。Found this!!!
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
L2SRAM 00800000 00040000 0001bff4 0002400c RW X
L2_DATA 00840000 00040000 00000000 00040000 RW X
....
DDR3 80000000 10000000 00000000 10000000 RW X
On the L2_DATA , DDR3 or MSMCSRAM memory, there is no section for ybuff DATA_SECTION,
Is there something wrong? I do'nt know what to do,need help!!!
thanks for your help!!