mirror of https://github.com/thesofproject/sof.git
zephyr: further reduce the size of heap on APL with XCC
Building SOF with Zephyr for Apollolake with XCC fails because of insufficient RAM. Reduce the heap size to fix the problem. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
cbf5aa6fbc
commit
4337831643
|
@ -80,7 +80,11 @@ __section(".heap_mem") static uint8_t __aligned(64) heapmem[HEAPMEM_SIZE];
|
|||
*/
|
||||
#if (CONFIG_HP_MEMORY_BANKS < 16)
|
||||
/* e.g. APL */
|
||||
#if defined __XCC__
|
||||
#define HEAP_SIZE 0x28000
|
||||
#else
|
||||
#define HEAP_SIZE 0x30000
|
||||
#endif
|
||||
#elif (CONFIG_HP_MEMORY_BANKS < 30)
|
||||
/* e.g. JSL */
|
||||
#define HEAP_SIZE 0x80000
|
||||
|
|
Loading…
Reference in New Issue