diff options
author | Dave Chapman <dave@dchapman.com> | 2005-02-15 22:16:47 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-02-15 22:16:47 +0000 |
commit | b9ea50796da5d36ab8631491ad556218122b970c (patch) | |
tree | 7bc5b80cb3bf304ff5da34e84e43fe6dfc8c587a /firmware/app.lds | |
parent | 1ec83e2069f5d018659f8eb6e7aad7bbeb72a270 (diff) | |
download | rockbox-b9ea50796da5d36ab8631491ad556218122b970c.tar.gz rockbox-b9ea50796da5d36ab8631491ad556218122b970c.zip |
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
Diffstat (limited to 'firmware/app.lds')
-rw-r--r-- | firmware/app.lds | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
186 | *(.stack) | 186 | *(.stack) |
187 | _stackbegin = . - SIZEOF(.iram); | 187 | _stackbegin = . - SIZEOF(.iram); |
188 | stackbegin = . - SIZEOF(.iram); | 188 | stackbegin = . - SIZEOF(.iram); |
189 | #if MEMORYSIZE >= 32 | ||
190 | . += 0x8000 - SIZEOF(.iram); | ||
191 | #else | ||
189 | . += 0x2000 - SIZEOF(.iram); | 192 | . += 0x2000 - SIZEOF(.iram); |
193 | #endif | ||
190 | _stackend = .; | 194 | _stackend = .; |
191 | stackend = .; | 195 | stackend = .; |
192 | } > DRAM | 196 | } > DRAM |