Hi all,
I am using MSC8156EVM board. I have to use big array in the program which the hap and stack are too small to store all of them. Could anyone tell me how to push this kind of data to the DDR3 so that I can store a huge amount of data? Please give me a simple example
Thanks
Hello,
You can place a array in DDR or other memories like this:
#pragma data_seg_name ".local_data_ddr0"#pragma bss_seg_name ".local_data_ddr0_bss"uint8_t buffers_space[TEST_NUM_OF_BUFS*TEST_DATA_SIZE]; #pragma align buffers_space ARCH_CACHE_LINE_SIZE
Here it's in the DDR0 but you change the segment to place it in M3, DDR1 ...
Regards
Jimmy