Commit d665b11
committed
internal/task: add GoroutineStack stub for scheduler.none
The hardfault handler imports task.GoroutineStack(), which is only
defined for scheduler.tasks and scheduler.cores (Cortex-M C file).
With scheduler.none the function was missing, causing a build error.
With no scheduler, Thread mode runs on MSP and PSP is never set up,
so returning 0 is correct and causes the PSP block to be skipped.1 parent 2cdaca9 commit d665b11
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
0 commit comments