You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
I was getting the completely inscrutable error message firmware crashed: out-of-bounds store on 0x000fd2b0+4. After a lot of debugging, involving stepping through your RISCV interpreter (nice job BTW), I realised that it was a stack overrun and looked in the linker script to see that the stack is only 4K.
This took a bunch of time and I suspect is not something that people using kartoffel are able or want to do, it would be useful to document that the stack is only 4K and potentially provide better error messages or debug tooling.
I was getting the completely inscrutable error message
firmware crashed: out-of-bounds store on 0x000fd2b0+4. After a lot of debugging, involving stepping through your RISCV interpreter (nice job BTW), I realised that it was a stack overrun and looked in the linker script to see that the stack is only 4K.This took a bunch of time and I suspect is not something that people using kartoffel are able or want to do, it would be useful to document that the stack is only 4K and potentially provide better error messages or debug tooling.