diff options
Diffstat (limited to 'firmware/app.lds')
-rw-r--r-- | firmware/app.lds | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/app.lds b/firmware/app.lds index 6c67a96481..8df9aaf8e3 100644 --- a/firmware/app.lds +++ b/firmware/app.lds | |||
@@ -197,6 +197,18 @@ SECTIONS | |||
197 | } > IRAM | 197 | } > IRAM |
198 | 198 | ||
199 | #ifdef CPU_PP | 199 | #ifdef CPU_PP |
200 | #if NUM_CORES > 1 | ||
201 | .idle_stacks : | ||
202 | { | ||
203 | *(.idle_stacks) | ||
204 | cpu_idlestackbegin = .; | ||
205 | . += 0x0080; | ||
206 | cpu_idlestackend = .; | ||
207 | cop_idlestackbegin = .; | ||
208 | . += 0x0080; | ||
209 | cop_idlestackend = .; | ||
210 | } > IRAM | ||
211 | #else | ||
200 | .cop_stack : | 212 | .cop_stack : |
201 | { | 213 | { |
202 | *(.cop_stack) | 214 | *(.cop_stack) |
@@ -205,6 +217,7 @@ SECTIONS | |||
205 | cop_stackend = .; | 217 | cop_stackend = .; |
206 | } > IRAM | 218 | } > IRAM |
207 | #endif | 219 | #endif |
220 | #endif | ||
208 | 221 | ||
209 | #else | 222 | #else |
210 | /* TRICK ALERT! We want 0x2000 bytes of stack, but we set the section | 223 | /* TRICK ALERT! We want 0x2000 bytes of stack, but we set the section |