mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-01-01 10:56:27 -05:00
fw: Init stack pointer to end of fw_ram
This commit is contained in:
parent
2b9bfc0eff
commit
0a1e1db40e
@ -47,9 +47,9 @@ clear:
|
|||||||
blt a0, a1, clear
|
blt a0, a1, clear
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Init stack at top of fw_ram. Leave 16 byte for entering our first function
|
* Init stack at top of fw_ram.
|
||||||
*/
|
*/
|
||||||
li sp, 0xd00007f0 // 2 kiB (TK1_MMIO_FW_RAM_SIZE) minus 16 byte
|
li sp, 0xd0000800 // 2 kiB (TK1_MMIO_FW_RAM_SIZE)
|
||||||
|
|
||||||
call main
|
call main
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user