AnsweredAssumed Answered

DDR memory space assign

Question asked by twinboy on Mar 29, 2013
Latest reply on Mar 29, 2013 by twinboy

Hi, All

 

     what is the difference between ddr memory space assign bellowing.

 

// Memory space assign

#pragma section("sdram_bank0")

unsigned char ScreenYSource[HEIGHT][WIDTH];

unsigned char ScreenCSource[HEIGHT][WIDTH];

unsigned char MenuYSource[MenuHEIGHT][MenuWIDTH];

unsigned char MenuCSource[MenuHEIGHT][MenuWIDTH];

 

 

// Memory space assign

#pragma section("sdram_bank0")

unsigned char ScreenYSource[HEIGHT][WIDTH];

#pragma section("sdram_bank0")

unsigned char ScreenCSource[HEIGHT][WIDTH];

#pragma section("sdram_bank0")

unsigned char MenuYSource[MenuHEIGHT][MenuWIDTH];

#pragma section("sdram_bank0")

unsigned char MenuCSource[MenuHEIGHT][MenuWIDTH];

 

 

Best Regards

Junior

Outcomes