From b9ea50796da5d36ab8631491ad556218122b970c Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 15 Feb 2005 22:16:47 +0000 Subject: Increase stack size to 32K on large memory devices (i.e. iRiver). CODEC stack usage needs to be investigated, and then this can possibly be reduced git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5959 a1c6a512-1295-4272-9138-f99709370657 --- firmware/app.lds | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware') diff --git a/firmware/app.lds b/firmware/app.lds index 8e7dc02e27..22acdb86ba 100644 --- a/firmware/app.lds +++ b/firmware/app.lds @@ -186,7 +186,11 @@ SECTIONS *(.stack) _stackbegin = . - SIZEOF(.iram); stackbegin = . - SIZEOF(.iram); +#if MEMORYSIZE >= 32 + . += 0x8000 - SIZEOF(.iram); +#else . += 0x2000 - SIZEOF(.iram); +#endif _stackend = .; stackend = .; } > DRAM -- cgit v1.2.3