Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Clarify that the stack is only 4K #55

Description

@Skepfyr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions