diff options
Diffstat (limited to 'firmware/app.lds')
-rw-r--r-- | firmware/app.lds | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/firmware/app.lds b/firmware/app.lds index 8df9aaf8e3..87b9613502 100644 --- a/firmware/app.lds +++ b/firmware/app.lds | |||
@@ -197,26 +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 : | 200 | .idle_stacks : |
202 | { | 201 | { |
202 | #if NUM_CORES > 1 | ||
203 | *(.idle_stacks) | 203 | *(.idle_stacks) |
204 | cpu_idlestackbegin = .; | 204 | cpu_idlestackbegin = .; |
205 | . += 0x0080; | 205 | . += IDLE_STACK_SIZE; |
206 | cpu_idlestackend = .; | 206 | cpu_idlestackend = .; |
207 | #endif | ||
207 | cop_idlestackbegin = .; | 208 | cop_idlestackbegin = .; |
208 | . += 0x0080; | 209 | . += IDLE_STACK_SIZE; |
209 | cop_idlestackend = .; | 210 | cop_idlestackend = .; |
210 | } > IRAM | 211 | } > IRAM |
211 | #else | ||
212 | .cop_stack : | ||
213 | { | ||
214 | *(.cop_stack) | ||
215 | cop_stackbegin = .; | ||
216 | . += 0x0500; | ||
217 | cop_stackend = .; | ||
218 | } > IRAM | ||
219 | #endif | ||
220 | #endif | 212 | #endif |
221 | 213 | ||
222 | #else | 214 | #else |