fw: adjust for 2 KB of FW_RAM

Signed-off-by: Daniel Lublin <daniel@lublin.se>
This commit is contained in:
Daniel Lublin 2023-03-08 12:25:07 +01:00
parent c1fffcb70b
commit 425fdb4b90
No known key found for this signature in database
GPG key ID: 75BD0FEB8D3E7830
2 changed files with 3 additions and 3 deletions

View file

@ -197,7 +197,7 @@ int main()
// clang-format off
asm volatile(
"li a0, 0xd0000000;" // FW_RAM
"li a1, 0xd0000400;" // End of FW_RAM
"li a1, 0xd0000800;" // End of 2 KB FW_RAM (just past the end)
"loop:;"
"sw zero, 0(a0);"
"addi a0, a0, 4;"