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 | |
| parent | 1ec83e2069f5d018659f8eb6e7aad7bbeb72a270 (diff) | |
| download | rockbox-b9ea50796da5d36ab8631491ad556218122b970c.zip rockbox-b9ea50796da5d36ab8631491ad556218122b970c.tar.gz rockbox-b9ea50796da5d36ab8631491ad556218122b970c.tar.bz2 rockbox-b9ea50796da5d36ab8631491ad556218122b970c.tar.xz | |
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
| -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 8e7dc02..22acdb8 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 |