summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 06a7190)
raw | patch | inline | side by side (parent: 06a7190)
author | Ajay Jayaraj <ajayj@ti.com> | |
Mon, 14 Nov 2016 16:28:38 +0000 (10:28 -0600) | ||
committer | Ajay Jayaraj <ajayj@ti.com> | |
Mon, 14 Nov 2016 16:28:38 +0000 (10:28 -0600) |
Test was allocating 1MB of MSMC, failed on K2L because it has 768KB of
MSMC SRAM available.
MSMC SRAM available.
examples/dspheap/dspheap_main.c | patch | blob | history |
index 47d7a136d176b4b1e09557220929327640490ab0..efde209fa9b097d1b48b984ab39c7552dde568d0 100644 (file)
* From the host, create the underlying memory store for the heaps
*-----------------------------------------------------------------------*/
int ddr_heap_size = 16 << 20; //16MB
- int msmc_heap_size = 1 << 20; //1MB
+ int msmc_heap_size = 1 << 19; //512KB
int l2_heap_size = 1 << 10; //1KB
char* HeapDDR = (char*) __malloc_ddr(ddr_heap_size);