mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04: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
|
||||
|
||||
/*
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user