Cliff Biffle avatar Cliff Biffle committed 12fe5f3

Moved the KERNAL/interrupt stack into AHB SRAM, so the user can really have the full 32KiB of fast SRAM.

Comments (0)

Files changed (2)

           movs r1, #1
           strb r1, [r0]
+          .equ initial_psp, 0x10008000
           @ Switch to Process Stack.
-          subs r0, sp, #(32 * 4)        @ Place process stack 32 cells lower.
+          mov32 r0, initial_psp
           msr PSP, r0                   @ Set PSP.
           movs r0, #2                   @ Bit 1 = Process Stack
           msr CONTROL, r0               @ SP is now PSP.
 .cpu cortex-m3
-.equ initial_sp, 0x10008000
+.equ initial_sp, 0x20080A00
 .section .isr_vector
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.