Skip to content

Commit 09ef00e

Browse files
committed
[cortex-m] Remove unused process stack pointer
1 parent cf8dd49 commit 09ef00e

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

src/modm/platform/core/cortex/vectors.c.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ typedef void (* const FunctionPointer)(void);
3131

3232
// defined in the linkerscript
3333
extern uint32_t __main_stack_top[];
34-
extern uint32_t __process_stack_top[];
3534

3635
// Define the vector table
3736
modm_section(".vector_rom")

src/modm/platform/core/sam/module.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ Currently only one basic linkerscript is supported.
2525
│ .data │
2626
│ .fastdata │
2727
│ .fastcode │
28-
│ +PROCESS_STACK_SIZE │◄ __process_stack_top
2928
RAM │ +MAIN_STACK_SIZE │◄ __main_stack_top
3029
0x2000 0000 └────────────────────────┘◄ __ram_start
3130

src/modm/platform/core/stm32/module.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ SRAMs explicitly to free up the space in the lower sections.
6666
│ .fastdata │
6767
│ .fastcode │
6868
│ (.vector_ram) │◄ only if remapped into RAM
69-
│ +PROCESS_STACK_SIZE │◄ __process_stack_top
7069
SRAM1 │ +MAIN_STACK_SIZE │◄ __main_stack_top
7170
0x2000 0000 └────────────────────────┘◄ __sram1_start
7271

@@ -135,7 +134,6 @@ Therefore the main stack is placed into SRAM, even though it is slower than CCM.
135134
│ .data │
136135
│ .fastcode │
137136
│ (.vector_ram) │◄ only if remapped into RAM
138-
│ +PROCESS_STACK_SIZE │◄ __process_stack_top
139137
SRAM1 │ +MAIN_STACK_SIZE │◄ __main_stack_top
140138
0x2000 0000 └────────────────────────┘◄ __sram1_start
141139

@@ -205,7 +203,6 @@ not DMA-able.
205203
│ .bss │
206204
│ .data_sram1 │
207205
│ .data │
208-
│ +PROCESS_STACK_SIZE │◄ __process_stack_top
209206
SRAM1 │ +MAIN_STACK_SIZE │◄ __main_stack_top
210207
0x2000 0000 └────────────────────────┘◄ __sram1_start
211208

@@ -285,7 +282,6 @@ overflow into the SRAM1/2 sections.
285282
access │ .data_dtcm │
286283
│ .data │
287284
│ .fastdata │
288-
│ +PROCESS_STACK_SIZE │◄ __process_stack_top
289285
DTCM │ +MAIN_STACK_SIZE │◄ __main_stack_top
290286
0x2000 0000 └────────────────────────┘◄ __dtcm_start
291287

@@ -391,7 +387,6 @@ placed into the 128kB DTCM, but cannot overflow into D1_SRAM section.
391387
only │ .data_dtcm │
392388
access │ .data │
393389
│ .fastdata │
394-
│ +PROCESS_STACK_SIZE │◄ __process_stack_top
395390
DTCM │ +MAIN_STACK_SIZE │◄ __main_stack_top
396391
0x2000 0000 └────────────────────────┘◄ __dtcm_start
397392

0 commit comments

Comments
 (0)